[GIT PULL] two more s390 bug fixes for 4.17

2018-05-29 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Two bug fixes for 4.17 * A missing -msoft-float for the compile of the kexec purgatory * A fix for the dasd driver to avoid

[GIT PULL] two more s390 bug fixes for 4.17

2018-05-29 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Two bug fixes for 4.17 * A missing -msoft-float for the compile of the kexec purgatory * A fix for the dasd driver to avoid

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-29 Thread Masahiro Yamada
2018-05-25 5:09 GMT+09:00 Martin Blumenstingl : > Hi Philipp, > > On Tue, May 22, 2018 at 4:04 PM, Philipp Zabel wrote: >> Hi Martin, >> >> On Mon, 2018-05-21 at 12:40 +0200, Martin Blumenstingl wrote: >>> Hello, >>> >>> On Mon, May 21, 2018 at 3:27 AM, Masahiro Yamada >>> wrote: >>> > Hi. >>> >

Re: [reset-control] How to initialize hardware state with the shared reset line?

2018-05-29 Thread Masahiro Yamada
2018-05-25 5:09 GMT+09:00 Martin Blumenstingl : > Hi Philipp, > > On Tue, May 22, 2018 at 4:04 PM, Philipp Zabel wrote: >> Hi Martin, >> >> On Mon, 2018-05-21 at 12:40 +0200, Martin Blumenstingl wrote: >>> Hello, >>> >>> On Mon, May 21, 2018 at 3:27 AM, Masahiro Yamada >>> wrote: >>> > Hi. >>> >

Re: [PATCH 2/3] x86:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-29 Thread Ingo Molnar
* nixiaoming wrote: > mark_rodata_ro is only called by the function mark_readonly > when CONFIG_STRICT_KERNEL_RWX=y > > if CONFIG_STRICT_KERNEL_RWX is not set > a compile warning may be triggered: unused function > > Signed-off-by: nixiaoming > --- > arch/x86/mm/init_32.c | 2 ++ >

Re: [PATCH 2/3] x86:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-29 Thread Ingo Molnar
* nixiaoming wrote: > mark_rodata_ro is only called by the function mark_readonly > when CONFIG_STRICT_KERNEL_RWX=y > > if CONFIG_STRICT_KERNEL_RWX is not set > a compile warning may be triggered: unused function > > Signed-off-by: nixiaoming > --- > arch/x86/mm/init_32.c | 2 ++ >

Re: [GIT PULL rcu/next] Additional RCU commit for 4.18

2018-05-29 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This additional v4.18 pull request contains a single commit that fell > through the cracks: > > 1.Provide early rcu_cpu_starting() callback for the benefit of the > x86/mtrr code, which needs RCU to be available on incoming CPUs >

Re: [GIT PULL rcu/next] Additional RCU commit for 4.18

2018-05-29 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This additional v4.18 pull request contains a single commit that fell > through the cracks: > > 1.Provide early rcu_cpu_starting() callback for the benefit of the > x86/mtrr code, which needs RCU to be available on incoming CPUs >

Re: [PATCH 3.18 093/185] microblaze: switch to NO_BOOTMEM

2018-05-29 Thread Michal Simek
On 29.5.2018 16:34, Rob Herring wrote: > On Mon, May 28, 2018 at 5:02 AM, Greg Kroah-Hartman > wrote: >> 3.18-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Rob Herring >> >> [ Upstream commit 101646a24a2f9cdb61d7732459fbf068a7bbb542

Re: [PATCH 3.18 093/185] microblaze: switch to NO_BOOTMEM

2018-05-29 Thread Michal Simek
On 29.5.2018 16:34, Rob Herring wrote: > On Mon, May 28, 2018 at 5:02 AM, Greg Kroah-Hartman > wrote: >> 3.18-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: Rob Herring >> >> [ Upstream commit 101646a24a2f9cdb61d7732459fbf068a7bbb542

Re: Userland breakage from "Modify the device name as devfreq(X) for sysfs"

2018-05-29 Thread Greg KH
On Tue, May 29, 2018 at 10:14:35PM -0700, John Stultz wrote: > On Tue, May 8, 2018 at 7:28 PM, Chanwoo Choi wrote: > > On 2018년 05월 09일 08:17, John Stultz wrote: > >> Hey folks, > >> I wanted to bring up an issue we've recently tripped over, which was > >> caused by 4585fbcb5331f ("PM /

Re: Userland breakage from "Modify the device name as devfreq(X) for sysfs"

2018-05-29 Thread Greg KH
On Tue, May 29, 2018 at 10:14:35PM -0700, John Stultz wrote: > On Tue, May 8, 2018 at 7:28 PM, Chanwoo Choi wrote: > > On 2018년 05월 09일 08:17, John Stultz wrote: > >> Hey folks, > >> I wanted to bring up an issue we've recently tripped over, which was > >> caused by 4585fbcb5331f ("PM /

Re: [PATCH v4 2/2] regulator: add QCOM RPMh regulator driver

2018-05-29 Thread Doug Anderson
Hi, On Tue, May 22, 2018 at 7:43 PM, David Collins wrote: > + * @ever_enabled: Boolean indicating that the regulator has been > + * explicitly enabled at least once. Voltage > + * requests should be cached when this flag is >

Re: [PATCH v4 2/2] regulator: add QCOM RPMh regulator driver

2018-05-29 Thread Doug Anderson
Hi, On Tue, May 22, 2018 at 7:43 PM, David Collins wrote: > + * @ever_enabled: Boolean indicating that the regulator has been > + * explicitly enabled at least once. Voltage > + * requests should be cached when this flag is >

Re: [PATCH v3 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-29 Thread Doug Anderson
Hi, On Wed, May 23, 2018 at 8:56 AM, Mark Brown wrote: > On Wed, May 23, 2018 at 08:50:22AM -0700, Doug Anderson wrote: >> On Wed, May 23, 2018 at 8:40 AM, Mark Brown wrote: > >> > It's got to be valid to think about the voltage of a disabled regulator >> > since drivers want to be able make

Re: [PATCH v3 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-29 Thread Doug Anderson
Hi, On Wed, May 23, 2018 at 8:56 AM, Mark Brown wrote: > On Wed, May 23, 2018 at 08:50:22AM -0700, Doug Anderson wrote: >> On Wed, May 23, 2018 at 8:40 AM, Mark Brown wrote: > >> > It's got to be valid to think about the voltage of a disabled regulator >> > since drivers want to be able make

Re: [PATCH v4 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-29 Thread Doug Anderson
Hi, On Tue, May 22, 2018 at 7:43 PM, David Collins wrote: > + > +Examples > + > + > +#include > + > +_rsc { > + pm8998-rpmh-regulators { > + compatible = "qcom,pm8998-rpmh-regulators"; > + qcom,pmic-id = "a"; > + > +

Re: [PATCH v4 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings

2018-05-29 Thread Doug Anderson
Hi, On Tue, May 22, 2018 at 7:43 PM, David Collins wrote: > + > +Examples > + > + > +#include > + > +_rsc { > + pm8998-rpmh-regulators { > + compatible = "qcom,pm8998-rpmh-regulators"; > + qcom,pmic-id = "a"; > + > +

[PATCH] drivers: of: of_reserved_mem: detect count overflow or range overlap

2018-05-29 Thread Jaewon Kim
During development, number of reserved memory region could be increased and a new region could be unwantedly overlapped. In that case the new region may work well but one of exisiting region could be affected so that it would not be defined properly. It may require time consuming work to find

[PATCH] drivers: of: of_reserved_mem: detect count overflow or range overlap

2018-05-29 Thread Jaewon Kim
During development, number of reserved memory region could be increased and a new region could be unwantedly overlapped. In that case the new region may work well but one of exisiting region could be affected so that it would not be defined properly. It may require time consuming work to find

Re: [PATCH] ext4: prefer strlcpy to strncpy

2018-05-29 Thread Theodore Y. Ts'o
On Mon, May 28, 2018 at 11:21:53PM -0700, Nick Desaulniers wrote: > Fixes a stringop-truncation warning from gcc-8. > > Signed-off-by: Nick Desaulniers I'll note that the ext4 superblock fields are *not* guaranteed to be NULL terminated. Code that references them must, and do, deal with this

Re: [PATCH] ext4: prefer strlcpy to strncpy

2018-05-29 Thread Theodore Y. Ts'o
On Mon, May 28, 2018 at 11:21:53PM -0700, Nick Desaulniers wrote: > Fixes a stringop-truncation warning from gcc-8. > > Signed-off-by: Nick Desaulniers I'll note that the ext4 superblock fields are *not* guaranteed to be NULL terminated. Code that references them must, and do, deal with this

Re: Userland breakage from "Modify the device name as devfreq(X) for sysfs"

2018-05-29 Thread John Stultz
On Tue, May 8, 2018 at 7:28 PM, Chanwoo Choi wrote: > On 2018년 05월 09일 08:17, John Stultz wrote: >> Hey folks, >> I wanted to bring up an issue we've recently tripped over, which was >> caused by 4585fbcb5331f ("PM / devfreq: Modify the device name as >> devfreq(X) for sysfs"). >> >>

Re: Userland breakage from "Modify the device name as devfreq(X) for sysfs"

2018-05-29 Thread John Stultz
On Tue, May 8, 2018 at 7:28 PM, Chanwoo Choi wrote: > On 2018년 05월 09일 08:17, John Stultz wrote: >> Hey folks, >> I wanted to bring up an issue we've recently tripped over, which was >> caused by 4585fbcb5331f ("PM / devfreq: Modify the device name as >> devfreq(X) for sysfs"). >> >>

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Olof Johansson
Hi, On Tue, May 29, 2018 at 5:20 AM, Ludovic BARRE wrote: > > > On 05/29/2018 10:55 AM, Alexandre Torgue wrote: >> >> >> >> On 05/29/2018 10:39 AM, Marc Zyngier wrote: >>> >>> On 29/05/18 09:16, Alexandre Torgue wrote: Hi Marc On 05/29/2018 09:47 AM, Marc Zyngier wrote:

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Olof Johansson
Hi, On Tue, May 29, 2018 at 5:20 AM, Ludovic BARRE wrote: > > > On 05/29/2018 10:55 AM, Alexandre Torgue wrote: >> >> >> >> On 05/29/2018 10:39 AM, Marc Zyngier wrote: >>> >>> On 29/05/18 09:16, Alexandre Torgue wrote: Hi Marc On 05/29/2018 09:47 AM, Marc Zyngier wrote:

linux-next: manual merge of the regulator tree with the arm-soc tree

2018-05-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflict in: arch/arm/mach-omap1/board-ams-delta.c between commit: 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables") from the arm-soc tree and commit: 6059577cb28d ("regulator: fixed: Convert to use GPIO

linux-next: manual merge of the regulator tree with the arm-soc tree

2018-05-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflict in: arch/arm/mach-omap1/board-ams-delta.c between commit: 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables") from the arm-soc tree and commit: 6059577cb28d ("regulator: fixed: Convert to use GPIO

[PATCH] ANDROID: binder: rename parameter to resolve name collision.

2018-05-29 Thread kuangrufan
From: Kuang Rufan both bind.c & binder_alloc.c define the same kernel parameter 'debug_mask', rename the one in binder_alloc.c to 'alloc_debug_mask'. Signed-off-by: Kuang Rufan --- drivers/android/binder_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] ANDROID: binder: rename parameter to resolve name collision.

2018-05-29 Thread kuangrufan
From: Kuang Rufan both bind.c & binder_alloc.c define the same kernel parameter 'debug_mask', rename the one in binder_alloc.c to 'alloc_debug_mask'. Signed-off-by: Kuang Rufan --- drivers/android/binder_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-05-29 Thread j...@8bytes.org
On Tue, May 29, 2018 at 04:10:24PM +, Kani, Toshi wrote: > Can you explain why you think allocating a page here is a major problem? Because a larger allocation is more likely to fail. And if you fail the allocation, you also fail to free more pages, which _is_ a problem. So better avoid any

Re: [PATCH v3 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-05-29 Thread j...@8bytes.org
On Tue, May 29, 2018 at 04:10:24PM +, Kani, Toshi wrote: > Can you explain why you think allocating a page here is a major problem? Because a larger allocation is more likely to fail. And if you fail the allocation, you also fail to free more pages, which _is_ a problem. So better avoid any

Re: [PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 09:41:33PM -0700, Sinan Kaya wrote: > On 5/29/2018 9:31 PM, Greg Kroah-Hartman wrote: > > On Tue, May 29, 2018 at 11:19:41PM -0400, Sinan Kaya wrote: > >> Adding pci=safemode kernel command line parameter to turn off all PCI > >> Express service driver as well as all

Re: [PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 09:41:33PM -0700, Sinan Kaya wrote: > On 5/29/2018 9:31 PM, Greg Kroah-Hartman wrote: > > On Tue, May 29, 2018 at 11:19:41PM -0400, Sinan Kaya wrote: > >> Adding pci=safemode kernel command line parameter to turn off all PCI > >> Express service driver as well as all

RE: [kbuild-all] include/linux/syscalls.h:211:18: error: 'sys_sparc_remap_file_pages' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, l

2018-05-29 Thread Li, Philip
> > Hi Al, > > FYI, the error/warning still remains. hi AI, kindly ignore this, the warning below may be caused by gcc-8.1 upgrade. we will double check to reduce noises. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head:

RE: [kbuild-all] include/linux/syscalls.h:211:18: error: 'sys_sparc_remap_file_pages' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, l

2018-05-29 Thread Li, Philip
> > Hi Al, > > FYI, the error/warning still remains. hi AI, kindly ignore this, the warning below may be caused by gcc-8.1 upgrade. we will double check to reduce noises. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head:

Re: [PATCH] perf hists browser: Fix stale hist_entry__tui_annotate() declaration

2018-05-29 Thread Leo Yan
Hi Arnaldo, On Wed, May 30, 2018 at 12:49:27PM +0800, Leo Yan wrote: > Since commit 464fb4fd6af7 ("perf hists browser: Pass annotation_options > from tool to browser") has added extra parameter for functions, but it > missed to update hist_entry__tui_annotate() declaration for >

Re: [PATCH] perf hists browser: Fix stale hist_entry__tui_annotate() declaration

2018-05-29 Thread Leo Yan
Hi Arnaldo, On Wed, May 30, 2018 at 12:49:27PM +0800, Leo Yan wrote: > Since commit 464fb4fd6af7 ("perf hists browser: Pass annotation_options > from tool to browser") has added extra parameter for functions, but it > missed to update hist_entry__tui_annotate() declaration for >

Re: [PATCH 2/2] cpufreq: Use static SRCU initializer

2018-05-29 Thread Viresh Kumar
On 25-05-18, 12:19, Sebastian Andrzej Siewior wrote: > Use the static SRCU initializer for `cpufreq_transition_notifier_list'. > This avoids the init_cpufreq_transition_notifier_list() initcall. Its > only purpose is to initialize the SRCU notifier once during boot and set > another variable which

Re: [PATCH 2/2] cpufreq: Use static SRCU initializer

2018-05-29 Thread Viresh Kumar
On 25-05-18, 12:19, Sebastian Andrzej Siewior wrote: > Use the static SRCU initializer for `cpufreq_transition_notifier_list'. > This avoids the init_cpufreq_transition_notifier_list() initcall. Its > only purpose is to initialize the SRCU notifier once during boot and set > another variable which

include/linux/syscalls.h:211:18: error: 'sys_sparc_remap_file_pages' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned i

2018-05-29 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0044cdeb731313f20b63cb5644de7588731de32b commit: a0d32ad366bb4235267380b341fcae8307f51044 switch sparc_remap_file_pages() to SYSCALL_DEFINE date: 2 months

include/linux/syscalls.h:211:18: error: 'sys_sparc_remap_file_pages' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned i

2018-05-29 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0044cdeb731313f20b63cb5644de7588731de32b commit: a0d32ad366bb4235267380b341fcae8307f51044 switch sparc_remap_file_pages() to SYSCALL_DEFINE date: 2 months

[PATCH] perf hists browser: Fix stale hist_entry__tui_annotate() declaration

2018-05-29 Thread Leo Yan
Since commit 464fb4fd6af7 ("perf hists browser: Pass annotation_options from tool to browser") has added extra parameter for functions, but it missed to update hist_entry__tui_annotate() declaration for !HAVE_SLANG_SUPPORT configuration so this results in regression for perf tool building failure.

[PATCH] perf hists browser: Fix stale hist_entry__tui_annotate() declaration

2018-05-29 Thread Leo Yan
Since commit 464fb4fd6af7 ("perf hists browser: Pass annotation_options from tool to browser") has added extra parameter for functions, but it missed to update hist_entry__tui_annotate() declaration for !HAVE_SLANG_SUPPORT configuration so this results in regression for perf tool building failure.

[PATCH] arm64: mm: mark tramp_pg_dir read-only

2018-05-29 Thread YaoJun
To protect against KSMA(Kernel Space Mirroring Attack), make tramp_pg_dir read-only. The principle of KSMA is to insert a carefully constructed PGD entry into the translation table. The type of this entry is block, which maps the kernel text and its access permissions bits are 01. The user process

[PATCH] arm64: mm: mark tramp_pg_dir read-only

2018-05-29 Thread YaoJun
To protect against KSMA(Kernel Space Mirroring Attack), make tramp_pg_dir read-only. The principle of KSMA is to insert a carefully constructed PGD entry into the translation table. The type of this entry is block, which maps the kernel text and its access permissions bits are 01. The user process

Re: [PATCH 07/15] arm: dts: exynos: Add missing cooling device properties for CPUs

2018-05-29 Thread Viresh Kumar
On 29-05-18, 15:18, Krzysztof Kozlowski wrote: > Thanks for the patch. > > In case of Exynos, the booting CPU always has these information in DT > and the booting CPU cannot be changed (chosen by firmware/hardware > configuration). But can the booting CPU be offlined ? If yes, then this is how

Re: [PATCH 07/15] arm: dts: exynos: Add missing cooling device properties for CPUs

2018-05-29 Thread Viresh Kumar
On 29-05-18, 15:18, Krzysztof Kozlowski wrote: > Thanks for the patch. > > In case of Exynos, the booting CPU always has these information in DT > and the booting CPU cannot be changed (chosen by firmware/hardware > configuration). But can the booting CPU be offlined ? If yes, then this is how

Re: [PATCH] PCI: move early dump functionality from x86 arch into the common code

2018-05-29 Thread Sinan Kaya
On 5/29/2018 9:34 PM, Sinan Kaya wrote: > -int early_pci_allowed(void) > -{ > - return (pci_probe & (PCI_PROBE_CONF1|PCI_PROBE_NOEARLY)) == > - PCI_PROBE_CONF1; > -} I should have kept this. I'll wait for more feedback before posting the next rev. -- Sinan Kaya Qualcomm

Re: [PATCH] PCI: move early dump functionality from x86 arch into the common code

2018-05-29 Thread Sinan Kaya
On 5/29/2018 9:34 PM, Sinan Kaya wrote: > -int early_pci_allowed(void) > -{ > - return (pci_probe & (PCI_PROBE_CONF1|PCI_PROBE_NOEARLY)) == > - PCI_PROBE_CONF1; > -} I should have kept this. I'll wait for more feedback before posting the next rev. -- Sinan Kaya Qualcomm

Re: [REVIEW][PATCH 0/6] Wrapping up the vfs support for unprivileged mounts

2018-05-29 Thread Dave Chinner
On Tue, May 29, 2018 at 09:34:35PM -0500, Eric W. Biederman wrote: > Dave Chinner writes: > > > Yeah, the are some fairly big process and policy things that > > need to be decided here. Not just at the kernel level, but at > > distro and app infrastructure level too. > > > > I was originally

Re: [REVIEW][PATCH 0/6] Wrapping up the vfs support for unprivileged mounts

2018-05-29 Thread Dave Chinner
On Tue, May 29, 2018 at 09:34:35PM -0500, Eric W. Biederman wrote: > Dave Chinner writes: > > > Yeah, the are some fairly big process and policy things that > > need to be decided here. Not just at the kernel level, but at > > distro and app infrastructure level too. > > > > I was originally

[PATCH] PCI: move early dump functionality from x86 arch into the common code

2018-05-29 Thread Sinan Kaya
Move early dump functionality into common code so that it is available for all archtiectures. No need to carry arch specific reads around as the read hooks are already initialized by the time pci_setup_device() is getting called during scan. Signed-off-by: Sinan Kaya ---

[PATCH] PCI: move early dump functionality from x86 arch into the common code

2018-05-29 Thread Sinan Kaya
Move early dump functionality into common code so that it is available for all archtiectures. No need to carry arch specific reads around as the read hooks are already initialized by the time pci_setup_device() is getting called during scan. Signed-off-by: Sinan Kaya ---

Re: [PATCH 2/8] xen/balloon: Move common memory reservation routines to a module

2018-05-29 Thread Juergen Gross
On 25/05/18 17:33, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Memory {increase|decrease}_reservation and VA mappings update/reset > code used in balloon driver can be made common, so other drivers can > also re-use the same functionality without open-coding. > Create a

Re: [PATCH 2/8] xen/balloon: Move common memory reservation routines to a module

2018-05-29 Thread Juergen Gross
On 25/05/18 17:33, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Memory {increase|decrease}_reservation and VA mappings update/reset > code used in balloon driver can be made common, so other drivers can > also re-use the same functionality without open-coding. > Create a

Re: [PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 11:19:41PM -0400, Sinan Kaya wrote: > Adding pci=safemode kernel command line parameter to turn off all PCI > Express service driver as well as all optional PCIe features such as LTR, > Extended tags, Relaxed Ordering etc. > > Also setting MPS configuration to

Re: [PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 11:19:41PM -0400, Sinan Kaya wrote: > Adding pci=safemode kernel command line parameter to turn off all PCI > Express service driver as well as all optional PCIe features such as LTR, > Extended tags, Relaxed Ordering etc. > > Also setting MPS configuration to

include/linux/syscalls.h:211:18: error: 'sys_mmap2' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigne

2018-05-29 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0044cdeb731313f20b63cb5644de7588731de32b commit: ee076e81fc14ca79334d02970cea66604f183a14 sparc: trivial conversions to {COMPAT_,}SYSCALL_DEFINE() date: 2

include/linux/syscalls.h:211:18: error: 'sys_mmap2' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigne

2018-05-29 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0044cdeb731313f20b63cb5644de7588731de32b commit: ee076e81fc14ca79334d02970cea66604f183a14 sparc: trivial conversions to {COMPAT_,}SYSCALL_DEFINE() date: 2

Re: [PATCH v6 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-05-29 Thread Tobin C. Harding
On Mon, May 28, 2018 at 10:40:43AM -0700, Randy Dunlap wrote: > On 05/27/2018 06:46 PM, Tobin C. Harding wrote: > > Currently printing [hashed] pointers requires enough entropy to be > > available. Early in the boot sequence this may not be the case > > resulting in a dummy string

Re: [PATCH v6 4/4] vsprintf: Add command line option debug_boot_weak_hash

2018-05-29 Thread Tobin C. Harding
On Mon, May 28, 2018 at 10:40:43AM -0700, Randy Dunlap wrote: > On 05/27/2018 06:46 PM, Tobin C. Harding wrote: > > Currently printing [hashed] pointers requires enough entropy to be > > available. Early in the boot sequence this may not be the case > > resulting in a dummy string

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 01:52:12PM -0600, Shuah Khan wrote: > On 05/28/2018 04:00 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.16.13 release. > > There are 272 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-29 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 01:52:12PM -0600, Shuah Khan wrote: > On 05/28/2018 04:00 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.16.13 release. > > There are 272 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 1/8] xen/grant-table: Make set/clear page private code shared

2018-05-29 Thread Juergen Gross
On 25/05/18 17:33, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Make set/clear page private code shared and accessible to > other kernel modules which can re-use these instead of open-coding. > > Signed-off-by: Oleksandr Andrushchenko > --- > drivers/xen/grant-table.c |

Re: [PATCH 1/8] xen/grant-table: Make set/clear page private code shared

2018-05-29 Thread Juergen Gross
On 25/05/18 17:33, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Make set/clear page private code shared and accessible to > other kernel modules which can re-use these instead of open-coding. > > Signed-off-by: Oleksandr Andrushchenko > --- > drivers/xen/grant-table.c |

Re: [PATCH 3/3] f2fs: clean up symbol namespace

2018-05-29 Thread Jaegeuk Kim
Hi Chao, Thank you for the work. I resolved some conflicts and modified some function names. Please take a look at this. https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev-test --- fs/f2fs/checkpoint.c | 8 fs/f2fs/dir.c| 6 +++--- fs/f2fs/f2fs.h

Re: [PATCH 3/3] f2fs: clean up symbol namespace

2018-05-29 Thread Jaegeuk Kim
Hi Chao, Thank you for the work. I resolved some conflicts and modified some function names. Please take a look at this. https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev-test --- fs/f2fs/checkpoint.c | 8 fs/f2fs/dir.c| 6 +++--- fs/f2fs/f2fs.h

Re: Status of aspeed-bmc-opp-firestone (IBM S822LC)

2018-05-29 Thread Andrew Jeffery
Hi Paul, On Wed, 30 May 2018, at 00:23, Paul Menzel wrote: > Dear Joel, dear Linux folks, > > > We have an IBM S822LC system (Firestone(?)). Building of OpenBMC > currently fails, as the not everything was ported from dev-4.10 to > dev-4.13 [1], and therefore a file cannot be found. > >

Re: Status of aspeed-bmc-opp-firestone (IBM S822LC)

2018-05-29 Thread Andrew Jeffery
Hi Paul, On Wed, 30 May 2018, at 00:23, Paul Menzel wrote: > Dear Joel, dear Linux folks, > > > We have an IBM S822LC system (Firestone(?)). Building of OpenBMC > currently fails, as the not everything was ported from dev-4.10 to > dev-4.13 [1], and therefore a file cannot be found. > >

[PATCH] usb: dwc2: gadget: fix missing process for isoc descriptor dma mode

2018-05-29 Thread Zeng Tao
If it's the first request to queue, and we are using descriptor dma mode for isoc transfer, we only need to add the request to the queue, and it will be processed in the future nak interrupt handler. Signed-off-by: Zeng Tao --- drivers/usb/dwc2/gadget.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH] usb: dwc2: gadget: fix missing process for isoc descriptor dma mode

2018-05-29 Thread Zeng Tao
If it's the first request to queue, and we are using descriptor dma mode for isoc transfer, we only need to add the request to the queue, and it will be processed in the future nak interrupt handler. Signed-off-by: Zeng Tao --- drivers/usb/dwc2/gadget.c | 3 +++ 1 file changed, 3 insertions(+)

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/29/2018 11:44 PM, Eric Dumazet wrote: > > And I will add this simple fix, this really should address your initial > concern much better. > > @@ -99,6 +100,8 @@ static int mlx4_alloc_icm_pages(struct scatterlist *mem, > int order, > { > struct page *page; > > + if

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/29/2018 11:44 PM, Eric Dumazet wrote: > > And I will add this simple fix, this really should address your initial > concern much better. > > @@ -99,6 +100,8 @@ static int mlx4_alloc_icm_pages(struct scatterlist *mem, > int order, > { > struct page *page; > > + if

RE: [PATCH v4 04/22] iommu/vt-d: add bind_pasid_table function

2018-05-29 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, May 30, 2018 11:18 AM > > On Wed, 30 May 2018 01:41:43 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Wednesday, May 30, 2018 4:09 AM > > > > > > On Fri, 20

RE: [PATCH v4 04/22] iommu/vt-d: add bind_pasid_table function

2018-05-29 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, May 30, 2018 11:18 AM > > On Wed, 30 May 2018 01:41:43 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Wednesday, May 30, 2018 4:09 AM > > > > > > On Fri, 20

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/29/2018 11:34 PM, Eric Dumazet wrote: > I will test : > > diff --git a/drivers/net/ethernet/mellanox/mlx4/icm.c > b/drivers/net/ethernet/mellanox/mlx4/icm.c > index > 685337d58276fc91baeeb64387c52985e1bc6dda..4d2a71381acb739585d662175e86caef72338097 > 100644 > ---

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/29/2018 11:34 PM, Eric Dumazet wrote: > I will test : > > diff --git a/drivers/net/ethernet/mellanox/mlx4/icm.c > b/drivers/net/ethernet/mellanox/mlx4/icm.c > index > 685337d58276fc91baeeb64387c52985e1bc6dda..4d2a71381acb739585d662175e86caef72338097 > 100644 > ---

Re: [net] vhost: Use kzalloc() to allocate vhost_msg_node

2018-05-29 Thread Guenter Roeck
On 05/29/2018 08:01 PM, Michael S. Tsirkin wrote: On Tue, May 29, 2018 at 03:19:08PM -0700, Guenter Roeck wrote: On Fri, Apr 27, 2018 at 11:45:02AM -0400, Kevin Easton wrote: The struct vhost_msg within struct vhost_msg_node is copied to userspace, so it should be allocated with kzalloc() to

Re: [net] vhost: Use kzalloc() to allocate vhost_msg_node

2018-05-29 Thread Guenter Roeck
On 05/29/2018 08:01 PM, Michael S. Tsirkin wrote: On Tue, May 29, 2018 at 03:19:08PM -0700, Guenter Roeck wrote: On Fri, Apr 27, 2018 at 11:45:02AM -0400, Kevin Easton wrote: The struct vhost_msg within struct vhost_msg_node is copied to userspace, so it should be allocated with kzalloc() to

Re: [PATCH] mm: Change return type to vm_fault_t

2018-05-29 Thread Souptick Joarder
On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox wrote: > On Tue, May 29, 2018 at 09:25:05PM +0530, Souptick Joarder wrote: >> On Tue, May 29, 2018 at 8:20 PM, Matthew Wilcox wrote: >> > On Tue, May 29, 2018 at 08:01:26PM +0530, Souptick Joarder wrote: >> >> Use new return type vm_fault_t for

Re: [PATCH] mm: Change return type to vm_fault_t

2018-05-29 Thread Souptick Joarder
On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox wrote: > On Tue, May 29, 2018 at 09:25:05PM +0530, Souptick Joarder wrote: >> On Tue, May 29, 2018 at 8:20 PM, Matthew Wilcox wrote: >> > On Tue, May 29, 2018 at 08:01:26PM +0530, Souptick Joarder wrote: >> >> Use new return type vm_fault_t for

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/25/2018 10:23 AM, David Miller wrote: > From: Qing Huang > Date: Wed, 23 May 2018 16:22:46 -0700 > >> When a system is under memory presure (high usage with fragments), >> the original 256KB ICM chunk allocations will likely trigger kernel >> memory management to enter slow path doing

Re: [PATCH V4] mlx4_core: allocate ICM memory in page size chunks

2018-05-29 Thread Eric Dumazet
On 05/25/2018 10:23 AM, David Miller wrote: > From: Qing Huang > Date: Wed, 23 May 2018 16:22:46 -0700 > >> When a system is under memory presure (high usage with fragments), >> the original 256KB ICM chunk allocations will likely trigger kernel >> memory management to enter slow path doing

RE: [PATCH 1/3] arm64:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-29 Thread Nixiaoming
Unable to set CONFIG_STRICT_KERNEL_RWX=n by make menuconfig ARCH=arm64 When reading the code, I feel it is more appropriate to add macro control here. -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Tuesday, May 29, 2018 11:45 PM To: Nixiaoming Cc:

RE: [PATCH 1/3] arm64:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro

2018-05-29 Thread Nixiaoming
Unable to set CONFIG_STRICT_KERNEL_RWX=n by make menuconfig ARCH=arm64 When reading the code, I feel it is more appropriate to add macro control here. -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: Tuesday, May 29, 2018 11:45 PM To: Nixiaoming Cc:

Re: scsi/qla2xxx: BUG_ON(blk_queued_rq(req) is triggered in blk_finish_request

2018-05-29 Thread jianchao.wang
Hi Himanshu Thanks for your kindly response. On 05/30/2018 01:44 AM, Madhani, Himanshu wrote: > Thanks for the information. I was out for couple days. Still working through > my emails. > > Without core dump shared with us, things become hard to debug. We'll take a > look at this data. > >

Re: scsi/qla2xxx: BUG_ON(blk_queued_rq(req) is triggered in blk_finish_request

2018-05-29 Thread jianchao.wang
Hi Himanshu Thanks for your kindly response. On 05/30/2018 01:44 AM, Madhani, Himanshu wrote: > Thanks for the information. I was out for couple days. Still working through > my emails. > > Without core dump shared with us, things become hard to debug. We'll take a > look at this data. > >

Re: [git pull] Input updates for v4.17-rc7

2018-05-29 Thread Linus Torvalds
On Tue, May 29, 2018 at 6:38 PM Dmitry Torokhov wrote: > We are switching a bunch of > Lenovo devices with Synaptics touchpads from PS/2 emulation over to > native RMI/SMbus. > Given that all commits are marked for stable there is no point delaying > them till next release. Hmm. The elan

Re: [git pull] Input updates for v4.17-rc7

2018-05-29 Thread Linus Torvalds
On Tue, May 29, 2018 at 6:38 PM Dmitry Torokhov wrote: > We are switching a bunch of > Lenovo devices with Synaptics touchpads from PS/2 emulation over to > native RMI/SMbus. > Given that all commits are marked for stable there is no point delaying > them till next release. Hmm. The elan

[PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Sinan Kaya
Adding pci=safemode kernel command line parameter to turn off all PCI Express service driver as well as all optional PCIe features such as LTR, Extended tags, Relaxed Ordering etc. Also setting MPS configuration to PCIE_BUS_SAFE so that MPS and MRRS can be reconfigured with by the kernel in case

[PATCH] PCI: Add pci=safemode option

2018-05-29 Thread Sinan Kaya
Adding pci=safemode kernel command line parameter to turn off all PCI Express service driver as well as all optional PCIe features such as LTR, Extended tags, Relaxed Ordering etc. Also setting MPS configuration to PCIE_BUS_SAFE so that MPS and MRRS can be reconfigured with by the kernel in case

[PATCH 1/3] mfd: cros: add charger port count command definition

2018-05-29 Thread Fabien Parent
A new more command has been added to the ChromeOS embedded controller that allows to get the number of charger port count. Unlike EC_CMD_USB_PD_PORTS, this new command also includes the dedicated port if present. This command will be used to expose the dedicated charger port in the ChromeOS

[PATCH 2/3] power: supply: cros: add support for dedicated port

2018-05-29 Thread Fabien Parent
ChromeOS devices can have one optional dedicated port. The Dedicated port is unique and similar to the USB PD ports except that it doesn't support as many properties. The presence of a dedicated port is determined from whether the EC's charger port count is equal to 'number of USB PD port' + 1.

[PATCH 1/3] mfd: cros: add charger port count command definition

2018-05-29 Thread Fabien Parent
A new more command has been added to the ChromeOS embedded controller that allows to get the number of charger port count. Unlike EC_CMD_USB_PD_PORTS, this new command also includes the dedicated port if present. This command will be used to expose the dedicated charger port in the ChromeOS

[PATCH 2/3] power: supply: cros: add support for dedicated port

2018-05-29 Thread Fabien Parent
ChromeOS devices can have one optional dedicated port. The Dedicated port is unique and similar to the USB PD ports except that it doesn't support as many properties. The presence of a dedicated port is determined from whether the EC's charger port count is equal to 'number of USB PD port' + 1.

Re: [PATCH v4 04/22] iommu/vt-d: add bind_pasid_table function

2018-05-29 Thread Alex Williamson
On Wed, 30 May 2018 01:41:43 + "Tian, Kevin" wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Wednesday, May 30, 2018 4:09 AM > > > > On Fri, 20 Apr 2018 16:42:51 -0700 > > Jacob Pan wrote: > > > > > On Fri, 20 Apr 2018 19:25:34 +0100 > > > Jean-Philippe

[PATCH 3/3] power: supply: cros: add property to detect connected ports

2018-05-29 Thread Fabien Parent
When a port is connected but acting as a source, its 'online' and 'status' properties are identical to a port that is not connected. This makes it tedious for userspace to know for sure whether a port is connected or not. This commit adds a new property 'present' to reflect whether a port is

Re: [PATCH v4 04/22] iommu/vt-d: add bind_pasid_table function

2018-05-29 Thread Alex Williamson
On Wed, 30 May 2018 01:41:43 + "Tian, Kevin" wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Wednesday, May 30, 2018 4:09 AM > > > > On Fri, 20 Apr 2018 16:42:51 -0700 > > Jacob Pan wrote: > > > > > On Fri, 20 Apr 2018 19:25:34 +0100 > > > Jean-Philippe

[PATCH 3/3] power: supply: cros: add property to detect connected ports

2018-05-29 Thread Fabien Parent
When a port is connected but acting as a source, its 'online' and 'status' properties are identical to a port that is not connected. This makes it tedious for userspace to know for sure whether a port is connected or not. This commit adds a new property 'present' to reflect whether a port is

  1   2   3   4   5   6   7   8   9   10   >