Re: [REBASED PATCH 1/2] usbip: usbip_host: delete device from busid_table after rebind

2018-04-30 Thread Shuah Khan
On 04/30/2018 04:48 PM, Greg KH wrote: > On Mon, Apr 30, 2018 at 04:17:19PM -0600, Shuah Khan (Samsung OSG) wrote: >> Device is left in the busid_table after unbind and rebind. Rebind >> initiates usb bus scan and the original driver claims the device. >> After rescan the device should be deleted

Re: [PATCH v2 1/3] ACPI: improve function documentation for acpi_parse_entries_array()

2018-04-30 Thread Al Stone
On 04/27/2018 05:04 AM, Rafael J. Wysocki wrote: > On Tue, Apr 24, 2018 at 9:35 PM, Al Stone wrote: >> I found the description of the table_size argument to the function >> acpi_parse_entries_array() unclear and ambiguous. This is a minor >> documentation change to improve that

Re: [PATCH v2] mm: access to uninitialized struct page

2018-04-30 Thread Andrew Morton
On Thu, 26 Apr 2018 16:26:19 -0400 Pavel Tatashin wrote: > The following two bugs were reported by Fengguang Wu: > > kernel reboot-without-warning in early-boot stage, last printk: > early console in setup code > >

Re: [PATCH v2 3/3] mailbox: ACPI: erroneous error message when parsing the ACPI PCCT

2018-04-30 Thread Al Stone
On 04/27/2018 05:16 AM, Rafael J. Wysocki wrote: > On Tue, Apr 24, 2018 at 9:35 PM, Al Stone wrote: >> There have been multiple reports of the following error message: >> >> [0.068293] Error parsing PCC subspaces from PCCT >> > > [cut] > >> >> Tested on my personal laptop

Re: [RFC v5 PATCH] mm: shmem: make stat.st_blksize return huge page size if THP is on

2018-04-30 Thread Andrew Morton
On Wed, 25 Apr 2018 22:13:53 +0800 Yang Shi wrote: > Since tmpfs THP was supported in 4.8, hugetlbfs is not the only > filesystem with huge page support anymore. tmpfs can use huge page via > THP when mounting by "huge=" mount option. > > When applications use huge

Re: [PATCH 3/3] sh: add the sh_ prefix to early platform symbols

2018-04-30 Thread kbuild test robot
Hi Bartosz, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc3 next-20180430] [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

Re: [PATCH] drm/vc4: Add a pad field to align drm_vc4_submit_cl to 64 bits.

2018-04-30 Thread Stefan Schake
On Tue, May 1, 2018 at 1:59 AM, Eric Anholt wrote: > I had originally asked Stefan Schake to drop the pad field from the > syncobj changes that just landed, because I couldn't come up with a > reason to align to 64 bits. > > Talking with Dave Airlie about the new v3d driver's

Re: [PATCH v2] arm64: dts: qcom: Add SDM845 SMEM nodes

2018-04-30 Thread Bjorn Andersson
On Mon 30 Apr 07:44 PDT 2018, Sibi Sankar wrote: > Add all the necessary dt nodes to support SMEM driver > on SDM845. It also adds the required memory carveouts > so that the kernel does not access memory that is in > use. > > Signed-off-by: Sibi Sankar Reviewed-by: Bjorn

[PATCH v7 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding

2018-04-30 Thread Matheus Castello
To keep driver up to date we add generic pinctrl binding support, which covers the features used in this driver and has additional node properties that this SoC has compatibility, so enabling future implementations of these properties without the need to create new node properties in the device

Re: [PATCH V2 0/6] Memory bandwidth allocation software controller(mba_sc)

2018-04-30 Thread Shivappa Vikas
Hello Thomas, I have sent a new version trying to address your feedback. Made this more cleaner also. Would be great if you could let me know any feedback. Regards, Vikas On Fri, 20 Apr 2018, Vikas Shivappa wrote: > Sending the second version of MBA software controller which addresses > the

[PATCH v7 3/3] pinctrl: bcm2835: Add support for output-low output-high properties

2018-04-30 Thread Matheus Castello
Properties to set initial value of pin output buffer. This can be useful for configure hardware in overlay files, and in early boot for checking it states in QA sanity tests. Signed-off-by: Matheus Castello Reviewed-by: Eric Anholt ---

[ANNOUNCE] Kconfiglib menuconfig implementation

2018-04-30 Thread Ulf Magnusson
Hello, Kconfiglib (https://github.com/ulfalizer/Kconfiglib) now has a terminal menuconfig implementation, implemented in plain curses (which is in the Python standard library). The interface should feel familiar to people used to mconf. It has some features that mconf lacks: - Seamless

Re: [PATCH] sched/fair: make CFS bandwidth slice per cpu group

2018-04-30 Thread kbuild test robot
Hi Cong, I love your patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.17-rc3 next-20180430] [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

Re: [PATCH 1/2] backlight: Remove s6e63m0 driver

2018-04-30 Thread Jingoo Han
On Monday, April 30, 2018 1:30 PM, Krzysztof Kozlowski wrote: > > The driver for S6E63M0 AMOLED LCD panel is not used. It does not > support DeviceTree and respective possible users (S5Pv210 Aquila and > Goni boards) are DeviceTree-only. > > Suggested-by: Marek Szyprowski

[PATCH 00/10] staging: lustre: assorted improvements.

2018-04-30 Thread NeilBrown
First 6 patches are clean-up patches that I pulled out of my rhashtable series. I think these stand alone as good cleanups, and having them upstream makes the rhashtable series shorter to ease further review. Second 2 are revised versions of patches I sent previously that had conflicts with

[PATCH 01/10] staging: lustre: ldlm: store name directly in namespace.

2018-04-30 Thread NeilBrown
Rather than storing the name of a namespace in the hash table, store it directly in the namespace. This will allow the hashtable to be changed to use rhashtable. Signed-off-by: NeilBrown --- drivers/staging/lustre/lustre/include/lustre_dlm.h |5 -

Re: [lustre-devel] [PATCH 02/10] staging: lustre: make struct lu_site_bkt_data private

2018-04-30 Thread Dilger, Andreas
On Apr 30, 2018, at 21:52, NeilBrown wrote: > > This data structure only needs to be public so that > various modules can access a wait queue to wait for object > destruction. > If we provide a function to get the wait queue, rather than the > whole bucket, the structure can be

[PATCH] tipc: fix a potential missing-check bug

2018-04-30 Thread Wenwen Wang
In tipc_link_xmit(), the member field "len" of l->backlog[imp] must be less than the member field "limit" of l->backlog[imp] when imp is equal to TIPC_SYSTEM_IMPORTANCE. Otherwise, an error code, i.e., -ENOBUFS, is returned. This is enforced by the security check. However, at the end of

[PATCH 3/3] afs: Implement namespacing

2018-04-30 Thread David Howells
Implement namespacing within AFS, but don't yet let mounts occur outside the init namespace. An additional patch will be required propagate the network namespace across automounts. Signed-off-by: David Howells --- fs/afs/cell.c |4 fs/afs/cmservice.c |2

[PATCH 0/3] afs: Network-namespacing and proc

2018-04-30 Thread David Howells
Hi Christoph, Can you drop your "afs: simplify procfs code" patch please and replace with these three? The patches are: (1) Rearrange fs/afs/proc.c to get rid of the forward declarations and simplify the commenting. (2) Supply functions that allow writable net proc files to be created

[PATCH 1/3] afs: Rearrange fs/afs/proc.c

2018-04-30 Thread David Howells
Rearrange fs/afs/proc.c to get rid of all the predeclarations. Signed-off-by: David Howells --- fs/afs/proc.c | 765 + 1 file changed, 330 insertions(+), 435 deletions(-) diff --git a/fs/afs/proc.c b/fs/afs/proc.c

[PATCH 2/3] proc: Add a way to make network proc files writable

2018-04-30 Thread David Howells
Provide two extra functions, proc_create_net_data_write() and proc_create_net_single_write() that act like their non-write versions but also set a write method in the proc_dir_entry struct. An internal simple write function is provided that will copy its buffer and hand it to the pde->write()

[PATCH] drm/vc4: Add a pad field to align drm_vc4_submit_cl to 64 bits.

2018-04-30 Thread Eric Anholt
I had originally asked Stefan Schake to drop the pad field from the syncobj changes that just landed, because I couldn't come up with a reason to align to 64 bits. Talking with Dave Airlie about the new v3d driver's submit ioctl, we came up with a reason: sizeof() on 64-bit platforms may align to

Re: [PATCH v2] mm: access to uninitialized struct page

2018-04-30 Thread Steven Rostedt
On Mon, 30 Apr 2018 16:26:58 -0700 Andrew Morton wrote: > On Thu, 26 Apr 2018 16:26:19 -0400 Pavel Tatashin > wrote: > > > The following two bugs were reported by Fengguang Wu: > > > > kernel reboot-without-warning in early-boot stage,

Re: [PATCH v2] mm: access to uninitialized struct page

2018-04-30 Thread Andrew Morton
On Mon, 30 Apr 2018 19:58:58 -0400 Steven Rostedt wrote: > On Mon, 30 Apr 2018 16:26:58 -0700 > Andrew Morton wrote: > > > On Thu, 26 Apr 2018 16:26:19 -0400 Pavel Tatashin > > wrote: > > > > > The following two bugs

Re: [RFC v4 3/4] irqflags: Avoid unnecessary calls to trace_ if you can

2018-04-30 Thread Joel Fernandes
On Wed, Apr 18, 2018 at 2:02 AM Masami Hiramatsu wrote: > On Mon, 16 Apr 2018 21:07:47 -0700 > Joel Fernandes wrote: > > With TRACE_IRQFLAGS, we call trace_ API too many times. We don't need > > to if local_irq_restore or local_irq_save didn't actually

[GIT] XArray v12

2018-04-30 Thread Matthew Wilcox
I've made version 12 of the XArray and page cache conversion available at git://git.infradead.org/users/willy/linux-dax.git xarray-20180430 Changes since v11: - At Goldwyn's request, renamed xas_for_each_tag -> xas_for_each_tagged, xas_find_tag -> xas_find_tagged and xas_ne

[PATCH][next] pinctrl: actions: Fix Kconfig dependency and help text

2018-04-30 Thread Manivannan Sadhasivam
1. Fix Kconfig dependency for Actions Semi S900 pinctrl driver which generates below warning in x86: WARNING: unmet direct dependencies detected for PINCTRL_OWL Depends on [n]: PINCTRL [=y] && (ARCH_ACTIONS || COMPILE_TEST [=n]) && OF [=n] Selected by [y]: - PINCTRL_S900 [=y] && PINCTRL

Warning for driver i915 for 4.17.0-rcX

2018-04-30 Thread Larry Finger
With kernel 4.17.0-rc3, I noted the following warning from driver i915. kernel: [ cut here ] kernel: Could not determine valid watermarks for inherited state kernel: WARNING: CPU: 3 PID: 224 at drivers/gpu/drm/i915/intel_display.c:14584 intel_modeset_init+0x3be/0x1060

Re: [PATCH 01/10] staging: lustre: ldlm: store name directly in namespace.

2018-04-30 Thread Dilger, Andreas
On Apr 30, 2018, at 21:52, NeilBrown wrote: > > Rather than storing the name of a namespace in the > hash table, store it directly in the namespace. > This will allow the hashtable to be changed to use > rhashtable. > > Signed-off-by: NeilBrown Reviewed-by:

Re: [PATCH] IB/core: Make ib_mad_client_id atomic

2018-04-30 Thread Jason Gunthorpe
On Mon, Apr 30, 2018 at 01:10:49PM -0400, Doug Ledford wrote: > On Mon, 2018-04-30 at 08:49 -0600, Jason Gunthorpe wrote: > > On Mon, Apr 23, 2018 at 10:16:18PM +0300, jackm wrote: > > > > > > > TIDs need to be globally unique on the entire machine. > > > Jason, that is not exactly correct. > >

Re: [RFC net-next 4/5] net: phy: Add support for IEEE standard test modes

2018-04-30 Thread Andrew Lunn
> +/* genphy_set_test - Make a PHY enter one of the standard IEEE defined > + * test modes > + * @phydev: the PHY device instance > + * @test: the desired test mode > + * @data: test specific data (none) > + * > + * This function makes the designated @phydev enter the desired standard > + *

[PATCH v2] KVM: X86: Limit timer frequency to 200ms

2018-04-30 Thread Wanpeng Li
From: Wanpeng Li Anthoine reported: The period used by Windows change over time but it can be 1 milliseconds or less. I saw the limit_periodic_timer_frequency print so 500 microseconds is sometimes reached. As suggested by Paolo, lower the timer frequency limit to a

Re: [PATCH 1/3] sched: remove select_idle_core() for scalability

2018-04-30 Thread Subhra Mazumdar
On 04/25/2018 10:49 AM, Peter Zijlstra wrote: On Tue, Apr 24, 2018 at 02:45:50PM -0700, Subhra Mazumdar wrote: So what you said makes sense in theory but is not borne out by real world results. This indicates that threads of these benchmarks care more about running immediately on any idle cpu

Re: [PATCH 4.4 44/44] ath10k: fix rfc1042 header retrieval in QCA4019 with eth decap mode

2018-04-30 Thread Sriram R
On 2018-05-01 00:54, Greg Kroah-Hartman wrote: 4.4-stable review patch. If anyone has any objections, please let me know. Hi Greg, This is a dependency patch to the actual fix , [PATCH 2/2 - linux-stable-4.4] ath10k: rebuild crypto header in rx data frames. We would like both these

Re: stable 4.16.5 hmm build error

2018-04-30 Thread Jerome Glisse
On Fri, Apr 27, 2018 at 01:51:47PM +0200, Greg Kroah-Hartman wrote: > On Fri, Apr 27, 2018 at 10:44:58AM +0200, Arnd Bergmann wrote: > > On Fri, Apr 27, 2018 at 10:30 AM, Greg Kroah-Hartman > > wrote: > > > On Fri, Apr 27, 2018 at 10:17:42AM +0200, Arnd Bergmann wrote:

[RFC PATCH] sched/fair: tg_set_cfs_slice() can be static

2018-04-30 Thread kbuild test robot
Fixes: 601aedfafd22 ("sched/fair: make CFS bandwidth slice per cpu group") Signed-off-by: Fengguang Wu --- core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index abc48d9..daa1843 100644 ---

Re: [PATCH] sched/fair: make CFS bandwidth slice per cpu group

2018-04-30 Thread kbuild test robot
Hi Cong, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on v4.17-rc3 next-20180430] [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

Re: [PATCH] sched/fair: make CFS bandwidth slice per cpu group

2018-04-30 Thread kbuild test robot
Hi Cong, I love your patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.17-rc3 next-20180430] [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

Re: [PATCH 4.14 00/91] 4.14.39-stable review

2018-04-30 Thread Nathan Chancellor
On Mon, Apr 30, 2018 at 12:23:42PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.39 release. > There are 91 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH v7 0/3] bcm2835: Add generic pinctrl support

2018-04-30 Thread Matheus Castello
This series adds support for generic binding for pinctrl bcm2835 driver, and add the code for set output buffer of a pin using the output-low and output-high generic properties. Tested on Raspberry Pi Zero W, based on bcm2835 SoC. Changes since v6: - I was dumb and calculate the PIN_CONFIG_END

Re: [PATCH 3/5] ib_srpt: depend on INFINIBAND_ADDR_TRANS

2018-04-30 Thread Greg Thelen
On Mon, Apr 30, 2018 at 4:35 PM Jason Gunthorpe wrote: > On Wed, Apr 25, 2018 at 03:33:39PM -0700, Greg Thelen wrote: > > INFINIBAND_SRPT code depends on INFINIBAND_ADDR_TRANS provided symbols. > > So declare the kconfig dependency. This is necessary to allow for > > enabling

[PATCH 3/4 v2] rculist: add list_for_each_entry_from_rcu()

2018-04-30 Thread NeilBrown
list_for_each_entry_from_rcu() is an RCU version of list_for_each_entry_from(). It walks a linked list under rcu protection, from a given start point. It is similar to list_for_each_entry_continue_rcu() but starts *at* the given position rather than *after* it. Naturally, the start point must

Re: [kernel-team] Re: [PATCH RFC v5 4/6] trace/irqsoff: Split reset into seperate functions

2018-04-30 Thread Joel Fernandes
On Mon, Apr 30, 2018 at 8:46 PM Randy Dunlap wrote: > On 04/30/2018 06:42 PM, Joel Fernandes wrote: > > Split reset functions into seperate functions in preparation > > of future patches that need to do tracer specific reset. > > > Hi, > Since you are updating patches

Re: [PATCH RFC v5 4/6] trace/irqsoff: Split reset into seperate functions

2018-04-30 Thread Randy Dunlap
On 04/30/2018 06:42 PM, Joel Fernandes wrote: > Split reset functions into seperate functions in preparation > of future patches that need to do tracer specific reset. > Hi, Since you are updating patches anyway, please s/seperate/separate/. thanks, -- ~Randy

general protection fault in n_tty_set_termios

2018-04-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8188fc8bef8c Merge git://git.kernel.org/pub/scm/linux/kerne... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?id=5093449355231232 kernel config:

Re: [PATCH] clk: qcom: gdsc: Add support to poll CFG register to check GDSC state

2018-04-30 Thread Taniya Das
Hello Doug, Thanks for the comments, I have based my latest patch on top of the earlier patches (clk-qcom-sdm845 branch of clk-next). On 5/1/2018 12:12 AM, Doug Anderson wrote: Hi, On Fri, Apr 27, 2018 at 1:19 AM, Taniya Das wrote: -static int gdsc_is_enabled(struct

[PATCH v1] clk: qcom: gdsc: Add support to poll CFG register to check GDSC state

2018-04-30 Thread Taniya Das
From: Amit Nischal The default behavior of the GDSC enable/disable sequence is to poll the status bits of either the actual GDSCR or the corresponding HW_CTRL registers. On targets which have support for a CFG_GDSCR register, the status bits might not show the correct

[PATCH v3 0/2] RAVE SP EEPROM driver

2018-04-30 Thread Andrey Smirnov
Srinivas: This series is a third iteration of the patchset adding NVMEM support for EEPROMs connected to RAVE SP MFD device (support for which landed in 4.15). Chagnes since [v2]: - Added verbiage about data cells, fixed captial case hex number as well as lack of address in

[PATCH v3 1/2] dt-bindings: nvmem: Add binding for RAVE SP EEPROM driver

2018-04-30 Thread Andrey Smirnov
Add Device Tree bindings for RAVE SP EEPROM driver - an MFD cell of parent RAVE SP driver (documented in Documentation/devicetree/bindings/mfd/zii,rave-sp.txt). Cc: Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org Cc: Chris Healy Cc: Lucas

[PATCH v3 2/2] nvmem: Add RAVE SP EEPROM driver

2018-04-30 Thread Andrey Smirnov
Add driver providing access to EEPROMs connected to RAVE SP devices Cc: Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org Cc: Chris Healy Cc: Lucas Stach Cc: Aleksander Morgado

Re: [PATCH v4 5/6] bus: fsl-mc: supoprt dma configure for devices on fsl-mc bus

2018-04-30 Thread kbuild test robot
Hi Nipun, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc3 next-20180430] [cannot apply to iommu/next glikely/devicetree/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve

Re: [PATCH v2 2/2] mm: vmalloc: Pass proper vm_start into debugobjects

2018-04-30 Thread Chintan Pandya
On 5/1/2018 4:34 AM, Andrew Morton wrote: should check for it and do a WARN_ONCE so it gets fixed. Yes, that was an idea in discussion but I've been suggested that it could be intentional. But since you are raising this, I will try to dig once again and share a patch with WARN_ONCE if

RE: [PATCH 2/2] Use bit-wise majority to recover the contents of ONFI parameter

2018-04-30 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Miquèl, Thank you for your response and feedback. I've modified the fix based on your comments. Please see the updated patch file at the end of this message (also in attachment). My answers to your comments/questions are inline in the previous message. The new patch is rebased on top of

linux-next: Tree for May 1

2018-04-30 Thread Stephen Rothwell
Hi all, Changes since 20180430: The rdma tree gained a conflict against the rdma-fixes tree. Non-merge commits (relative to Linus' tree): 3348 3188 files changed, 126791 insertions(+), 59113 deletions(-) I have

Re: [PATCH v2] i2c: at91: Read all available bytes at once

2018-04-30 Thread David Engraf
Am 28.04.2018 um 14:38 schrieb Wolfram Sang: On Thu, Apr 26, 2018 at 11:53:14AM +0200, David Engraf wrote: With FIFO enabled it is possible to read multiple bytes at once in the interrupt handler as long as RXRDY is set. This may also reduce the number of interrupts. This patch polls RXRDY and

[PATCH v4 1/6] Docs: dt: add fsl-mc iommu-map device-tree binding

2018-04-30 Thread Nipun Gupta
The existing IOMMU bindings cannot be used to specify the relationship between fsl-mc devices and IOMMUs. This patch adds a generic binding for mapping fsl-mc devices to IOMMUs, using iommu-map property. Signed-off-by: Nipun Gupta Reviewed-by: Rob Herring

[PATCH v4 0/6] Support for fsl-mc bus and its devices in SMMU

2018-04-30 Thread Nipun Gupta
This patchset defines IOMMU DT binding for fsl-mc bus and adds support in SMMU for fsl-mc bus. This patch series is dependent on patset: https://patchwork.kernel.org/patch/10317337/ These patches - Define property 'iommu-map' for fsl-mc bus (patch 1) - Integrates the fsl-mc bus with the SMMU

[PATCH v4 2/6] iommu: of: make of_pci_map_rid() available for other devices too

2018-04-30 Thread Nipun Gupta
iommu-map property is also used by devices with fsl-mc. This patch moves the of_pci_map_rid to generic location, so that it can be used by other busses too. 'of_pci_map_rid' is renamed here to 'of_map_rid' and there is no functional change done in the API. Signed-off-by: Nipun Gupta

[PATCH v4 6/6] arm64: dts: ls208xa: comply with the iommu map binding for fsl_mc

2018-04-30 Thread Nipun Gupta
fsl-mc bus support the new iommu-map property. Comply to this binding for fsl_mc bus. Signed-off-by: Nipun Gupta --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-30 Thread David Hildenbrand
On 29.04.2018 23:08, Michal Hocko wrote: > On Sun 22-04-18 17:13:52, David Hildenbrand wrote: >> On 22.04.2018 16:02, Matthew Wilcox wrote: >>> On Sun, Apr 22, 2018 at 10:17:31AM +0200, David Hildenbrand wrote: On 22.04.2018 05:01, Matthew Wilcox wrote: > On Sat, Apr 21, 2018 at

Re: [PATCH] random: remove unused argument from add_interrupt_randomness()

2018-04-30 Thread kbuild test robot
/commits/Sultan-Alsawaf/random-remove-unused-argument-from-add_interrupt_randomness/20180430-111445 config: i386-randconfig-x013-201817 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors

[PATCH v4 3/6] iommu: support iommu configuration for fsl-mc devices

2018-04-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/iommu/of_iommu.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/iommu/of_iommu.c b/drivers/iommu/of_iommu.c index 811e160..284474d 100644 --- a/drivers/iommu/of_iommu.c +++ b/drivers/iommu/of_iommu.c

[PATCH v4 4/6] iommu: arm-smmu: Add support for the fsl-mc bus

2018-04-30 Thread Nipun Gupta
Implement bus specific support for the fsl-mc bus including registering arm_smmu_ops and bus specific device add operations. Signed-off-by: Nipun Gupta --- drivers/iommu/arm-smmu.c | 7 +++ drivers/iommu/iommu.c| 21 + include/linux/fsl/mc.h |

[PATCH v4 5/6] bus: fsl-mc: supoprt dma configure for devices on fsl-mc bus

2018-04-30 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fsl-mc/fsl-mc-bus.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index 5d8266c..624828b 100644 ---

[PATCH] watchdog: sp805: add restart handler

2018-04-30 Thread Jongsung Kim
Add restart handler for SP805 watchdog so that the driver can be used to reboot the system. Signed-off-by: Jongsung Kim --- drivers/watchdog/sp805_wdt.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/watchdog/sp805_wdt.c

[PATCH] ASoC: da7219: read fmw property to get mclk for non-dts systems

2018-04-30 Thread Akshu Agrawal
Non-dts based systems can use ACPI DSDT to pass on the mclk to da7219. This enables da7219 mclk to be linked to system clock. Enable/Disable of the mclk is already handled in the codec so platform drivers don't have to explicitly do handling of mclk. Signed-off-by: Akshu Agrawal

[PATCH] typec: tcpm: Fix incorrect 'and' operator

2018-04-30 Thread Gustavo A. R. Silva
Currently, logical and is being used instead of *bitwise* and. Fix this by using a proper bitwise and operator. Addresses-Coverity-ID: 1468455 ("Logical vs. bitwise operator") Fixes: 64f7c494a3c0 ("typec: tcpm: Add support for sink PPS related messages") Signed-off-by: Gustavo A. R. Silva

Re: [PATCH v3 4/5] soc/tegra: pmc: Use of_clk_get_parent_count() instead of open coding

2018-04-30 Thread Daniel Lezcano
On Wed, Apr 18, 2018 at 04:50:04PM +0200, Geert Uytterhoeven wrote: > As of_clk_get_parent_count() returns zero on failure, while > of_count_phandle_with_args() might return a negative error code, this > also fixes the issue of possibly using a very big number in the > allocation below. > >

Re: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces

2018-04-30 Thread Kani, Toshi
On Mon, 2018-04-30 at 13:00 +0530, Chintan Pandya wrote: > > On 4/29/2018 2:24 AM, Kani, Toshi wrote: > > On Sat, 2018-04-28 at 11:02 +0200, j...@8bytes.org wrote: > > > On Fri, Apr 27, 2018 at 02:31:51PM +, Kani, Toshi wrote: > > > > So, we can add the step 2 on top of this patch. > > > >

Re: WARNING: bad unlock balance in xfs_iunlock

2018-04-30 Thread Dmitry Vyukov
On Mon, Apr 30, 2018 at 3:49 PM, Eric Sandeen wrote: > On 4/30/18 8:23 AM, Dmitry Vyukov wrote: >> On Mon, Apr 16, 2018 at 9:22 PM, Eric Sandeen wrote: > > ... > >>> It sure /seems/ to have a notion of images: what else is syz_mount_image()? >>> >>> i.e.

Re: BUG: /proc/kcore does not export direct-mapped memory on arm64 (and presumably some other architectures)

2018-04-30 Thread Dave Anderson
- Original Message - > On 04/26/2018 02:16 PM, Kees Cook wrote: > > On Thu, Apr 26, 2018 at 12:31 PM, Dave Anderson > > wrote: > >> > >> While testing /proc/kcore as the live memory source for the crash utility, > >> it fails on arm64. The failure on arm64 occurs

Re: kselftest archives etc.

2018-04-30 Thread Shuah Khan
On 04/30/2018 03:15 AM, Florian Weimer wrote: > On 04/28/2018 02:17 AM, Randy Dunlap wrote: >> (2) for this patch:http://www.spinics.net/lists/linux-kselftest/msg03136.html >> >> [PATCH] selftests/x86: Detect -no-pie availability >> >> Acked-by: Randy Dunlap >> Tested-by:

Re: [PATCH v8 3/9] PCI: endpoint: functions/pci-epf-test: Add second entry

2018-04-30 Thread Lorenzo Pieralisi
On Fri, Apr 27, 2018 at 12:59:58PM +0100, Gustavo Pimentel wrote: > Add a seconds entry on the pci_epf_test_ids structure that disables the "Add a second entry..." > linkup_notifier parameter on driver for the DesignWare EP. > > Allow DesignWare EPs that doesn't have linkup notification signal

Re: [Regression] PCI / PM: Simplify device wakeup settings code

2018-04-30 Thread Joseph Salisbury
On 04/16/2018 11:58 AM, Rafael J. Wysocki wrote: > On Mon, Apr 16, 2018 at 5:31 PM, Joseph Salisbury > wrote: >> On 04/13/2018 05:34 PM, Rafael J. Wysocki wrote: >>> On Fri, Apr 13, 2018 at 7:56 PM, Joseph Salisbury >>> wrote:

[PATCH] spi: pxa2xx: check clk_prepare_enable() return value

2018-04-30 Thread Tobias Jordan
clk_prepare_enable() can fail, so its return value should be checked and acted upon. Found by Linux Driver Verification project (linuxtesting.org). Fixes: 3343b7a6d2cd ("spi/pxa2xx: convert to the common clk framework") Signed-off-by: Tobias Jordan ---

Re: [PATCH 2/3] drm/scheduler: Don't call wait_event_killable for signaled process.

2018-04-30 Thread Andrey Grodzovsky
On 04/30/2018 08:08 AM, Christian König wrote: Hi Eric, sorry for the late response, was on vacation last week. Am 26.04.2018 um 02:01 schrieb Eric W. Biederman: Andrey Grodzovsky writes: On 04/25/2018 01:17 PM, Oleg Nesterov wrote: On 04/25, Andrey Grodzovsky

Re: [PATCH v5 1/2] dt-bindings: Documentation for qcom, llcc

2018-04-30 Thread Rob Herring
On Fri, Apr 27, 2018 at 5:57 PM, wrote: > On 2018-04-27 07:21, Rob Herring wrote: >> >> On Mon, Apr 23, 2018 at 04:09:31PM -0700, Rishabh Bhatnagar wrote: >>> >>> Documentation for last level cache controller device tree bindings, >>> client bindings usage examples. >>>

Re: [PATCH RCFv2 1/7] mm: introduce and use PageOffline()

2018-04-30 Thread Pavel Tatashin
Hi Dave, A few comments below: > + for (i = 0; i < PAGES_PER_SECTION; i++) { Performance wise, this is unfortunate that we have to add this loop for every hot-plug. But, I do like the finer hot-plug granularity that you achieve, and do not have a better suggestion how to avoid this loop.

[PATCH v2] arm64: dts: qcom: Add SDM845 SMEM nodes

2018-04-30 Thread Sibi Sankar
Add all the necessary dt nodes to support SMEM driver on SDM845. It also adds the required memory carveouts so that the kernel does not access memory that is in use. Signed-off-by: Sibi Sankar --- This patch depends on: https://patchwork.kernel.org/patch/10276419/

Re: [PATCH 03/18] thermal: exynos: always check for critical trip points existence

2018-04-30 Thread Daniel Lezcano
On Thu, Apr 26, 2018 at 01:51:18PM +0200, Bartlomiej Zolnierkiewicz wrote: > * Check for critical trip point existence in exynos_tmu_initialize() > so it is checked on all SoCs (except Exynos5433 for now). Why "except Exynos5433" ? > * Use dev_err() instead of pr_err(). > > * Fix dev_err()

RE: [PATCH] typec: tcpm: Fix incorrect 'and' operator

2018-04-30 Thread Adam Thomson
On 30 April 2018 14:23, Gustavo A. R. Silva wrote: > Currently, logical and is being used instead of *bitwise* and. > > Fix this by using a proper bitwise and operator. > > Addresses-Coverity-ID: 1468455 ("Logical vs. bitwise operator") > Fixes: 64f7c494a3c0 ("typec: tcpm: Add support for sink

Re: [PATCH 09/18] thermal: exynos: clear IRQs later in exynos4412_tmu_initialize()

2018-04-30 Thread Daniel Lezcano
On Thu, Apr 26, 2018 at 01:51:24PM +0200, Bartlomiej Zolnierkiewicz wrote: > Clear IRQs after enabling thermal tripping (it should make no > difference in driver operation). This prepares the driver code > to moving IRQs clearing call from ->tmu_initialize method to > exynos_tmu_initialize(). > >

Re: [PATCH 10/18] thermal: exynos: move IRQs clearing to exynos_tmu_initialize()

2018-04-30 Thread Daniel Lezcano
On Thu, Apr 26, 2018 at 01:51:25PM +0200, Bartlomiej Zolnierkiewicz wrote: > Move ->tmu_clear_irqs call from ->tmu_initialize method to > exynos_tmu_initialize(). > > There should be no functional changes caused by this patch. > > Signed-off-by: Bartlomiej Zolnierkiewicz

[PATCH] cpufreq: s3c2440: fix spelling mistake: "divsiors" -> "divisors"

2018-04-30 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in s3c_freq_dbg debug message text. Signed-off-by: Colin Ian King --- drivers/cpufreq/s3c2440-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 11/15] tty: hvc: hvc_poll break hv read loop

2018-04-30 Thread Nicholas Piggin
Avoid looping with the spinlock held while there is read data being returned from the hv driver. Instead note if the entire size returned by tty_buffer_request_room was read, and request another read poll. This limits the critical section lengths, and provides more even service to other consoles

[PATCH 04/15] powerpc/powernv: opal-kmsg use flush fallback from console code

2018-04-30 Thread Nicholas Piggin
Use the more refined and tested event polling loop from opal_put_chars as the fallback console flush in the opal-kmsg path. This loop is used by the console driver today, whereas the opal-kmsg fallback is not likely to have been used for years. Use WARN_ONCE rather than a printk when the fallback

[PATCH 00/15] hvc and powerpc opal console latency reduction

2018-04-30 Thread Nicholas Piggin
I'm seeing scattered reports of hard lockups triggering in the OPAL console code. I haven't got a full latency trace -- they are difficult to reproduce and sometimes just show up in dmesg of a bug report when the system is having other issues. But it does seem like there are some improvements that

[PATCH 01/15] powerpc/powernv: opal_put_chars partial write fix

2018-04-30 Thread Nicholas Piggin
The intention here is to consume and discard the remaining buffer upon error. This works if there has not been a previous partial write. If there has been, then total_len is no longer total number of bytes to copy. total_len is always "bytes left to copy", so it should be added to written bytes.

[PATCH 09/15] tty: hvc: remove unexplained "just in case" spin delay

2018-04-30 Thread Nicholas Piggin
This delay was in the very first OPAL console commit 6.5 years ago, and came from the vio hvc driver. The firmware console has hardened sufficiently to remove it. Reviewed-by: Benjamin Herrenschmidt Signed-off-by: Nicholas Piggin ---

[PATCH 08/15] powerpc/powernv: implement opal_put_chars_atomic

2018-04-30 Thread Nicholas Piggin
The RAW console does not need writes to be atomic, so relax opal_put_chars to be able to do partial writes, and implement an _atomic variant which does not take a spinlock. This API is used in xmon, so the less locking that is used, the better chance there is that a crash can be debugged. Cc:

[PATCH 03/15] powerpc/powernv: opal-kmsg standardise OPAL_BUSY handling

2018-04-30 Thread Nicholas Piggin
OPAL_CONSOLE_FLUSH is documented as being able to return OPAL_BUSY, so implement the standard OPAL_BUSY handling for it. Reviewed-by: Russell Currey Signed-off-by: Nicholas Piggin --- arch/powerpc/platforms/powernv/opal-kmsg.c | 24 ++

Re: [PATCH] perf: fix spelling mistake: "builid" -> "buildid"

2018-04-30 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 27, 2018 at 08:31:58PM +0100, Colin King escreveu: > From: Colin Ian King > > Trivial fix to spelling mistake in error message text Thanks, applied. - Arnaldo

[REGRESSION] drm/amd/dc: Add dc display driver (v2)

2018-04-30 Thread Joseph Salisbury
Hi Harry, A kernel bug report was opened against Ubuntu [0].  After a kernel bisect, it was found the following commit introduced the bug: commit 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c Author: Harry Wentland Date:   Tue Sep 12 15:58:20 2017 -0400     drm/amd/dc: Add

Re: [PATCH v10 08/25] mm: VMA sequence count

2018-04-30 Thread Laurent Dufour
On 23/04/2018 08:42, Minchan Kim wrote: > On Tue, Apr 17, 2018 at 04:33:14PM +0200, Laurent Dufour wrote: >> From: Peter Zijlstra >> >> Wrap the VMA modifications (vma_adjust/unmap_page_range) with sequence >> counts such that we can easily test if a VMA is changed. > >

Re: [PATCH 3/4] rculist: add list_for_each_entry_from_rcu()

2018-04-30 Thread Steven Rostedt
On Mon, 30 Apr 2018 06:43:08 -0700 "Paul E. McKenney" wrote: > On Sun, Apr 29, 2018 at 10:20:33PM -0700, Josh Triplett wrote: > > On Mon, Apr 30, 2018 at 02:31:30PM +1000, NeilBrown wrote: > > > list_for_each_entry_from_rcu() is an RCU version of > > >

Re: WARNING: bad unlock balance in xfs_iunlock

2018-04-30 Thread Eric Sandeen
On 4/30/18 9:02 AM, Dmitry Vyukov wrote: > On Mon, Apr 30, 2018 at 3:49 PM, Eric Sandeen wrote: ... >>> It just extracted kernel source file name that looked relevant >>> to this crash and run get_maintainers.pl on it. >>> Also the image can contain dynamically generated

Re: [PATCH][next] media: ispstat: don't dereference user_cfg before a null check

2018-04-30 Thread Sakari Ailus
On Thu, Apr 26, 2018 at 01:03:15PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > On Thursday, 26 April 2018 11:37:31 EEST Sakari Ailus wrote: > > On Tue, Apr 24, 2018 at 02:06:18PM +0100, Colin King wrote: > > > From: Colin Ian King > > > > > > The pointer user_cfg

[PATCH] f2fs: fix spelling mistake: "extenstion" -> "extension"

2018-04-30 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in extension list text Signed-off-by: Colin Ian King --- fs/f2fs/sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index

Re: [PATCH 3/4] rculist: add list_for_each_entry_from_rcu()

2018-04-30 Thread Paul E. McKenney
On Mon, Apr 30, 2018 at 11:14:54AM -0400, Steven Rostedt wrote: > On Mon, 30 Apr 2018 06:43:08 -0700 > "Paul E. McKenney" wrote: > > > On Sun, Apr 29, 2018 at 10:20:33PM -0700, Josh Triplett wrote: > > > On Mon, Apr 30, 2018 at 02:31:30PM +1000, NeilBrown wrote: > >

<    1   2   3   4   5   6   7   8   9   10   >