Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread Greg KH
On Fri, Jul 20, 2018 at 03:36:41PM -0700, Nick Desaulniers wrote: > native_save_fl() is marked static inline, but by using it as > a function pointer in arch/x86/kernel/paravirt.c, it MUST be outlined. > > paravirt's use of native_save_fl() also requires that no GPRs other than > %rax are

Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread Greg KH
On Fri, Jul 20, 2018 at 03:36:41PM -0700, Nick Desaulniers wrote: > native_save_fl() is marked static inline, but by using it as > a function pointer in arch/x86/kernel/paravirt.c, it MUST be outlined. > > paravirt's use of native_save_fl() also requires that no GPRs other than > %rax are

Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread Greg KH
On Fri, Jul 20, 2018 at 05:06:07PM -0700, Nick Desaulniers wrote: > On Fri, Jul 20, 2018 at 5:04 PM kbuild test robot wrote: > > > > Hi Nick, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on tip/x86/core] >

Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread Greg KH
On Fri, Jul 20, 2018 at 05:06:07PM -0700, Nick Desaulniers wrote: > On Fri, Jul 20, 2018 at 5:04 PM kbuild test robot wrote: > > > > Hi Nick, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on tip/x86/core] >

Does Linux kernel 4.18-rc5 have drivers for IEEE 802.11AC Wave 2 USB Wireless Adapters?

2018-07-20 Thread Turritopsis Dohrnii Teo En Ming
Good morning from Singapore, Does Linux kernel 4.18-rc5 have drivers for IEEE 802.11AC Wave 2 USB Wireless Adapters? I noted that Linux usually has poor support for USB Wireless AC Adapters. Thank you. ===BEGIN SIGNATURE=== Turritopsis Dohrnii Teo En Ming's Academic Qualifications as

Does Linux kernel 4.18-rc5 have drivers for IEEE 802.11AC Wave 2 USB Wireless Adapters?

2018-07-20 Thread Turritopsis Dohrnii Teo En Ming
Good morning from Singapore, Does Linux kernel 4.18-rc5 have drivers for IEEE 802.11AC Wave 2 USB Wireless Adapters? I noted that Linux usually has poor support for USB Wireless AC Adapters. Thank you. ===BEGIN SIGNATURE=== Turritopsis Dohrnii Teo En Ming's Academic Qualifications as

Re: [PATCH] ASoC: da7219: Allow pdata to specify a VDDIO

2018-07-20 Thread kbuild test robot
Hi Daniel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [also build test WARNING on v4.18-rc5 next-20180720] [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

Re: [PATCH] ASoC: da7219: Allow pdata to specify a VDDIO

2018-07-20 Thread kbuild test robot
Hi Daniel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [also build test WARNING on v4.18-rc5 next-20180720] [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

[PATCH] arch/h8300: modify ffs(), fls() etc. functions to return int

2018-07-20 Thread Randy Dunlap
From: Randy Dunlap Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a printk format build warning. This is due to hexagon's ffs() being coded as returning long instead of int. Fix the printk format warning by changing all of hexagon's ffx() and flx() functions to return int

[PATCH] arch/h8300: modify ffs(), fls() etc. functions to return int

2018-07-20 Thread Randy Dunlap
From: Randy Dunlap Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a printk format build warning. This is due to hexagon's ffs() being coded as returning long instead of int. Fix the printk format warning by changing all of hexagon's ffx() and flx() functions to return int

Re: [PATCH] ASoC: da7219: Allow pdata to specify a VDDIO

2018-07-20 Thread kbuild test robot
Hi Daniel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [also build test WARNING on v4.18-rc5 next-20180720] [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

Re: [PATCH] ASoC: da7219: Allow pdata to specify a VDDIO

2018-07-20 Thread kbuild test robot
Hi Daniel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [also build test WARNING on v4.18-rc5 next-20180720] [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

[PATCH] arch/h8300: fix kernel/dma.c build warning

2018-07-20 Thread Randy Dunlap
From: Randy Dunlap Fix build warning in arch/hexagon/kernel/dma.c by casting a void * to unsigned long to match the function parameter type. ../arch/hexagon/kernel/dma.c: In function 'arch_dma_alloc': ../arch/hexagon/kernel/dma.c:51:5: warning: passing argument 2 of 'gen_pool_add' makes

[PATCH] arch/h8300: fix kernel/dma.c build warning

2018-07-20 Thread Randy Dunlap
From: Randy Dunlap Fix build warning in arch/hexagon/kernel/dma.c by casting a void * to unsigned long to match the function parameter type. ../arch/hexagon/kernel/dma.c: In function 'arch_dma_alloc': ../arch/hexagon/kernel/dma.c:51:5: warning: passing argument 2 of 'gen_pool_add' makes

Re: [PATCH v2 08/12] sched/core: uclamp: extend cpu's cgroup controller

2018-07-20 Thread Suren Baghdasaryan
On Fri, Jul 20, 2018 at 7:37 PM, Suren Baghdasaryan wrote: > On Mon, Jul 16, 2018 at 1:29 AM, Patrick Bellasi > wrote: >> The cgroup's CPU controller allows to assign a specified (maximum) >> bandwidth to the tasks of a group. However this bandwidth is defined and >> enforced only on a temporal

Re: [PATCH v2 08/12] sched/core: uclamp: extend cpu's cgroup controller

2018-07-20 Thread Suren Baghdasaryan
On Fri, Jul 20, 2018 at 7:37 PM, Suren Baghdasaryan wrote: > On Mon, Jul 16, 2018 at 1:29 AM, Patrick Bellasi > wrote: >> The cgroup's CPU controller allows to assign a specified (maximum) >> bandwidth to the tasks of a group. However this bandwidth is defined and >> enforced only on a temporal

Re: [PATCH V5 3/3] PCI: Mask and unmask hotplug interrupts during reset

2018-07-20 Thread Sinan Kaya
On 7/20/2018 1:01 PM, Bjorn Helgaas wrote: On Tue, Jul 10, 2018 at 02:30:11PM -0400, Sinan Kaya wrote: On Mon, Jul 9, 2018 at 12:00 PM, Lukas Wunner wrote: On Mon, Jul 09, 2018 at 08:48:44AM -0600, Sinan Kaya wrote: On 7/8/18, Lukas Wunner wrote: On Tue, Jul 03, 2018 at 11:43:26AM -0400,

Re: [PATCH V5 3/3] PCI: Mask and unmask hotplug interrupts during reset

2018-07-20 Thread Sinan Kaya
On 7/20/2018 1:01 PM, Bjorn Helgaas wrote: On Tue, Jul 10, 2018 at 02:30:11PM -0400, Sinan Kaya wrote: On Mon, Jul 9, 2018 at 12:00 PM, Lukas Wunner wrote: On Mon, Jul 09, 2018 at 08:48:44AM -0600, Sinan Kaya wrote: On 7/8/18, Lukas Wunner wrote: On Tue, Jul 03, 2018 at 11:43:26AM -0400,

Re: [patch v4] mm, oom: fix unnecessary killing of additional processes

2018-07-20 Thread Tetsuo Handa
On 2018/07/21 7:13, David Rientjes wrote: >>> mutex_lock(_lock); >>> __oom_reap_task_mm(mm); >>> mutex_unlock(_lock); >> >> I don't like holding oom_lock for full teardown of an mm, for an OOM >> victim's mm >> might have multiple TB memory which could take

Re: [patch v4] mm, oom: fix unnecessary killing of additional processes

2018-07-20 Thread Tetsuo Handa
On 2018/07/21 7:13, David Rientjes wrote: >>> mutex_lock(_lock); >>> __oom_reap_task_mm(mm); >>> mutex_unlock(_lock); >> >> I don't like holding oom_lock for full teardown of an mm, for an OOM >> victim's mm >> might have multiple TB memory which could take

Re: [RFT 00/10] pinctrl: samsung: Remove ugly hack for sharing eint_wakeup_mask

2018-07-20 Thread Tomasz Figa
Hi Krzysztof, 2018年7月20日(金) 1:01 Krzysztof Kozlowski : > > Hi All, > > Tests > = > This is both request for comments and requests for tests. Only basic > tests were done, including suspend to RAM on Odroid U3 (Exynos4412) > with max7768 RTC wakeup. Please kindly test it with devices capable

Re: [RFT 00/10] pinctrl: samsung: Remove ugly hack for sharing eint_wakeup_mask

2018-07-20 Thread Tomasz Figa
Hi Krzysztof, 2018年7月20日(金) 1:01 Krzysztof Kozlowski : > > Hi All, > > Tests > = > This is both request for comments and requests for tests. Only basic > tests were done, including suspend to RAM on Odroid U3 (Exynos4412) > with max7768 RTC wakeup. Please kindly test it with devices capable

Re: [PATCH v2 08/12] sched/core: uclamp: extend cpu's cgroup controller

2018-07-20 Thread Suren Baghdasaryan
On Mon, Jul 16, 2018 at 1:29 AM, Patrick Bellasi wrote: > The cgroup's CPU controller allows to assign a specified (maximum) > bandwidth to the tasks of a group. However this bandwidth is defined and > enforced only on a temporal base, without considering the actual > frequency a CPU is running

Re: [PATCH v2 08/12] sched/core: uclamp: extend cpu's cgroup controller

2018-07-20 Thread Suren Baghdasaryan
On Mon, Jul 16, 2018 at 1:29 AM, Patrick Bellasi wrote: > The cgroup's CPU controller allows to assign a specified (maximum) > bandwidth to the tasks of a group. However this bandwidth is defined and > enforced only on a temporal base, without considering the actual > frequency a CPU is running

[lkp-robot] [confidence: ] e181ae0c5d [ 0.000000] BUG: unable to handle kernel NULL pointer dereference at 00000000

2018-07-20 Thread kernel test robot
for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux e181ae0c5d mm: zero unavailable pages before memmap init 28c20cc73b Merge tag 'drm-fixes-2018-07-20' of git://anongit.freedesktop.org/drm/drm 89cf553533 Add linux-next specifi

[lkp-robot] [confidence: ] e181ae0c5d [ 0.000000] BUG: unable to handle kernel NULL pointer dereference at 00000000

2018-07-20 Thread kernel test robot
for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux e181ae0c5d mm: zero unavailable pages before memmap init 28c20cc73b Merge tag 'drm-fixes-2018-07-20' of git://anongit.freedesktop.org/drm/drm 89cf553533 Add linux-next specifi

[PATCH] tools/lib/api/fs/fs.c: Fix misuse of strncpy()

2018-07-20 Thread Ben Hutchings
gcc 8 reports: In function 'fs__env_override', inlined from 'fs__get_mountpoint' at fs/fs.c:228:6: fs/fs.c:222:2: error: 'strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation] strncpy(fs->path, override_path, sizeof(fs->path));

[PATCH] tools/lib/api/fs/fs.c: Fix misuse of strncpy()

2018-07-20 Thread Ben Hutchings
gcc 8 reports: In function 'fs__env_override', inlined from 'fs__get_mountpoint' at fs/fs.c:228:6: fs/fs.c:222:2: error: 'strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation] strncpy(fs->path, override_path, sizeof(fs->path));

Re: [PATCH] MIPS: Change definition of cpu_relax() for Loongson-3

2018-07-20 Thread 陈华才
Hi, Paul, SFB can improve the memory bandwidth as much as 30%, and we are planning to enable SFB by default. So, we want to control cpu_relax() under CONFIG_CPU_LOONGSON3, not under CONFIG_LOONGSON3_ENHANCEMENT. Huacai -- Original -- From: "Paul Burton";

Re: [PATCH] MIPS: Change definition of cpu_relax() for Loongson-3

2018-07-20 Thread 陈华才
Hi, Paul, SFB can improve the memory bandwidth as much as 30%, and we are planning to enable SFB by default. So, we want to control cpu_relax() under CONFIG_CPU_LOONGSON3, not under CONFIG_LOONGSON3_ENHANCEMENT. Huacai -- Original -- From: "Paul Burton";

Re: [PATCH 4/7] arm64: dts: Add Tegra186 sdmmc pinctrl voltage states

2018-07-20 Thread kbuild test robot
Hi Aapo, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.18-rc5 next-20180720] [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/7] arm64: dts: Add Tegra186 sdmmc pinctrl voltage states

2018-07-20 Thread kbuild test robot
Hi Aapo, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.18-rc5 next-20180720] [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 v2 07/12] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-07-20 Thread Suren Baghdasaryan
Hi Patrick, On Mon, Jul 16, 2018 at 1:29 AM, Patrick Bellasi wrote: > When a util_max clamped task sleeps, its clamp constraints are removed > from the CPU. However, the blocked utilization on that CPU can still be > higher than the max clamp value enforced while that task was running. > This

Re: [PATCH v2 07/12] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-07-20 Thread Suren Baghdasaryan
Hi Patrick, On Mon, Jul 16, 2018 at 1:29 AM, Patrick Bellasi wrote: > When a util_max clamped task sleeps, its clamp constraints are removed > from the CPU. However, the blocked utilization on that CPU can still be > higher than the max clamp value enforced while that task was running. > This

Re: [PATCH] ASoC: da7219: Allow pdata to specify a VDDIO

2018-07-20 Thread kbuild test robot
Hi Daniel, Thank you for the patch! Yet something to improve: [auto build test ERROR on asoc/for-next] [also build test ERROR on v4.18-rc5 next-20180720] [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] ASoC: da7219: Allow pdata to specify a VDDIO

2018-07-20 Thread kbuild test robot
Hi Daniel, Thank you for the patch! Yet something to improve: [auto build test ERROR on asoc/for-next] [also build test ERROR on v4.18-rc5 next-20180720] [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

mmotm 2018-07-20-17-49 uploaded

2018-07-20 Thread akpm
The mm-of-the-moment snapshot 2018-07-20-17-49 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

mmotm 2018-07-20-17-49 uploaded

2018-07-20 Thread akpm
The mm-of-the-moment snapshot 2018-07-20-17-49 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

[PATCH 2/2] Add support for CPCAP regulators on Tegra devices.

2018-07-20 Thread Peter Geis
Added support for the CPCAP power management regulator functions on Tegra devices. Added sw2_sw4 value tables, which provide power to the Tegra core and aux devices. Added the Tegra init tables and device tree compatibility match. Signed-off-by: Peter Geis ---

[PATCH 2/2] Add support for CPCAP regulators on Tegra devices.

2018-07-20 Thread Peter Geis
Added support for the CPCAP power management regulator functions on Tegra devices. Added sw2_sw4 value tables, which provide power to the Tegra core and aux devices. Added the Tegra init tables and device tree compatibility match. Signed-off-by: Peter Geis ---

[PATCH 1/2] Add sw2_sw4 voltage table to cpcap regulator.

2018-07-20 Thread Peter Geis
SW2 and SW4 use a shared table to provide voltage to the cpu core and devices on Tegra hardware. Added this table to the cpcap regulator driver as the first step to supporting this device on Tegra. Signed-off-by: Peter Geis --- drivers/regulator/cpcap-regulator.c | 23 +++

[PATCH 1/2] Add sw2_sw4 voltage table to cpcap regulator.

2018-07-20 Thread Peter Geis
SW2 and SW4 use a shared table to provide voltage to the cpu core and devices on Tegra hardware. Added this table to the cpcap regulator driver as the first step to supporting this device on Tegra. Signed-off-by: Peter Geis --- drivers/regulator/cpcap-regulator.c | 23 +++

[PATCH 0/2] Add support for cpcap regulators on Tegra devices.

2018-07-20 Thread Peter Geis
Good Evening, The CPCAP regulator driver can support various devices, but currently only supports Omap4 devices. Adds the sw2 and sw4 voltage tables, which power the Tegra core, and a DT match for the Tegra device. Tested on the Motorola Xoom MZ602. Peter Geis (2): Add sw2_sw4 voltage

[PATCH 0/2] Add support for cpcap regulators on Tegra devices.

2018-07-20 Thread Peter Geis
Good Evening, The CPCAP regulator driver can support various devices, but currently only supports Omap4 devices. Adds the sw2 and sw4 voltage tables, which power the Tegra core, and a DT match for the Tegra device. Tested on the Motorola Xoom MZ602. Peter Geis (2): Add sw2_sw4 voltage

Re: [PATCH v2 02/12] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-07-20 Thread Suren Baghdasaryan
Hi Patrick, On Fri, Jul 20, 2018 at 8:11 AM, Patrick Bellasi wrote: > Hi Suren, > thanks for the review, all good point... some more comments follow > inline. > > On 19-Jul 16:51, Suren Baghdasaryan wrote: >> On Mon, Jul 16, 2018 at 1:28 AM, Patrick Bellasi >> wrote: > > [...] > >> > +/** >> >

Re: [PATCH v2 02/12] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-07-20 Thread Suren Baghdasaryan
Hi Patrick, On Fri, Jul 20, 2018 at 8:11 AM, Patrick Bellasi wrote: > Hi Suren, > thanks for the review, all good point... some more comments follow > inline. > > On 19-Jul 16:51, Suren Baghdasaryan wrote: >> On Mon, Jul 16, 2018 at 1:28 AM, Patrick Bellasi >> wrote: > > [...] > >> > +/** >> >

Re: [PATCH -next 0/2] fs/epoll: loosen irq safety when possible

2018-07-20 Thread Davidlohr Bueso
On Fri, 20 Jul 2018, Andrew Morton wrote: Did you try measuring it on bare hardware? I did and wasn't expecting much difference. For a 2-socket 40-core (ht) IvyBridge on a few workloads, unfortunately I don't have a xen environment and the results for Xen I do have (which numbers are in

Re: [PATCH -next 0/2] fs/epoll: loosen irq safety when possible

2018-07-20 Thread Davidlohr Bueso
On Fri, 20 Jul 2018, Andrew Morton wrote: Did you try measuring it on bare hardware? I did and wasn't expecting much difference. For a 2-socket 40-core (ht) IvyBridge on a few workloads, unfortunately I don't have a xen environment and the results for Xen I do have (which numbers are in

Re: [PATCH 3/7] arm64: dts: Add Tegra210 sdmmc pinctrl voltage states

2018-07-20 Thread kbuild test robot
Hi Aapo, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.18-rc5 next-20180720] [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 3/7] arm64: dts: Add Tegra210 sdmmc pinctrl voltage states

2018-07-20 Thread kbuild test robot
Hi Aapo, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.18-rc5 next-20180720] [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

[PATCH] ASoC: da7219: Allow pdata to specify a VDDIO

2018-07-20 Thread Daniel Kurtz
Some systems do not have software controllable regulators driving the DA7219's supplies, nor can they use device tree to create "always-on fixed regulators" to easily pretend like they do. On these systems the call to devm_regulator_bulk_get() just creates a set of dummy registers. Calling

[PATCH] ASoC: da7219: Allow pdata to specify a VDDIO

2018-07-20 Thread Daniel Kurtz
Some systems do not have software controllable regulators driving the DA7219's supplies, nor can they use device tree to create "always-on fixed regulators" to easily pretend like they do. On these systems the call to devm_regulator_bulk_get() just creates a set of dummy registers. Calling

Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread Nick Desaulniers
On Fri, Jul 20, 2018 at 5:04 PM kbuild test robot wrote: > > Hi Nick, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on tip/x86/core] > [cannot apply to v4.18-rc5 next-20180720] > [if your patch is applied to the wrong git tree, please d

Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread Nick Desaulniers
On Fri, Jul 20, 2018 at 5:04 PM kbuild test robot wrote: > > Hi Nick, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on tip/x86/core] > [cannot apply to v4.18-rc5 next-20180720] > [if your patch is applied to the wrong git tree, please d

Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread kbuild test robot
Hi Nick, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/x86/core] [cannot apply to v4.18-rc5 next-20180720] [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

Re: [4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread kbuild test robot
Hi Nick, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/x86/core] [cannot apply to v4.18-rc5 next-20180720] [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

Re: [PATCH] mm: thp: remove use_zero_page sysfs knob

2018-07-20 Thread Yang Shi
On 7/20/18 2:06 PM, Kirill A. Shutemov wrote: On Sat, Jul 21, 2018 at 02:13:50AM +0800, Yang Shi wrote: By digging into the original review, it looks use_zero_page sysfs knob was added to help ease-of-testing and give user a way to mitigate refcounting overhead. It has been a few years

Re: [PATCH] mm: thp: remove use_zero_page sysfs knob

2018-07-20 Thread Yang Shi
On 7/20/18 2:06 PM, Kirill A. Shutemov wrote: On Sat, Jul 21, 2018 at 02:13:50AM +0800, Yang Shi wrote: By digging into the original review, it looks use_zero_page sysfs knob was added to help ease-of-testing and give user a way to mitigate refcounting overhead. It has been a few years

Re: [PATCH] mm: thp: remove use_zero_page sysfs knob

2018-07-20 Thread Yang Shi
On 7/20/18 2:05 PM, David Rientjes wrote: On Fri, 20 Jul 2018, Yang Shi wrote: We disable the huge zero page through this interface, there were issues related to the huge zero page shrinker (probably best to never free a per-node huge zero page after allocated) and CVE-2017-1000405 for huge

Re: [PATCH] mm: thp: remove use_zero_page sysfs knob

2018-07-20 Thread Yang Shi
On 7/20/18 2:05 PM, David Rientjes wrote: On Fri, 20 Jul 2018, Yang Shi wrote: We disable the huge zero page through this interface, there were issues related to the huge zero page shrinker (probably best to never free a per-node huge zero page after allocated) and CVE-2017-1000405 for huge

Re: [RFC][PATCH 07/11] signal: Deliver group signals via PIDTYPE_TGID not PIDTYPE_PID

2018-07-20 Thread Eric W. Biederman
Oleg Nesterov writes: > On 07/17, Oleg Nesterov wrote: >> >> And, I didn't mention this yesterday, but probably the next 08/11 patch can >> have the same problem. But this is a bit more complicated because >> send_sigio() >> uses the same "type" both for do_each_pid_task() and as an argument

Re: [RFC][PATCH 07/11] signal: Deliver group signals via PIDTYPE_TGID not PIDTYPE_PID

2018-07-20 Thread Eric W. Biederman
Oleg Nesterov writes: > On 07/17, Oleg Nesterov wrote: >> >> And, I didn't mention this yesterday, but probably the next 08/11 patch can >> have the same problem. But this is a bit more complicated because >> send_sigio() >> uses the same "type" both for do_each_pid_task() and as an argument

Re: [PATCH V2] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-07-20 Thread kbuild test robot
Hi Girish, Thank you for the patch! Yet something to improve: [auto build test ERROR on spi/for-next] [also build test ERROR on v4.18-rc5 next-20180720] [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 V2] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-07-20 Thread kbuild test robot
Hi Girish, Thank you for the patch! Yet something to improve: [auto build test ERROR on spi/for-next] [also build test ERROR on v4.18-rc5 next-20180720] [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 2/2] pinctrl/amd: use byte access to clear irq/wake status bits

2018-07-20 Thread Daniel Kurtz
Hi Daniel, On Tue, Jul 17, 2018 at 6:30 AM Daniel Drake wrote: > > On Mon, Jul 16, 2018 at 7:57 PM, Daniel Kurtz wrote: > > Commit 6afb10267c1692 ("pinctrl/amd: fix masking of GPIO interrupts") > > changed to the clearing of interrupt status bits to a RMW in a critical > > section. This works,

Re: [PATCH 2/2] pinctrl/amd: use byte access to clear irq/wake status bits

2018-07-20 Thread Daniel Kurtz
Hi Daniel, On Tue, Jul 17, 2018 at 6:30 AM Daniel Drake wrote: > > On Mon, Jul 16, 2018 at 7:57 PM, Daniel Kurtz wrote: > > Commit 6afb10267c1692 ("pinctrl/amd: fix masking of GPIO interrupts") > > changed to the clearing of interrupt status bits to a RMW in a critical > > section. This works,

Re: [PATCH V2] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-07-20 Thread Doug Anderson
Hi, On Fri, Jul 20, 2018 at 3:53 PM, Doug Anderson wrote: >> + mas->oversampling = 1; >> + /* Transmit an entire FIFO worth of data per IRQ */ >> + mas->tx_wm = 1; >> + geni_se_get_wrapper_version(se, major, minor, step); > > In v1 Stephen

Re: [PATCH V2] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-07-20 Thread Doug Anderson
Hi, On Fri, Jul 20, 2018 at 3:53 PM, Doug Anderson wrote: >> + mas->oversampling = 1; >> + /* Transmit an entire FIFO worth of data per IRQ */ >> + mas->tx_wm = 1; >> + geni_se_get_wrapper_version(se, major, minor, step); > > In v1 Stephen

Re: RCU nocb list not reclaiming causing OOM

2018-07-20 Thread Paul E. McKenney
On Fri, Jul 20, 2018 at 11:05:52PM +, David Chen wrote: > Hi Paul, > > We hit an RCU issue on 4.9.37 kernel. One of the nocb_follower list grows too > large, and not getting reclaimed, causing the system to OOM. > > Printing the culprit rcu_sched_data: > > nocb_q_count = { > counter =

Re: RCU nocb list not reclaiming causing OOM

2018-07-20 Thread Paul E. McKenney
On Fri, Jul 20, 2018 at 11:05:52PM +, David Chen wrote: > Hi Paul, > > We hit an RCU issue on 4.9.37 kernel. One of the nocb_follower list grows too > large, and not getting reclaimed, causing the system to OOM. > > Printing the culprit rcu_sched_data: > > nocb_q_count = { > counter =

Re: [RFC][PATCH 07/11] signal: Deliver group signals via PIDTYPE_TGID not PIDTYPE_PID

2018-07-20 Thread Eric W. Biederman
Linus Torvalds writes: > On Mon, Jul 16, 2018 at 7:50 AM Eric W. Biederman > wrote: >> >> In practice since glibc does not make thread id's available I don't >> expect anyone relies on this behavior. Since no one relies on it we >> can change it without creating a regression. > > Actually,

Re: [RFC][PATCH 07/11] signal: Deliver group signals via PIDTYPE_TGID not PIDTYPE_PID

2018-07-20 Thread Eric W. Biederman
Linus Torvalds writes: > On Mon, Jul 16, 2018 at 7:50 AM Eric W. Biederman > wrote: >> >> In practice since glibc does not make thread id's available I don't >> expect anyone relies on this behavior. Since no one relies on it we >> can change it without creating a regression. > > Actually,

RCU nocb list not reclaiming causing OOM

2018-07-20 Thread David Chen
Hi Paul, We hit an RCU issue on 4.9.37 kernel. One of the nocb_follower list grows too large, and not getting reclaimed, causing the system to OOM. Printing the culprit rcu_sched_data: nocb_q_count = { counter = 32369635 }, nocb_follower_head = 0x88ae901c0a00, nocb_follower_tail

RCU nocb list not reclaiming causing OOM

2018-07-20 Thread David Chen
Hi Paul, We hit an RCU issue on 4.9.37 kernel. One of the nocb_follower list grows too large, and not getting reclaimed, causing the system to OOM. Printing the culprit rcu_sched_data: nocb_q_count = { counter = 32369635 }, nocb_follower_head = 0x88ae901c0a00, nocb_follower_tail

Re: [PATCH] mm: adjust max read count in generic_file_buffered_read()

2018-07-20 Thread Andrew Morton
On Thu, 19 Jul 2018 10:58:12 +0200 Jan Kara wrote: > On Thu 19-07-18 16:17:26, Chengguang Xu wrote: > > When we try to truncate read count in generic_file_buffered_read(), > > should deliver (sb->s_maxbytes - offset) as maximum count not > > sb->s_maxbytes itself. > > > > Signed-off-by:

Re: [PATCH] mm: adjust max read count in generic_file_buffered_read()

2018-07-20 Thread Andrew Morton
On Thu, 19 Jul 2018 10:58:12 +0200 Jan Kara wrote: > On Thu 19-07-18 16:17:26, Chengguang Xu wrote: > > When we try to truncate read count in generic_file_buffered_read(), > > should deliver (sb->s_maxbytes - offset) as maximum count not > > sb->s_maxbytes itself. > > > > Signed-off-by:

Re: [PATCH V2] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-07-20 Thread Doug Anderson
>Hi, On Fri, Jul 20, 2018 at 4:50 AM, Dilip Kota wrote: > From: Girish Mahadevan > > This driver supports GENI based SPI Controller in the Qualcomm SOCs. The > Qualcomm Generic Interface (GENI) is a programmable module supporting a > wide range of serial interfaces including SPI. This driver

Re: [PATCH V2] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-07-20 Thread Doug Anderson
>Hi, On Fri, Jul 20, 2018 at 4:50 AM, Dilip Kota wrote: > From: Girish Mahadevan > > This driver supports GENI based SPI Controller in the Qualcomm SOCs. The > Qualcomm Generic Interface (GENI) is a programmable module supporting a > wide range of serial interfaces including SPI. This driver

Re: [PATCH V2] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-07-20 Thread kbuild test robot
Hi Girish, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on spi/for-next] [also build test WARNING on v4.18-rc5 next-20180720] [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

Re: [PATCH V2] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-07-20 Thread kbuild test robot
Hi Girish, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on spi/for-next] [also build test WARNING on v4.18-rc5 next-20180720] [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

Re: [PATCH] mips: mm: Discard ioremap_cacheable_cow() method

2018-07-20 Thread Paul Burton
Hi Serge, On Fri, Jul 20, 2018 at 11:14:27PM +0300, Serge Semin wrote: > This macro substitution is the shortcut to map cacheable IO memory > with coherent and write-back attributes. Since it is entirely unused > by kernel, lets just remove it. > > Signed-off-by: Serge Semin > Suggested-by:

Re: [PATCH] mips: mm: Discard ioremap_cacheable_cow() method

2018-07-20 Thread Paul Burton
Hi Serge, On Fri, Jul 20, 2018 at 11:14:27PM +0300, Serge Semin wrote: > This macro substitution is the shortcut to map cacheable IO memory > with coherent and write-back attributes. Since it is entirely unused > by kernel, lets just remove it. > > Signed-off-by: Serge Semin > Suggested-by:

Re: [PATCH v3 0/3] i2c: at91: slave mode support

2018-07-20 Thread Wolfram Sang
> [Ludovic Desroches] > Changes in v3: > - rebase (cherry-pick was enough) Thanks for the rebase. I wonder, though, I recall to had more complicated issues. However... > - fix checkpatch errors > - tests: >- hangs with a SAMA5D4 (master and slave on different busses) after about >100

Re: [PATCH v3 0/3] i2c: at91: slave mode support

2018-07-20 Thread Wolfram Sang
> [Ludovic Desroches] > Changes in v3: > - rebase (cherry-pick was enough) Thanks for the rebase. I wonder, though, I recall to had more complicated issues. However... > - fix checkpatch errors > - tests: >- hangs with a SAMA5D4 (master and slave on different busses) after about >100

[4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread Nick Desaulniers
native_save_fl() is marked static inline, but by using it as a function pointer in arch/x86/kernel/paravirt.c, it MUST be outlined. paravirt's use of native_save_fl() also requires that no GPRs other than %rax are clobbered. Compilers have different heuristics which they use to emit stack guard

[4.4 STABLE BACKPORT] x86: paravirt: make native_save_fl extern inline

2018-07-20 Thread Nick Desaulniers
native_save_fl() is marked static inline, but by using it as a function pointer in arch/x86/kernel/paravirt.c, it MUST be outlined. paravirt's use of native_save_fl() also requires that no GPRs other than %rax are clobbered. Compilers have different heuristics which they use to emit stack guard

Re: [PATCH] i2c: aspeed: Adjust spinlock scope in the irq handler

2018-07-20 Thread Wolfram Sang
On Mon, Jul 02, 2018 at 02:40:11PM -0700, Jae Hyun Yoo wrote: > This patch adjusts spinlock scope to make it wrap the whole irq > handler using a single lock/unlock which covers both master and > slave handlers. > > Signed-off-by: Jae Hyun Yoo Applied to for-next, thanks! Not related to these

Re: [PATCH] i2c: aspeed: Adjust spinlock scope in the irq handler

2018-07-20 Thread Wolfram Sang
On Mon, Jul 02, 2018 at 02:40:11PM -0700, Jae Hyun Yoo wrote: > This patch adjusts spinlock scope to make it wrap the whole irq > handler using a single lock/unlock which covers both master and > slave handlers. > > Signed-off-by: Jae Hyun Yoo Applied to for-next, thanks! Not related to these

RFC on OTi-2108 USB Data Link cable driver implementation

2018-07-20 Thread Urja Rannikko
Hi, This device presents itself as an USB CD Drive, and extends that "metaphor" (kinda) to how it transfers data (= ethernet frames in our case) between hosts. That is one SCSI vendor command (0xD8) over bulk-only mass-storage is used to poll whether data is available and another one (0xD9) is

RFC on OTi-2108 USB Data Link cable driver implementation

2018-07-20 Thread Urja Rannikko
Hi, This device presents itself as an USB CD Drive, and extends that "metaphor" (kinda) to how it transfers data (= ethernet frames in our case) between hosts. That is one SCSI vendor command (0xD8) over bulk-only mass-storage is used to poll whether data is available and another one (0xD9) is

Re: [RFC] x86, tsc: Add kcmdline args for skipping tsc calibration sequences

2018-07-20 Thread patrickg
Sorry for the delay. Expect another large delay if you have any questions. I'm pretty heavily context switching. I wanted to double check to make sure that I wasn't mis-documenting and mis-remembering things. On 07/13/2018 07:40 PM, Brown, Len wrote: > We disabled CPUID-based TSC calibration

Re: [RFC] x86, tsc: Add kcmdline args for skipping tsc calibration sequences

2018-07-20 Thread patrickg
Sorry for the delay. Expect another large delay if you have any questions. I'm pretty heavily context switching. I wanted to double check to make sure that I wasn't mis-documenting and mis-remembering things. On 07/13/2018 07:40 PM, Brown, Len wrote: > We disabled CPUID-based TSC calibration

Re: [PATCH] i2c: aspeed: Add newline characters into message printings.

2018-07-20 Thread Wolfram Sang
On Mon, Jul 02, 2018 at 02:13:59PM -0700, Jae Hyun Yoo wrote: > There are some log printing without a newline character. This > patch adds the missing newline characters. > > Signed-off-by: Jae Hyun Yoo Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH] i2c: aspeed: Add newline characters into message printings.

2018-07-20 Thread Wolfram Sang
On Mon, Jul 02, 2018 at 02:13:59PM -0700, Jae Hyun Yoo wrote: > There are some log printing without a newline character. This > patch adds the missing newline characters. > > Signed-off-by: Jae Hyun Yoo Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH] i2c: aspeed: Fix initial values of master and slave state

2018-07-20 Thread Wolfram Sang
On Mon, Jul 02, 2018 at 02:20:28PM -0700, Jae Hyun Yoo wrote: > This patch changes the order of enum aspeed_i2c_master_state and > enum aspeed_i2c_slave_state defines to make their initial value to > ASPEED_I2C_MASTER_INACTIVE and ASPEED_I2C_SLAVE_STOP respectively. > In case of multi-master use,

Re: [PATCH] i2c: aspeed: Fix initial values of master and slave state

2018-07-20 Thread Wolfram Sang
On Mon, Jul 02, 2018 at 02:20:28PM -0700, Jae Hyun Yoo wrote: > This patch changes the order of enum aspeed_i2c_master_state and > enum aspeed_i2c_slave_state defines to make their initial value to > ASPEED_I2C_MASTER_INACTIVE and ASPEED_I2C_SLAVE_STOP respectively. > In case of multi-master use,

Re: [PATCH 1/3] perf/core: Make sure the ring-buffer is mapped in all page-tables

2018-07-20 Thread Andy Lutomirski
> On Jul 20, 2018, at 11:37 AM, Joerg Roedel wrote: > >> On Fri, Jul 20, 2018 at 12:32:10PM -0700, Andy Lutomirski wrote: >> I'm just reading your changelog, and you said the PMDs are no longer >> shared between the page tables. So this presumably means that >> vmalloc_fault() no longer

Re: [PATCH 1/3] perf/core: Make sure the ring-buffer is mapped in all page-tables

2018-07-20 Thread Andy Lutomirski
> On Jul 20, 2018, at 11:37 AM, Joerg Roedel wrote: > >> On Fri, Jul 20, 2018 at 12:32:10PM -0700, Andy Lutomirski wrote: >> I'm just reading your changelog, and you said the PMDs are no longer >> shared between the page tables. So this presumably means that >> vmalloc_fault() no longer

Re: [patch v3] mm, oom: fix unnecessary killing of additional processes

2018-07-20 Thread David Rientjes
On Sat, 21 Jul 2018, Tetsuo Handa wrote: > Why [PATCH 2/2] in https://marc.info/?l=linux-mm=153119509215026=4 does > not > solve your problem? > Such an invasive patch, and completely rewrites the oom reaper. I now fully understand your frustration with the cgroup aware oom killer being

Re: [patch v3] mm, oom: fix unnecessary killing of additional processes

2018-07-20 Thread David Rientjes
On Sat, 21 Jul 2018, Tetsuo Handa wrote: > Why [PATCH 2/2] in https://marc.info/?l=linux-mm=153119509215026=4 does > not > solve your problem? > Such an invasive patch, and completely rewrites the oom reaper. I now fully understand your frustration with the cgroup aware oom killer being

  1   2   3   4   5   6   7   8   9   10   >