Re: [PATCH v2 10/10] staging:rtl8192u: Rename TClasNum > t_clas_num - Style

2018-07-20 Thread Greg KH
On Mon, Jul 16, 2018 at 08:04:54PM +0100, John Whitmore wrote: > Rename the struct TS_COMMON_INFO member variable TClasNum to t_clas_num. This > change clears the checkpatch issue with CamelCase naming. There should be no > impact on runtime execution. > > Signed-off-by: John Whitmore > --- > dr

Re: [PATCH v4 08/35] mtd: rawnand: gpmi: convert driver to nand_scan()

2018-07-20 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:15:00 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

Re: [PATCH v4 07/35] mtd: rawnand: fsmc: convert driver to nand_scan()

2018-07-20 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:14:59 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

Re: [PATCH] Staging: pi433: rf69: fixed a multi line comment issue

2018-07-20 Thread Greg KH
On Thu, Jul 19, 2018 at 10:43:18PM +0100, Mark Railton wrote: > Fixed a coding style issue > > Signed-off-by: Mark Railton > --- > drivers/staging/pi433/rf69.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c

Re: [PATCH v4 06/35] mtd: rawnand: fsl_ifc: convert driver to nand_scan()

2018-07-20 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:14:58 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

Re: [PATCH 00/20 v4] staging: gasket: sundry fixes and fixups

2018-07-20 Thread Greg Kroah-Hartman
On Thu, Jul 19, 2018 at 08:49:00PM -0700, Todd Poynor wrote: > From: Todd Poynor > > Various fixes mainly from the chromium review of the gasket and apex > drivers. More to come. Thanks for sticking with this. Looks good, all now applied. greg k-h

Re: [PATCH v4 05/35] mtd: rawnand: fsl_elbc: convert driver to nand_scan()

2018-07-20 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:14:57 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

Re: [PATCH 02/20] staging: gasket: gasket_enable_dev remove unnecessary variable

2018-07-20 Thread Greg Kroah-Hartman
On Thu, Jul 19, 2018 at 08:49:02PM -0700, Todd Poynor wrote: > From: Todd Poynor > > Remove unnecessary variable, pass constant param instead. > > Reported-by: Dmitry Torokhov > Signed-off-by: Zhongze Hu > Signed-off-by: Todd Poynor > --- > drivers/staging/gasket/gasket_core.c | 5 + > 1

[PATCH] NTB: fix debugfs_simple_attr.cocci warnings

2018-07-20 Thread Julia Lawall
From: kbuild test robot Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE for debugfs files. Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() imposes some significant overhead as compared to DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe(). Generated by: scr

Re: [PATCH v4 04/35] mtd: rawnand: denali: convert to nand_scan()

2018-07-20 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:14:56 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

Re: [PATCH v4 03/35] mtd: rawnand: davinci: convert driver to nand_scan()

2018-07-20 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:14:55 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

Re: [PATCH] uio: add SPDX license tag

2018-07-20 Thread Greg KH
On Fri, Jul 20, 2018 at 03:11:26PM -0700, Stephen Hemminger wrote: > Replace short statement in comment with proper SPDX > license tag. > > Signed-off-by: Stephen Hemminger > --- > drivers/uio/uio.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Thanks for this, care to fix up all of

Re: [PATCH v4 02/35] mtd: rawnand: cafe: convert driver to nand_scan()

2018-07-20 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:14:54 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

Re: [PATCH v4 01/35] mtd: rawnand: brcmnand: convert driver to nand_scan()

2018-07-20 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:14:53 +0200 Miquel Raynal wrote: > Two helpers have been added to the core to make ECC-related > configuration between the detection phase and the final NAND scan. Use > these hooks and convert the driver to just use nand_scan() instead of > both nand_scan_ident() and nand_

Re: [GIT PULL] extcon next for v4.19

2018-07-20 Thread Greg KH
On Thu, Jul 19, 2018 at 09:17:04AM +0900, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-next pull request for v4.19. I add detailed description of > this pull request on below. Please pull extcon with following updates. > > Best Regards, > Chanwoo Choi > > > The following changes since co

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

2018-07-20 Thread Sinan Kaya
On 7/20/2018 7:58 PM, Sinan Kaya wrote: We need to figure out how to gracefully return inside hotplug driver if link down happened and there is an error pending. How about adding the following into the hotplug ISR? 1. check if firmware first is disabled 2. check if there is a fatal error pendi

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 clobbere

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 a

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 ins

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 integer

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 b

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, Si

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(&oom_lock); >>> __oom_reap_task_mm(mm); >>> mutex_unlock(&oom_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 t

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 of

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 on

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

2018-07-20 Thread kernel test robot
;i2c/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 Ad

[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"; Date

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 max

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 wi

[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 --- .../bindings/regulator/cpcap-regul

[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 +++ 1

[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 table

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 patch

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 regula

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: [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 since

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 pas

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 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 s

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, the

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: Chenggua

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 sup

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: Chri

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 t

[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 c

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 p

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 use

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: 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, i

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 actual

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&m=153119509215026&w=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] i2c: exynos5: Describe the hardware variant for readability

2018-07-20 Thread Wolfram Sang
On Wed, Jul 18, 2018 at 09:54:04PM +0200, Krzysztof Kozlowski wrote: > The driver supports multiple hardware variants of Exynos I2C controller > which differ in FIFO depth, handling of interrupts and bus recovery in > HSI2C_MASTER_ST_LOSE state. > > The difference in variant was a single bit set f

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

2018-07-20 Thread David Rientjes
On Sat, 21 Jul 2018, Tetsuo Handa wrote: > > diff --git a/mm/mmap.c b/mm/mmap.c > > --- a/mm/mmap.c > > +++ b/mm/mmap.c > > @@ -3066,25 +3066,27 @@ void exit_mmap(struct mm_struct *mm) > > if (unlikely(mm_is_oom_victim(mm))) { > > /* > > * Manually reap the mm to free

Re: [RFC PATCH ghak90 (was ghak32) V3 05/10] audit: add containerid support for tty_audit

2018-07-20 Thread Paul Moore
On Wed, Jun 6, 2018 at 1:04 PM Richard Guy Briggs wrote: > Add audit container identifier auxiliary record to tty logging rule > event standalone records. > > Signed-off-by: Richard Guy Briggs > --- > drivers/tty/tty_audit.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --

[PATCH] uio: add SPDX license tag

2018-07-20 Thread Stephen Hemminger
Replace short statement in comment with proper SPDX license tag. Signed-off-by: Stephen Hemminger --- drivers/uio/uio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index 5d421d7e8904..f63967c8e95a 100644 --- a/drivers/uio/uio.c +++

Re: [PATCH v12 0/8] i2c: Add FSI-attached I2C master algorithm

2018-07-20 Thread Wolfram Sang
On Tue, Jul 17, 2018 at 10:30:58AM -0500, Eddie James wrote: > This series adds an algorithm for an I2C master physically located on an FSI > slave device. The I2C master has multiple ports, each of which may be > connected > to an I2C slave. Access to the I2C master registers is achieved over FSI

[PATCH v1 08/10] Input: atmel_mxt_ts - don't report zero pressure from T9

2018-07-20 Thread Nick Dyer
From: Nick Dyer If T9.CTRL DISAMP is set, then pressure is reported as zero. This means some app layers (eg tslib) will ignore the contact. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/input/touchscreen/at

[PATCH v1 04/10] Input: atmel_mxt_ts - remove unnecessary debug on ENOMEM

2018-07-20 Thread Nick Dyer
From: Nick Dyer Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index dcafb812ee7e..92661aa910ae 100644 --- a/dr

[PATCH v1 09/10] Input: atmel_mxt_ts - tool type is ignored when slot is closed

2018-07-20 Thread Nick Dyer
From: Nick Dyer input_mt_report_slot_state() ignores the tool when the slot is closed. Remove the tool type from these function calls, which has caused a bit of confusion. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deleti

[PATCH v1 07/10] Input: atmel_mxt_ts - zero terminate config firmware file

2018-07-20 Thread Nick Dyer
From: Nick Dyer We use sscanf to parse the configuration file, so it's necessary to zero terminate the configuration otherwise a truncated file can cause the parser to run off into uninitialised memory. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 36

[PATCH v1 10/10] Input: atmel_mxt_ts - move completion to after config crc is updated

2018-07-20 Thread Nick Dyer
From: Nick Dyer Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index c31af790ef84..9f296a66c94e 100644 --- a/driver

[PATCH v1 06/10] Input: atmel_mxt_ts - refactor config update code to add context struct

2018-07-20 Thread Nick Dyer
From: Nick Dyer Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 108 --- 1 file changed, 56 insertions(+), 52 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 560d4997ef8c..0ce126e91

[PATCH v1 03/10] Input: atmel_mxt_ts - remove duplicate setup of ABS_MT_PRESSURE

2018-07-20 Thread Nick Dyer
From: Nick Dyer Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 9555947a2d46..dcafb812ee7e 100644 --- a/drivers/input/touchsc

[PATCH v1 01/10] Input: atmel_mxt_ts - only use first T9 instance

2018-07-20 Thread Nick Dyer
From: Nick Dyer The driver only registers one input device, which uses the screen parameters from the first T9 instance. The first T63 instance also uses those parameters. It is incorrect to send input reports from the second instances of these objects if they are enabled: the input scaling will

[PATCH v1 02/10] Input: atmel_mxt_ts - use BIT() macro everywhere

2018-07-20 Thread Nick Dyer
From: Nick Dyer Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 36 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 48c5ccab00a0..9555947a2

[PATCH v1 05/10] Input: atmel_mxt_ts - config CRC may start at T71

2018-07-20 Thread Nick Dyer
From: Nick Dyer On devices with the T71 object, the config CRC will start there, rather than at T7. Signed-off-by: Nick Dyer --- drivers/input/touchscreen/atmel_mxt_ts.c | 34 +++- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/drivers/input/touchscreen/atm

Re: [PATCH 3/3] x86/entry/32: Copy only ptregs on paranoid entry/exit path

2018-07-20 Thread Joerg Roedel
[ Re-sending because I accidentially replied only to Andy ] On Fri, Jul 20, 2018 at 10:09:26AM -0700, Andy Lutomirski wrote: > Can you give an example of the exact scenario in which any of this > copying happens and why it's needed? IMO you should just be able to > *run* on the entry stack withou

[PATCHv3 2/2] arm64: Add support for STACKLEAK gcc plugin

2018-07-20 Thread Laura Abbott
This adds support for the STACKLEAK gcc plugin to arm64 by implementing stackleak_check_alloca(), based heavily on the x86 version, and adding the two helpers used by the stackleak common code: current_top_of_stack() and on_thread_stack(). The stack erasure calls are made at syscall returns. Addi

[PATCHv3 1/2] arm64: Add stack information to on_accessible_stack

2018-07-20 Thread Laura Abbott
In preparation for enabling the stackleak plugin on arm64, we need a way to get the bounds of the current stack. Extend on_accessible_stack to get this information. Reviewed-by: Mark Rutland Signed-off-by: Laura Abbott --- v3: Switched some logic to reduce if nesting --- arch/arm64/include/as

[PATCHv3 0/2] Stackleak for arm64

2018-07-20 Thread Laura Abbott
Hi, This is the version of stackleak for arm64, hopefully ready for queueing Laura Abbott (2): arm64: Add stack information to on_accessible_stack arm64: Add support for STACKLEAK gcc plugin arch/arm64/Kconfig| 1 + arch/arm64/include/asm/processor.h| 15 ++ arc

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

2018-07-20 Thread Joerg Roedel
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 actually works correctly on PTI systems. I > didn't read the code to

Re: Kernel 4.17.4 lockup

2018-07-20 Thread Andy Lutomirski
> On Jul 16, 2018, at 6:05 AM, H.J. Lu wrote: > >> On Fri, Jul 13, 2018 at 7:08 PM, Andy Lutomirski wrote: >> I'm not at all convinced that this is the problem, but the series here >> will give a better diagnostic if the issue really is an IRQ stack >> overflow: >> >> https://git.kernel.org/p

[PATCH v4] iio: chemical: Add support for Bosch BME680 sensor

2018-07-20 Thread Himanshu Jha
Bosch BME680 is a 4-in-1 sensor with temperature, pressure, humidity and gas sensing capability. It supports both I2C and SPI communication protocol for effective data communication. The device supports two modes: 1. Sleep mode 2. Forced mode The measurements only takes place when forced mode is

[PATCH] MAINTAINERS: Update Ampere email address

2018-07-20 Thread Khuong Dinh
This patch updates all APM email addresses to Ampere new email addresses. Signed-off-by: Khuong Dinh --- MAINTAINERS | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5917247..1f28433 100644 --- a/MAINTAINERS +++ b/MAINTA

Re: [PATCH V2] 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: > This patch series adds SPI driver support for GENI based QUP. > Also adding the device tree binding document for reference > as per reviewers request which was merged in Linus tree. > > Girish Mahadevan (1): > spi: spi-geni-qcom: Add SPI

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

2018-07-20 Thread Kirill A. Shutemov
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 since the knob was added at the first place, I

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

2018-07-20 Thread David Rientjes
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 > > dirty COW. > > Thanks for the i

we provide editing

2018-07-20 Thread Scott
Hi, We provide image editing services like - photo cut out; photo clipping path; photo masking; photo shadow creation; photo color correction; photo retouching; beauty model retouching on skin, face, body; glamour retouching; products retouching and other image editing. We are also offering to d

we provide editing

2018-07-20 Thread Scott
Hi, We provide image editing services like - photo cut out; photo clipping path; photo masking; photo shadow creation; photo color correction; photo retouching; beauty model retouching on skin, face, body; glamour retouching; products retouching and other image editing. We are also offering to d

Re: 4.18-rc* regression: x86-32 troubles (with timers?)

2018-07-20 Thread Meelis Roos
> > > Everything below here is is 'bad', which can be an indication that you > > > misclassified one of > > > the commits above as 'good' when it should have been 'bad'. The most > > > likely > > > explanations are that you either typed the 'git bisect good' by accident, > > > or > > > that the f

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

2018-07-20 Thread Tetsuo Handa
On 2018/07/21 5:19, David Rientjes wrote: > On Fri, 20 Jul 2018, Tetsuo Handa wrote: > >>> Absent oom_lock serialization, this is exactly working as intended. You >>> could argue that once the thread has reached exit_mmap() and begins oom >>> reaping that it should be allowed to finish before t

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

2018-07-20 Thread Andrew Morton
On Fri, 20 Jul 2018 13:05:59 -0700 Davidlohr Bueso wrote: > On Fri, 20 Jul 2018, Andrew Morton wrote: > > >On Fri, 20 Jul 2018 10:29:54 -0700 Davidlohr Bueso wrote: > > > >> Hi, > >> > >> Both patches replace saving+restoring interrupts when taking the > >> ep->lock (now the waitqueue lock), wi

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

2018-07-20 Thread Tetsuo Handa
On 2018/07/21 5:14, David Rientjes wrote: > diff --git a/mm/mmap.c b/mm/mmap.c > --- a/mm/mmap.c > +++ b/mm/mmap.c > @@ -3066,25 +3066,27 @@ void exit_mmap(struct mm_struct *mm) > if (unlikely(mm_is_oom_victim(mm))) { > /* >* Manually reap the mm to free as much

[tip:x86/pti] x86/entry/32: Check for VM86 mode in slow-path check

2018-07-20 Thread tip-bot for Joerg Roedel
Commit-ID: d5e84c21dbf5ea458897f88346dc979909eed913 Gitweb: https://git.kernel.org/tip/d5e84c21dbf5ea458897f88346dc979909eed913 Author: Joerg Roedel AuthorDate: Fri, 20 Jul 2018 18:22:23 +0200 Committer: Thomas Gleixner CommitDate: Fri, 20 Jul 2018 22:33:41 +0200 x86/entry/32: Check fo

[tip:x86/pti] perf/core: Make sure the ring-buffer is mapped in all page-tables

2018-07-20 Thread tip-bot for Joerg Roedel
Commit-ID: 77754cfa09a6c528c38cbca9ee4cc4f7cf6ad6f2 Gitweb: https://git.kernel.org/tip/77754cfa09a6c528c38cbca9ee4cc4f7cf6ad6f2 Author: Joerg Roedel AuthorDate: Fri, 20 Jul 2018 18:22:22 +0200 Committer: Thomas Gleixner CommitDate: Fri, 20 Jul 2018 22:33:41 +0200 perf/core: Make sure t

  1   2   3   4   5   6   7   8   9   >