[PATCH] dma-mapping: Reduce dma_mapping_error() inline bloat

2017-07-24 Thread Robin Murphy
Thanks to the nested inlining, all drivers correctly calling dma_mapping_error() after a mapping a page or single buffer generate two calls to get_arch_dma_ops() per callsite, which all adds up to a fair old chunk of useless code, e.g. ~3KB for an arm64 defconfig plus extras: textdata

[PATCH] dma-mapping: Reduce dma_mapping_error() inline bloat

2017-07-24 Thread Robin Murphy
Thanks to the nested inlining, all drivers correctly calling dma_mapping_error() after a mapping a page or single buffer generate two calls to get_arch_dma_ops() per callsite, which all adds up to a fair old chunk of useless code, e.g. ~3KB for an arm64 defconfig plus extras: textdata

Re: [PATCH v3 1/2] platform: Add driver for RAVE Supervisory Processor

2017-07-24 Thread Andy Shevchenko
On Mon, Jul 24, 2017 at 6:09 PM, Andrey Smirnov wrote: > Add a driver for RAVE Supervisory Processor, an MCU implementing > varoius bits of housekeeping functionality (watchdoging, backlight > control, LED control, etc) on RAVE family of products by Zodiac > Inflight

Re: [PATCH v3 1/2] platform: Add driver for RAVE Supervisory Processor

2017-07-24 Thread Andy Shevchenko
On Mon, Jul 24, 2017 at 6:09 PM, Andrey Smirnov wrote: > Add a driver for RAVE Supervisory Processor, an MCU implementing > varoius bits of housekeeping functionality (watchdoging, backlight > control, LED control, etc) on RAVE family of products by Zodiac > Inflight Innovations. > > This driver

Re: [PATCH v3 3/4] btrfs: Add zstd support

2017-07-24 Thread kbuild test robot
Hi Nick, [auto build test WARNING on linus/master] [also build test WARNING on v4.13-rc2 next-20170724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Nick-Terrell/Add-xxhash-and-zstd-modules

Re: [PATCH v3 3/4] btrfs: Add zstd support

2017-07-24 Thread kbuild test robot
Hi Nick, [auto build test WARNING on linus/master] [also build test WARNING on v4.13-rc2 next-20170724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Nick-Terrell/Add-xxhash-and-zstd-modules

Re: [PATCH 1/8] mailbox: introduce ARM SMC based mailbox

2017-07-24 Thread Jassi Brar
On Mon, Jul 24, 2017 at 4:50 AM, André Przywara wrote: > On 02/07/17 06:55, Jassi Brar wrote: > >>> + mbox_chan_received_data(link, (void *)res.a0); >>> + >> Or you can update the 'data' with value from 'a0' ? > > Mmh, I am a bit puzzled by this. Why would this be

Re: [PATCH 1/8] mailbox: introduce ARM SMC based mailbox

2017-07-24 Thread Jassi Brar
On Mon, Jul 24, 2017 at 4:50 AM, André Przywara wrote: > On 02/07/17 06:55, Jassi Brar wrote: > >>> + mbox_chan_received_data(link, (void *)res.a0); >>> + >> Or you can update the 'data' with value from 'a0' ? > > Mmh, I am a bit puzzled by this. Why would this be needed or useful? > I

Re: [PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-24 Thread Alex Williamson
On Thu, 20 Jul 2017 10:02:33 +0530 Anup Patel wrote: > Not allowing No-IOMMU mode for devices already having > iommu_ops on their bus is very conservative. > > We now have IOMMU (such as ARM SMMU) which can bypass > transcations when IOMMU is not configured for a given

Re: [PATCH v2 1/2] vfio: Allow No-IOMMU mode without checking iommu_present()

2017-07-24 Thread Alex Williamson
On Thu, 20 Jul 2017 10:02:33 +0530 Anup Patel wrote: > Not allowing No-IOMMU mode for devices already having > iommu_ops on their bus is very conservative. > > We now have IOMMU (such as ARM SMMU) which can bypass > transcations when IOMMU is not configured for a given > device. In addition, it

Re: [PATCH 3/5] iommu/arm-smmu-v3: add IOMMU_CAP_BYPASS to the ARM SMMUv3 driver

2017-07-24 Thread Robin Murphy
On 24/07/17 18:16, Alex Williamson wrote: > On Thu, 20 Jul 2017 12:17:12 +0100 > Robin Murphy wrote: > >> On 20/07/17 10:10, Will Deacon wrote: >>> On Thu, Jul 20, 2017 at 09:32:00AM +0530, Anup Patel wrote: On Wed, Jul 19, 2017 at 5:23 PM, Will Deacon

Re: [PATCH 3/5] iommu/arm-smmu-v3: add IOMMU_CAP_BYPASS to the ARM SMMUv3 driver

2017-07-24 Thread Robin Murphy
On 24/07/17 18:16, Alex Williamson wrote: > On Thu, 20 Jul 2017 12:17:12 +0100 > Robin Murphy wrote: > >> On 20/07/17 10:10, Will Deacon wrote: >>> On Thu, Jul 20, 2017 at 09:32:00AM +0530, Anup Patel wrote: On Wed, Jul 19, 2017 at 5:23 PM, Will Deacon wrote: > There are two things

Re: [PATCH 3/9] firmware: arm_scmi: add basic driver infrastructure for SCMI

2017-07-24 Thread Jassi Brar
On Mon, Jul 24, 2017 at 9:51 PM, Sudeep Holla wrote: > On 24/07/17 16:41, Jassi Brar wrote: >> SCMI calls >> mbox_send_message(struct mbox_chan *chan, struct scmi_xfer *xfer); >> >> whereas the API expects >> mbox_send_message(struct mbox_chan *chan, struct

Re: [PATCH 3/9] firmware: arm_scmi: add basic driver infrastructure for SCMI

2017-07-24 Thread Jassi Brar
On Mon, Jul 24, 2017 at 9:51 PM, Sudeep Holla wrote: > On 24/07/17 16:41, Jassi Brar wrote: >> SCMI calls >> mbox_send_message(struct mbox_chan *chan, struct scmi_xfer *xfer); >> >> whereas the API expects >> mbox_send_message(struct mbox_chan *chan, struct controller_specific >>

[PATCH] alarmtimer: don't rate limit one-shot timers

2017-07-24 Thread Greg Hackmann
Commit ff86bf0c65f1 ("alarmtimer: Rate limit periodic intervals") sets a minimum bound on the alarm timer interval. This minimum bound shouldn't be applied if the interval is 0. Otherwise, one-shot timers will be converted into periodic ones. This patch is against 4.9.39, and is only needed in

[PATCH] alarmtimer: don't rate limit one-shot timers

2017-07-24 Thread Greg Hackmann
Commit ff86bf0c65f1 ("alarmtimer: Rate limit periodic intervals") sets a minimum bound on the alarm timer interval. This minimum bound shouldn't be applied if the interval is 0. Otherwise, one-shot timers will be converted into periodic ones. This patch is against 4.9.39, and is only needed in

[PATCH] selftests: breakpoint_test: Add missing line breaks

2017-07-24 Thread Shuah Khan
Add missing line breaks between the last two tests. Signed-off-by: Shuah Khan --- tools/testing/selftests/breakpoints/breakpoint_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/breakpoints/breakpoint_test.c

[PATCH] selftests: breakpoint_test: Add missing line breaks

2017-07-24 Thread Shuah Khan
Add missing line breaks between the last two tests. Signed-off-by: Shuah Khan --- tools/testing/selftests/breakpoints/breakpoint_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/breakpoints/breakpoint_test.c

Re: [PATCH 3/5] iommu/arm-smmu-v3: add IOMMU_CAP_BYPASS to the ARM SMMUv3 driver

2017-07-24 Thread Alex Williamson
On Thu, 20 Jul 2017 12:17:12 +0100 Robin Murphy wrote: > On 20/07/17 10:10, Will Deacon wrote: > > On Thu, Jul 20, 2017 at 09:32:00AM +0530, Anup Patel wrote: > >> On Wed, Jul 19, 2017 at 5:23 PM, Will Deacon wrote: > >>> There are two things here:

Re: [PATCH 3/5] iommu/arm-smmu-v3: add IOMMU_CAP_BYPASS to the ARM SMMUv3 driver

2017-07-24 Thread Alex Williamson
On Thu, 20 Jul 2017 12:17:12 +0100 Robin Murphy wrote: > On 20/07/17 10:10, Will Deacon wrote: > > On Thu, Jul 20, 2017 at 09:32:00AM +0530, Anup Patel wrote: > >> On Wed, Jul 19, 2017 at 5:23 PM, Will Deacon wrote: > >>> There are two things here: > >>> > >>> 1. iommu_present() is pretty

Re: [PATCH v5 00/19] coresight: Support for ARM Coresight SoC-600

2017-07-24 Thread Mathieu Poirier
On 20 July 2017 at 04:17, Suzuki K Poulose wrote: > This series adds support for ARM Coresight SoC-600 IP, which implements > Coresight V3 architecture. It also does some clean up of the replicator > driver namings used in the driver to prevent confusions to the user. > >

Re: [PATCH v5 00/19] coresight: Support for ARM Coresight SoC-600

2017-07-24 Thread Mathieu Poirier
On 20 July 2017 at 04:17, Suzuki K Poulose wrote: > This series adds support for ARM Coresight SoC-600 IP, which implements > Coresight V3 architecture. It also does some clean up of the replicator > driver namings used in the driver to prevent confusions to the user. > > The SoC-600 comes with

Re: [PATCH] USB: musb: fix external abort on suspend

2017-07-24 Thread Alan Stern
On Mon, 24 Jul 2017, Johan Hovold wrote: > On Mon, Jul 24, 2017 at 10:38:41AM -0400, Alan Stern wrote: > > On Mon, 24 Jul 2017, Johan Hovold wrote: > > > > > Make sure that the controller is runtime resumed when system suspending > > > to avoid an external abort when accessing the interrupt

Re: [PATCH] USB: musb: fix external abort on suspend

2017-07-24 Thread Alan Stern
On Mon, 24 Jul 2017, Johan Hovold wrote: > On Mon, Jul 24, 2017 at 10:38:41AM -0400, Alan Stern wrote: > > On Mon, 24 Jul 2017, Johan Hovold wrote: > > > > > Make sure that the controller is runtime resumed when system suspending > > > to avoid an external abort when accessing the interrupt

Re: [PATCH v5 18/19] coresight tmc: Add support for Coresight SoC 600 TMC

2017-07-24 Thread Mathieu Poirier
On 20 July 2017 at 04:17, Suzuki K Poulose wrote: > The coresight SoC 600 supports ETR save-restore which allows us > to restore a trace session by retaining the RRP/RWP/STS.Full values > when the TMC leaves the Disabled state. However, the TMC doesn't > have a

Re: [PATCH v5 18/19] coresight tmc: Add support for Coresight SoC 600 TMC

2017-07-24 Thread Mathieu Poirier
On 20 July 2017 at 04:17, Suzuki K Poulose wrote: > The coresight SoC 600 supports ETR save-restore which allows us > to restore a trace session by retaining the RRP/RWP/STS.Full values > when the TMC leaves the Disabled state. However, the TMC doesn't > have a scatter-gather unit in built. > >

Re: [PATCH v5 08/19] coresight tmc: Add helpers for accessing 64bit registers

2017-07-24 Thread Mathieu Poirier
On 20 July 2017 at 04:17, Suzuki K Poulose wrote: > Coresight TMC splits 64bit registers into a pair of 32bit registers > (e.g DBA, RRP, RWP). Provide helpers to read/write to these registers. > > Cc: Mathieu Poirier > Signed-off-by: Suzuki K

Re: [PATCH v5 08/19] coresight tmc: Add helpers for accessing 64bit registers

2017-07-24 Thread Mathieu Poirier
On 20 July 2017 at 04:17, Suzuki K Poulose wrote: > Coresight TMC splits 64bit registers into a pair of 32bit registers > (e.g DBA, RRP, RWP). Provide helpers to read/write to these registers. > > Cc: Mathieu Poirier > Signed-off-by: Suzuki K Poulose > --- >

[PATCH v5 1/5] mm: add vm_insert_mixed_mkwrite()

2017-07-24 Thread Ross Zwisler
To be able to use the common 4k zero page in DAX we need to have our PTE fault path look more like our PMD fault path where a PTE entry can be marked as dirty and writeable as it is first inserted rather than waiting for a follow-up dax_pfn_mkwrite() => finish_mkwrite_fault() call. Right now we

[PATCH v5 1/5] mm: add vm_insert_mixed_mkwrite()

2017-07-24 Thread Ross Zwisler
To be able to use the common 4k zero page in DAX we need to have our PTE fault path look more like our PMD fault path where a PTE entry can be marked as dirty and writeable as it is first inserted rather than waiting for a follow-up dax_pfn_mkwrite() => finish_mkwrite_fault() call. Right now we

Re: [PATCH 1/3] arm/syscalls: Move address limit check in loop

2017-07-24 Thread Thomas Garnier
On Wed, Jul 19, 2017 at 10:58 AM, Thomas Garnier wrote: > The work pending loop can call set_fs after addr_limit_user_check > removed the _TIF_FSCHECK flag. To prevent the infinite loop, move > the addr_limit_user_check call at the beginning of the loop. > > Fixes:

Re: [PATCH 1/3] arm/syscalls: Move address limit check in loop

2017-07-24 Thread Thomas Garnier
On Wed, Jul 19, 2017 at 10:58 AM, Thomas Garnier wrote: > The work pending loop can call set_fs after addr_limit_user_check > removed the _TIF_FSCHECK flag. To prevent the infinite loop, move > the addr_limit_user_check call at the beginning of the loop. > > Fixes: 73ac5d6a2b6a ("arm/syscalls:

[PATCH v5 5/5] dax: move all DAX radix tree defs to fs/dax.c

2017-07-24 Thread Ross Zwisler
Now that we no longer insert struct page pointers in DAX radix trees the page cache code no longer needs to know anything about DAX exceptional entries. Move all the DAX exceptional entry definitions from dax.h to fs/dax.c. Signed-off-by: Ross Zwisler Suggested-by:

[PATCH v5 5/5] dax: move all DAX radix tree defs to fs/dax.c

2017-07-24 Thread Ross Zwisler
Now that we no longer insert struct page pointers in DAX radix trees the page cache code no longer needs to know anything about DAX exceptional entries. Move all the DAX exceptional entry definitions from dax.h to fs/dax.c. Signed-off-by: Ross Zwisler Suggested-by: Jan Kara Reviewed-by: Jan

[PATCH v5 2/5] dax: relocate some dax functions

2017-07-24 Thread Ross Zwisler
dax_load_hole() will soon need to call dax_insert_mapping_entry(), so it needs to be moved lower in dax.c so the definition exists. dax_wake_mapping_entry_waiter() will soon be removed from dax.h and be made static to dax.c, so we need to move its definition above all its callers. Signed-off-by:

[PATCH v5 2/5] dax: relocate some dax functions

2017-07-24 Thread Ross Zwisler
dax_load_hole() will soon need to call dax_insert_mapping_entry(), so it needs to be moved lower in dax.c so the definition exists. dax_wake_mapping_entry_waiter() will soon be removed from dax.h and be made static to dax.c, so we need to move its definition above all its callers. Signed-off-by:

[PATCH v5 4/5] dax: remove DAX code from page_cache_tree_insert()

2017-07-24 Thread Ross Zwisler
Now that we no longer insert struct page pointers in DAX radix trees we can remove the special casing for DAX in page_cache_tree_insert(). This also allows us to make dax_wake_mapping_entry_waiter() local to fs/dax.c, removing it from dax.h. Signed-off-by: Ross Zwisler

[PATCH v5 3/5] dax: use common 4k zero page for dax mmap reads

2017-07-24 Thread Ross Zwisler
When servicing mmap() reads from file holes the current DAX code allocates a page cache page of all zeroes and places the struct page pointer in the mapping->page_tree radix tree. This has three major drawbacks: 1) It consumes memory unnecessarily. For every 4k page that is read via a DAX

[PATCH v5 4/5] dax: remove DAX code from page_cache_tree_insert()

2017-07-24 Thread Ross Zwisler
Now that we no longer insert struct page pointers in DAX radix trees we can remove the special casing for DAX in page_cache_tree_insert(). This also allows us to make dax_wake_mapping_entry_waiter() local to fs/dax.c, removing it from dax.h. Signed-off-by: Ross Zwisler Suggested-by: Jan Kara

[PATCH v5 3/5] dax: use common 4k zero page for dax mmap reads

2017-07-24 Thread Ross Zwisler
When servicing mmap() reads from file holes the current DAX code allocates a page cache page of all zeroes and places the struct page pointer in the mapping->page_tree radix tree. This has three major drawbacks: 1) It consumes memory unnecessarily. For every 4k page that is read via a DAX

[PATCH v5 0/5] DAX common 4k zero page

2017-07-24 Thread Ross Zwisler
Changes since v4: - Added static __vm_insert_mixed() to mm/memory.c that holds the common code for both vm_insert_mixed() and vm_insert_mixed_mkwrite() so we don't have duplicate code and we don't have to pass boolean flags around. (Dan & Jan) - Added a comment for the PFN sanity

[PATCH v5 0/5] DAX common 4k zero page

2017-07-24 Thread Ross Zwisler
Changes since v4: - Added static __vm_insert_mixed() to mm/memory.c that holds the common code for both vm_insert_mixed() and vm_insert_mixed_mkwrite() so we don't have duplicate code and we don't have to pass boolean flags around. (Dan & Jan) - Added a comment for the PFN sanity

[PATCH] KVM: x86: do mask out upper bits of PAE CR3

2017-07-24 Thread Paolo Bonzini
This reverts the change of commit f85c758dbee54cc3612a6e873ef7cecdb66ebee5, as the behavior it modified was intended. The VM is running in 32-bit PAE mode, and Table 4-7 of the Intel manual says: Table 4-7. Use of CR3 with PAE Paging Bit Position(s) Contents 4:0 Ignored 31:5

[PATCH] KVM: x86: do mask out upper bits of PAE CR3

2017-07-24 Thread Paolo Bonzini
This reverts the change of commit f85c758dbee54cc3612a6e873ef7cecdb66ebee5, as the behavior it modified was intended. The VM is running in 32-bit PAE mode, and Table 4-7 of the Intel manual says: Table 4-7. Use of CR3 with PAE Paging Bit Position(s) Contents 4:0 Ignored 31:5

Re: [PATCHv2 1/2] dt-bindings: backlight: add ti-lmu-backlight binding

2017-07-24 Thread Rob Herring
On Mon, Jul 17, 2017 at 03:39:55PM +0200, Sebastian Reichel wrote: > From: Milo Kim > > Add DT binding for ti-lmu devices. > > Signed-off-by: Milo Kim > Signed-off-by: Sebastian Reichel > --- >

Re: [PATCHv2 1/2] dt-bindings: backlight: add ti-lmu-backlight binding

2017-07-24 Thread Rob Herring
On Mon, Jul 17, 2017 at 03:39:55PM +0200, Sebastian Reichel wrote: > From: Milo Kim > > Add DT binding for ti-lmu devices. > > Signed-off-by: Milo Kim > Signed-off-by: Sebastian Reichel > --- > .../bindings/leds/backlight/ti-lmu-backlight.txt | 66 > ++ > 1 file

Re: [PATCH 13/13] net: dsa: lan9303: lan9303_port_mdb_del remove port 0

2017-07-24 Thread Florian Fainelli
On 07/20/2017 06:57 AM, Egil Hjelmeland wrote: > Workaround for dsa_switch_mdb_add adding CPU port to group, > but forgetting to remove it: > > Remove port 0 if only port 0 is only port left. > > Signed-off-by: Egil Hjelmeland > --- > drivers/net/dsa/lan9303-core.c

Re: [PATCH 13/13] net: dsa: lan9303: lan9303_port_mdb_del remove port 0

2017-07-24 Thread Florian Fainelli
On 07/20/2017 06:57 AM, Egil Hjelmeland wrote: > Workaround for dsa_switch_mdb_add adding CPU port to group, > but forgetting to remove it: > > Remove port 0 if only port 0 is only port left. > > Signed-off-by: Egil Hjelmeland > --- > drivers/net/dsa/lan9303-core.c | 11 +++ > 1 file

Re: [PATCH v6] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-24 Thread Marcel Holtmann
Hi Jeffy, > Currently we are calling usb_submit_urb directly to submit deferred tx > urbs after unanchor them. > > So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb > and cause memory leak: > unreferenced object 0xffc0ce0fa400 (size 256): > ... > backtrace: >[]

Re: [PATCH v6] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-24 Thread Marcel Holtmann
Hi Jeffy, > Currently we are calling usb_submit_urb directly to submit deferred tx > urbs after unanchor them. > > So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb > and cause memory leak: > unreferenced object 0xffc0ce0fa400 (size 256): > ... > backtrace: >[]

Re: [PATCH 12/13] net: dsa: lan9303: Added "stp_enable" sysfs attribute

2017-07-24 Thread Florian Fainelli
On 07/20/2017 06:42 AM, Egil Hjelmeland wrote: > Must be set to 1 by user space when STP is used on the lan9303. > If bridging without local STP, leave at 0, so external STP BPDUs > are forwarded. > > Hopefully the kernel can be improved so the driver can handle this > without user intervention,

Re: [PATCH 12/13] net: dsa: lan9303: Added "stp_enable" sysfs attribute

2017-07-24 Thread Florian Fainelli
On 07/20/2017 06:42 AM, Egil Hjelmeland wrote: > Must be set to 1 by user space when STP is used on the lan9303. > If bridging without local STP, leave at 0, so external STP BPDUs > are forwarded. > > Hopefully the kernel can be improved so the driver can handle this > without user intervention,

Re: [PATCH 2/2] mm/swap: Remove lock_initialized flag from swap_slots_cache

2017-07-24 Thread Tim Chen
On 07/23/2017 07:15 PM, Huang, Ying wrote: > Hi, Tim, > > Tim Chen writes: > >> We will only reach the lock initialization code >> in alloc_swap_slot_cache when the cpu's swap_slots_cache's slots >> have not been allocated and swap_slots_cache has not been

Re: [PATCH 2/2] mm/swap: Remove lock_initialized flag from swap_slots_cache

2017-07-24 Thread Tim Chen
On 07/23/2017 07:15 PM, Huang, Ying wrote: > Hi, Tim, > > Tim Chen writes: > >> We will only reach the lock initialization code >> in alloc_swap_slot_cache when the cpu's swap_slots_cache's slots >> have not been allocated and swap_slots_cache has not been initialized >> previously. So the

Re: [PATCH 00/13] net: dsa: lan9303: unicast offload, fdb,mdb,STP

2017-07-24 Thread Florian Fainelli
Hi, On 07/24/2017 07:47 AM, Egil Hjelmeland wrote: > This series extends the LAN9303 3 port switch DSA driver. Highlights: > - Make the MDIO interface work > - Bridging: Unicast offload > - Bridging: Added fdb/mdb handling > - Bridging: STP support > - Documentation > > The last three

Re: [PATCH 00/13] net: dsa: lan9303: unicast offload, fdb,mdb,STP

2017-07-24 Thread Florian Fainelli
Hi, On 07/24/2017 07:47 AM, Egil Hjelmeland wrote: > This series extends the LAN9303 3 port switch DSA driver. Highlights: > - Make the MDIO interface work > - Bridging: Unicast offload > - Bridging: Added fdb/mdb handling > - Bridging: STP support > - Documentation > > The last three

Re: [PATCH 10/13] net: dsa: lan9303: Only allocate 3 ports

2017-07-24 Thread Florian Fainelli
On 07/20/2017 03:35 AM, Egil Hjelmeland wrote: > Saving 2628 bytes. > > Signed-off-by: Egil Hjelmeland Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH 10/13] net: dsa: lan9303: Only allocate 3 ports

2017-07-24 Thread Florian Fainelli
On 07/20/2017 03:35 AM, Egil Hjelmeland wrote: > Saving 2628 bytes. > > Signed-off-by: Egil Hjelmeland Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH 11/13] net: dsa: lan9303: Added "alr_dump" sysfs port attribute

2017-07-24 Thread Florian Fainelli
On 07/20/2017 01:49 AM, Egil Hjelmeland wrote: > Added read only file /sys/class/net//lan9303/alr_dump, > that output 168 first ALR entires. > > Currently "bridge fdb show" does not include the CPU port, while > "alr_dump" list all three ports per entry. Agreed, and this is a limitation we would

Re: [PATCH 11/13] net: dsa: lan9303: Added "alr_dump" sysfs port attribute

2017-07-24 Thread Florian Fainelli
On 07/20/2017 01:49 AM, Egil Hjelmeland wrote: > Added read only file /sys/class/net//lan9303/alr_dump, > that output 168 first ALR entires. > > Currently "bridge fdb show" does not include the CPU port, while > "alr_dump" list all three ports per entry. Agreed, and this is a limitation we would

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-24 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 01:04:13PM -0300, Mauro Carvalho Chehab wrote: > If the Kernel force those users to use ghes_edac by default, > they they won't see the error counts anymore, but, instead, > hardware reports that the memories need to be replaced. This is exactly why I'm trying to load

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-24 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 01:04:13PM -0300, Mauro Carvalho Chehab wrote: > If the Kernel force those users to use ghes_edac by default, > they they won't see the error counts anymore, but, instead, > hardware reports that the memories need to be replaced. This is exactly why I'm trying to load

Re: [RFC PATCH v1 8/8] sched/deadline: make bandwidth enforcement scale-invariant

2017-07-24 Thread Peter Zijlstra
On Wed, Jul 19, 2017 at 12:16:24PM +0100, Juri Lelli wrote: > On 19/07/17 13:00, Peter Zijlstra wrote: > > On Wed, Jul 19, 2017 at 10:20:29AM +0100, Juri Lelli wrote: > > > On 19/07/17 09:21, Peter Zijlstra wrote: > > > > On Wed, Jul 05, 2017 at 09:59:05AM +0100, Juri Lelli wrote: > > > > > @@

Re: [RFC PATCH v1 8/8] sched/deadline: make bandwidth enforcement scale-invariant

2017-07-24 Thread Peter Zijlstra
On Wed, Jul 19, 2017 at 12:16:24PM +0100, Juri Lelli wrote: > On 19/07/17 13:00, Peter Zijlstra wrote: > > On Wed, Jul 19, 2017 at 10:20:29AM +0100, Juri Lelli wrote: > > > On 19/07/17 09:21, Peter Zijlstra wrote: > > > > On Wed, Jul 05, 2017 at 09:59:05AM +0100, Juri Lelli wrote: > > > > > @@

Re: [PATCH v3 04/23] dt-bindings: media: Binding document for Qualcomm Camera subsystem driver

2017-07-24 Thread Rob Herring
On Mon, Jul 17, 2017 at 01:33:30PM +0300, Todor Tomov wrote: > Add DT binding document for Qualcomm Camera subsystem driver. > > CC: Rob Herring > CC: devicet...@vger.kernel.org > Signed-off-by: Todor Tomov > --- >

Re: [PATCH v3 04/23] dt-bindings: media: Binding document for Qualcomm Camera subsystem driver

2017-07-24 Thread Rob Herring
On Mon, Jul 17, 2017 at 01:33:30PM +0300, Todor Tomov wrote: > Add DT binding document for Qualcomm Camera subsystem driver. > > CC: Rob Herring > CC: devicet...@vger.kernel.org > Signed-off-by: Todor Tomov > --- > .../devicetree/bindings/media/qcom,camss.txt | 191 >

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Sudeep Holla
On 24/07/17 11:29, Suzuki K Poulose wrote: > Add a helper to map a device node to a logical CPU number to avoid > duplication. Currently this is open coded in different places (e.g > gic-v3, coresight). The helper tries to map device node to a "possible" > logical CPU id, which may not be online

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-24 Thread Sudeep Holla
On 24/07/17 11:29, Suzuki K Poulose wrote: > Add a helper to map a device node to a logical CPU number to avoid > duplication. Currently this is open coded in different places (e.g > gic-v3, coresight). The helper tries to map device node to a "possible" > logical CPU id, which may not be online

Re: [PATCH] mm, oom: allow oom reaper to race with exit_mmap

2017-07-24 Thread kbuild test robot
Hi Michal, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.13-rc2 next-20170724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-oom-allow-oom-reaper-to-race

Re: [PATCH] mm, oom: allow oom reaper to race with exit_mmap

2017-07-24 Thread kbuild test robot
Hi Michal, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.13-rc2 next-20170724] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-oom-allow-oom-reaper-to-race

Re: [PATCH v2 2/6] irqchip/tango: Use irq_gc_mask_disable_and_ack_set

2017-07-24 Thread Marc Gonzalez
[ Trimming CC list ] On 19/07/2017 21:07, Doug Berger wrote: > From: Florian Fainelli > > The only usage of the irq_gc_mask_disable_reg_and_ack() function > is by the Tango irqchip driver. This usage is replaced by the > irq_gc_mask_disable_and_ack_set() function since it

Re: [PATCH v2 2/6] irqchip/tango: Use irq_gc_mask_disable_and_ack_set

2017-07-24 Thread Marc Gonzalez
[ Trimming CC list ] On 19/07/2017 21:07, Doug Berger wrote: > From: Florian Fainelli > > The only usage of the irq_gc_mask_disable_reg_and_ack() function > is by the Tango irqchip driver. This usage is replaced by the > irq_gc_mask_disable_and_ack_set() function since it provides the >

Re: [PATCH v2 2/5] dt-bindings: gpu: add a power_model optional properties for MALI

2017-07-24 Thread Rob Herring
On Tue, Jul 18, 2017 at 08:58:50AM +0800, Caesar Wang wrote: > Rob, > > 在 2017年07月18日 04:07, Rob Herring 写道: > > On Mon, Jul 17, 2017 at 04:14:28PM +0800, Caesar Wang wrote: > > > This patch adds the MALI's power-model to set the IPA model to be used > > > for power management. > > What's IPA?

Re: [PATCH v2 2/5] dt-bindings: gpu: add a power_model optional properties for MALI

2017-07-24 Thread Rob Herring
On Tue, Jul 18, 2017 at 08:58:50AM +0800, Caesar Wang wrote: > Rob, > > 在 2017年07月18日 04:07, Rob Herring 写道: > > On Mon, Jul 17, 2017 at 04:14:28PM +0800, Caesar Wang wrote: > > > This patch adds the MALI's power-model to set the IPA model to be used > > > for power management. > > What's IPA?

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-24 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 03:56:27PM +, Kani, Toshimitsu wrote: > Yes, Mauro has already pointed this out. As I replied to him, we do > have a separate series of platforms that do not have built-in RAS, and So this whitelist entry +static struct acpi_oemlist oemlist[] = { + {"HPE ",

Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac

2017-07-24 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 03:56:27PM +, Kani, Toshimitsu wrote: > Yes, Mauro has already pointed this out. As I replied to him, we do > have a separate series of platforms that do not have built-in RAS, and So this whitelist entry +static struct acpi_oemlist oemlist[] = { + {"HPE ",

Re: Suspend-resume failure on Intel Eagle Lake Core2Duo

2017-07-24 Thread Martin Peres
On 24/07/17 19:35, Thomas Gleixner wrote: On Mon, 24 Jul 2017, Martin Peres wrote: On 24/07/17 18:28, Thomas Gleixner wrote: Output of 'cat /proc/interrupts' and a description what kind of 'old' Intel platform that is. Sorry, I should have repeated the name outside of just the subject of the

Re: Suspend-resume failure on Intel Eagle Lake Core2Duo

2017-07-24 Thread Martin Peres
On 24/07/17 19:35, Thomas Gleixner wrote: On Mon, 24 Jul 2017, Martin Peres wrote: On 24/07/17 18:28, Thomas Gleixner wrote: Output of 'cat /proc/interrupts' and a description what kind of 'old' Intel platform that is. Sorry, I should have repeated the name outside of just the subject of the

Re: [PATCH] net: dsa: fixup fail to get tag in mtk_get_tag_protocol

2017-07-24 Thread Florian Fainelli
On 07/24/2017 08:14 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > dsa_is_cpu_port() checking ds->cpu_port_mask is not available in > ds->ops->get_tag_protocol > > Since commit 14be36c2c96c ("net: dsa: Initialize all CPU and enabled > ports masks in

Re: [PATCH] net: dsa: fixup fail to get tag in mtk_get_tag_protocol

2017-07-24 Thread Florian Fainelli
On 07/24/2017 08:14 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > dsa_is_cpu_port() checking ds->cpu_port_mask is not available in > ds->ops->get_tag_protocol > > Since commit 14be36c2c96c ("net: dsa: Initialize all CPU and enabled > ports masks in dsa_ds_parse()") So force returning

Re: [PATCH v2 6/7] mailbox: bcm-flexrm-mailbox: Set msg_queue_len for each channel

2017-07-24 Thread Jassi Brar
On Mon, Jul 24, 2017 at 9:26 AM, Anup Patel wrote: > Hi Jassi, > > Sorry for the delayed response... > > On Fri, Jul 21, 2017 at 9:16 PM, Jassi Brar wrote: >> Hi Anup, >> >> On Fri, Jul 21, 2017 at 12:25 PM, Anup Patel

Re: [PATCH v2 6/7] mailbox: bcm-flexrm-mailbox: Set msg_queue_len for each channel

2017-07-24 Thread Jassi Brar
On Mon, Jul 24, 2017 at 9:26 AM, Anup Patel wrote: > Hi Jassi, > > Sorry for the delayed response... > > On Fri, Jul 21, 2017 at 9:16 PM, Jassi Brar wrote: >> Hi Anup, >> >> On Fri, Jul 21, 2017 at 12:25 PM, Anup Patel wrote: >>> The Broadcom FlexRM ring (i.e. mailbox channel) can handle >>>

Re: Suspend-resume failure on Intel Eagle Lake Core2Duo

2017-07-24 Thread Thomas Gleixner
On Mon, 24 Jul 2017, Martin Peres wrote: > On 24/07/17 18:28, Thomas Gleixner wrote: > > Output of 'cat /proc/interrupts' and a description what kind of 'old' Intel > > platform that is. > > Sorry, I should have repeated the name outside of just the subject of the > email. It is an Intel Eagle

Re: Suspend-resume failure on Intel Eagle Lake Core2Duo

2017-07-24 Thread Thomas Gleixner
On Mon, 24 Jul 2017, Martin Peres wrote: > On 24/07/17 18:28, Thomas Gleixner wrote: > > Output of 'cat /proc/interrupts' and a description what kind of 'old' Intel > > platform that is. > > Sorry, I should have repeated the name outside of just the subject of the > email. It is an Intel Eagle

Re: [PATCH] of: return of_get_cpu_node from of_cpu_device_node_get if CPUs are not registered

2017-07-24 Thread Sudeep Holla
On 24/07/17 17:00, Rob Herring wrote: > On Mon, Jul 24, 2017 at 8:55 AM, Sudeep Holla wrote: >> Instead of the callsites choosing between of_cpu_device_node_get if the >> CPUs are registered as of_node is populated by then and of_get_cpu_node >> when the CPUs are not yet

Re: [PATCH] of: return of_get_cpu_node from of_cpu_device_node_get if CPUs are not registered

2017-07-24 Thread Sudeep Holla
On 24/07/17 17:00, Rob Herring wrote: > On Mon, Jul 24, 2017 at 8:55 AM, Sudeep Holla wrote: >> Instead of the callsites choosing between of_cpu_device_node_get if the >> CPUs are registered as of_node is populated by then and of_get_cpu_node >> when the CPUs are not yet registered as CPU

Re: [PATCH] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2017-07-24 Thread Alexander Potapenko
On Wed, Jul 19, 2017 at 2:58 AM, Xin Long wrote: > On Wed, Jul 19, 2017 at 3:02 AM, Alexander Potapenko > wrote: >> On Tue, Jul 18, 2017 at 4:55 PM, Alexander Potapenko >> wrote: >>> KMSAN reported use of uninitialized

Re: [PATCH] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2017-07-24 Thread Alexander Potapenko
On Wed, Jul 19, 2017 at 2:58 AM, Xin Long wrote: > On Wed, Jul 19, 2017 at 3:02 AM, Alexander Potapenko > wrote: >> On Tue, Jul 18, 2017 at 4:55 PM, Alexander Potapenko >> wrote: >>> KMSAN reported use of uninitialized sctp_addr->v4.sin_addr.s_addr and >>> sctp_addr->v6.sin6_scope_id in

Re: [PATCH v3 2/2] dt-bindings: mfd: Add bindings for ZII RAVE devices

2017-07-24 Thread Rob Herring
On Mon, Jul 24, 2017 at 08:09:15AM -0700, Andrey Smirnov wrote: > Cc: cphe...@gmail.com > Cc: Lucas Stach > Cc: Nikita Yushchenko > Cc: Rob Herring > Cc: Mark Rutland > Cc:

Re: [PATCH v3 2/2] dt-bindings: mfd: Add bindings for ZII RAVE devices

2017-07-24 Thread Rob Herring
On Mon, Jul 24, 2017 at 08:09:15AM -0700, Andrey Smirnov wrote: > Cc: cphe...@gmail.com > Cc: Lucas Stach > Cc: Nikita Yushchenko > Cc: Rob Herring > Cc: Mark Rutland > Cc: devicet...@vger.kernel.org > Acked-for-MFD-by: Lee Jones > Signed-off-by: Andrey Smirnov > --- >

Re: [PATCH 3/9] firmware: arm_scmi: add basic driver infrastructure for SCMI

2017-07-24 Thread Sudeep Holla
On 24/07/17 16:41, Jassi Brar wrote: > On Mon, Jul 24, 2017 at 3:20 PM, Sudeep Holla wrote: >> >> >> On 08/07/17 06:32, Jassi Brar wrote: >>> Hi Roy, Matt, Nishant, Harb Abdulhamid, Loc, >>> >>> I have a gut feeling you guys were part of the SCMI spec committee. If >>> so,

Re: [PATCH 3/9] firmware: arm_scmi: add basic driver infrastructure for SCMI

2017-07-24 Thread Sudeep Holla
On 24/07/17 16:41, Jassi Brar wrote: > On Mon, Jul 24, 2017 at 3:20 PM, Sudeep Holla wrote: >> >> >> On 08/07/17 06:32, Jassi Brar wrote: >>> Hi Roy, Matt, Nishant, Harb Abdulhamid, Loc, >>> >>> I have a gut feeling you guys were part of the SCMI spec committee. If >>> so, could you please

Re: [PATCH 23/32] tracing: Add 'onmatch' hist trigger action support

2017-07-24 Thread Tom Zanussi
Hi Namhyung, On Mon, 2017-07-24 at 00:12 +0900, Namhyung Kim wrote: > On Mon, Jun 26, 2017 at 05:49:24PM -0500, Tom Zanussi wrote: > > Add an 'onmatch(matching.event).(param list)' > > hist trigger action which is invoked with the set of variables or > > event fields named in the 'param list'.

Re: [PATCH 23/32] tracing: Add 'onmatch' hist trigger action support

2017-07-24 Thread Tom Zanussi
Hi Namhyung, On Mon, 2017-07-24 at 00:12 +0900, Namhyung Kim wrote: > On Mon, Jun 26, 2017 at 05:49:24PM -0500, Tom Zanussi wrote: > > Add an 'onmatch(matching.event).(param list)' > > hist trigger action which is invoked with the set of variables or > > event fields named in the 'param list'.

Re: [PATCH V3 2/9] cpufreq: Use transition_delay_us for legacy governors as well

2017-07-24 Thread Peter Zijlstra
On Wed, Jul 19, 2017 at 03:42:42PM +0530, Viresh Kumar wrote: > The policy->transition_delay_us field is used only by the schedutil > governor currently, and this field describes how fast the driver wants > the cpufreq governor to change CPUs frequency. It should rather be a > common thing across

Re: [PATCH V3 2/9] cpufreq: Use transition_delay_us for legacy governors as well

2017-07-24 Thread Peter Zijlstra
On Wed, Jul 19, 2017 at 03:42:42PM +0530, Viresh Kumar wrote: > The policy->transition_delay_us field is used only by the schedutil > governor currently, and this field describes how fast the driver wants > the cpufreq governor to change CPUs frequency. It should rather be a > common thing across

Re: [PATCH] Documentation: mtk-quadspi: update DT bindings

2017-07-24 Thread Rob Herring
On Fri, Jul 21, 2017 at 11:26:59AM +0800, Guochun Mao wrote: > Add "mediatek,mt2712-nor" and "mediatek,mt7622-nor" > for nor flash node's compatible. The subject could be improved because it is exactly the same as the last patch adding the 2701 and 7623. Also, use "dt-bindings: mtd: ..." for

Re: [PATCH] Documentation: mtk-quadspi: update DT bindings

2017-07-24 Thread Rob Herring
On Fri, Jul 21, 2017 at 11:26:59AM +0800, Guochun Mao wrote: > Add "mediatek,mt2712-nor" and "mediatek,mt7622-nor" > for nor flash node's compatible. The subject could be improved because it is exactly the same as the last patch adding the 2701 and 7623. Also, use "dt-bindings: mtd: ..." for

[PATCH v2 3/3] iio: adc: stm32: add optional st,min-sample-time-nsecs

2017-07-24 Thread Fabrice Gasnier
STM32 ADC allows each channel to be sampled with a different sampling time, by setting SMPR registers. Basically, value depends on local electrical properties. Selecting correct value for sampling time highly depends on analog source impedance. There is a manual that may help in this process: 'How

[PATCH v2 3/3] iio: adc: stm32: add optional st,min-sample-time-nsecs

2017-07-24 Thread Fabrice Gasnier
STM32 ADC allows each channel to be sampled with a different sampling time, by setting SMPR registers. Basically, value depends on local electrical properties. Selecting correct value for sampling time highly depends on analog source impedance. There is a manual that may help in this process: 'How

<    7   8   9   10   11   12   13   14   15   16   >