Re: [PATCH] mm, sparse: fix typo in online_mem_sections

2017-09-05 Thread Anshuman Khandual
On 09/04/2017 04:52 PM, Michal Hocko wrote: > From: Michal Hocko > > online_mem_sections accidentally marks online only the first section in > the given range. This is a typo which hasn't been noticed because I > haven't tested large 2GB blocks previously. All users of Section sizes are normally

[PATCH] hwmon: pmbus: Make reg check and clear faults functions return errors

2017-09-05 Thread Andrew Jeffery
Some functions exposed by pmbus core conflated errors that occurred when setting the page to access with errors that occurred when accessing registers in a page. In some cases, this caused legitimate errors to be hidden under the guise of the register not being supported. Signed-off-by: Andrew Jef

Re: [PATCH 20/25] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer

2017-09-05 Thread Johannes Berg
On Thu, 2017-08-31 at 12:23 +, Anna-Maria Gleixner wrote: > From: Thomas Gleixner > > Switch the timer to CLOCK_MONOTONIC_SOFT, which executed the timer > callback in softirq context and remove the hrtimer_tasklet. > > Signed-off-by: Thomas Gleixner > Signed-off-by: Anna-Maria Gleixner > C

RE: [PATCH v1 1/3] dt-bindings: nvmem: add description for UniPhier eFuse

2017-09-05 Thread Keiji Hayashibara
Hello Yamada-san, Thank you for your comment. > From: Masahiro Yamada [mailto:yamada.masah...@socionext.com] > Sent: Monday, September 4, 2017 9:56 PM > > 2017-09-01 8:20 GMT+09:00 Keiji Hayashibara > : > > Add uniphier-efuse dt-bindings documentation. > > > > Signed-off-by: Keiji Hayashibara >

Re: [PATCH] drivers/x86: add thinkpad-wmi

2017-09-05 Thread Corentin Chary
[re-send for the mailing list, I forgot that gmail was stupid] On Tue, Sep 5, 2017 at 9:05 AM, Corentin Chary wrote: > > > On Mon, Sep 4, 2017 at 7:15 PM, Andy Shevchenko > wrote: >> >> On Mon, Sep 4, 2017 at 11:21 AM, Corentin Chary >> wrote: >> > This driver has been available on https://gith

Re: [PATCH 4/4] lockdep: Fix workqueue crossrelease annotation

2017-09-05 Thread Peter Zijlstra
On Tue, Sep 05, 2017 at 09:38:45AM +0900, Byungchul Park wrote: > On Mon, Sep 04, 2017 at 01:42:48PM +0200, Peter Zijlstra wrote: > > On Mon, Sep 04, 2017 at 10:30:32AM +0900, Byungchul Park wrote: > > > On Fri, Sep 01, 2017 at 06:38:52PM +0200, Peter Zijlstra wrote: > > > > And get tangled up with

[PATCH 3.18 0/9] 3.18.70-stable review

2017-09-05 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.70 release. There are 9 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Sep 7 07:08:47 UTC 2017. Anything receive

[PATCH 3.18 6/9] wl1251: add a missing spin_lock_init()

2017-09-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit f581a0dd744fe32b0a8805e279c59ec1ac676d60 upstream. wl1251: add a missing spin_lock_init() This fixes the following kernel warning: [ 5668.771453] BUG: spinlock bad magic on

[PATCH 3.18 3/9] cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs

2017-09-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit b339752d054fb32863418452dff350a1086885b1 upstream. When !NUMA, cpumask_of_node(@node) equals cpu_online_mask regardless of @node. The assumption seems that if !NUMA, there sh

[PATCH 4.4 10/16] wl1251: add a missing spin_lock_init()

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit f581a0dd744fe32b0a8805e279c59ec1ac676d60 upstream. wl1251: add a missing spin_lock_init() This fixes the following kernel warning: [ 5668.771453] BUG: spinlock bad magic on

[PATCH 4.4 16/16] crypto: algif_skcipher - only call put_page on referenced and used pages

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephan Mueller commit 445a582738de6802669aeed9c33ca406c23c3b1f upstream. For asynchronous operation, SGs are allocated without a page mapped to them or with a page that is not used (ref-counte

[PATCH 4.4 14/16] kvm: arm/arm64: Force reading uncached stage2 PGD

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Suzuki K Poulose commit 2952a6070e07ebdd5896f1f5b861acad677caded upstream. Make sure we don't use a cached value of the KVM stage2 PGD while resetting the PGD. Cc: Marc Zyngier Signed-off-by:

[PATCH 4.4 00/16] 4.4.87-stable review

2017-09-05 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.87 release. There are 16 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Sep 7 07:08:53 UTC 2017. Anything receive

Re: Support for BQ28Z610 Battery Monitor IC

2017-09-05 Thread Rodolfo Giometti
On 04/09/2017 15:53, rajender.re...@stesalit.in wrote: Dear Rodolfo Giometti, As discussed please find attached patch. Please let me know if you need more details. It looks OK to me... however: - rewrite the patch's title as "power bq27xxx_battery: add support for BQ28Z610 battery monitor IC

[PATCH 4.4 07/16] alpha: uapi: Add support for __SANE_USERSPACE_TYPES__

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit cec80d82142ab25c71eee24b529cfeaf17c43062 upstream. This fixes compiler errors in perf such as: tests/attr.c: In function 'store_event': tests/attr.c:66:27: error: format '

[PATCH 4.9 02/18] i2c: ismt: Dont duplicate the receive length for block reads

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit b6c159a9cb69c2cf0bf59d4e12c3a2da77e4d994 upstream. According to Table 15-14 of the C2000 EDS (Intel doc #510524) the rx data pointed to by the descriptor dptr contains th

[PATCH 4.9 00/18] 4.9.48-stable review

2017-09-05 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.48 release. There are 18 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Sep 7 07:09:06 UTC 2017. Anything receive

[PATCH 4.9 03/18] i2c: ismt: Return EMSGSIZE for block reads with bogus length

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit ba201c4f5ebe13d7819081756378777d8153f23e upstream. Compare the number of bytes actually seen on the wire to the byte count field returned by the slave device. Previously

[PATCH 4.9 14/18] lib/mpi: kunmap after finishing accessing buffer

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stephan Mueller commit dea3eb8b452e36cf2dd572b0a797915ccf452ae6 upstream. Using sg_miter_start and sg_miter_next, the buffer of an SG is kmap'ed to *buff. The current code calls sg_miter_stop (

[PATCH 4.12 11/27] mm, madvise: ensure poisoned pages are removed from per-cpu lists

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit c461ad6a63b37ba74632e90c063d14823c884247 upstream. Wendy Wang reported off-list that a RAS HWPOISON-SOFT test case failed and bisected it to the commit 479f854a207c ("mm, pag

[PATCH 4.12 03/27] irqchip: mips-gic: SYNC after enabling GIC region

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 2c0e8382386f618c85d20cb05e7cf7df8cdd382c upstream. A SYNC is required between enabling the GIC region and actually trying to use it, even if the first access is a read, othe

[PATCH 4.12 09/27] crypto: algif_skcipher - only call put_page on referenced and used pages

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Stephan Mueller commit 445a582738de6802669aeed9c33ca406c23c3b1f upstream. For asynchronous operation, SGs are allocated without a page mapped to them or with a page that is not used (ref-count

[PATCH 4.12 07/27] i2c: ismt: Dont duplicate the receive length for block reads

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit b6c159a9cb69c2cf0bf59d4e12c3a2da77e4d994 upstream. According to Table 15-14 of the C2000 EDS (Intel doc #510524) the rx data pointed to by the descriptor dptr contains t

[PATCH 4.12 23/27] xfrm: policy: check policy direction value

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Vladis Dronov commit 7bab09631c2a303f87a7eb7e3d69e888673b9b7e upstream. The 'dir' parameter in xfrm_migrate() is a user-controlled byte which is used as an array index. This can lead to an out

[PATCH 4.12 13/27] cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit b339752d054fb32863418452dff350a1086885b1 upstream. When !NUMA, cpumask_of_node(@node) equals cpu_online_mask regardless of @node. The assumption seems that if !NUMA, there sh

[PATCH 4.12 21/27] mmc: sdhci-xenon: add set_power callback

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Zhoujie Wu commit 99c14fc360dbbb583a03ab985551b12b5c5ca4f1 upstream. Xenon sdh controller requests proper SD bus voltage select bits programmed even with vmmc power supply. Any reserved value(

[PATCH 4.12 14/27] cpuset: Fix incorrect memory_pressure control file mapping

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit 1c08c22c874ac88799cab1f78c40f46110274915 upstream. The memory_pressure control file was incorrectly set up without a private value (0, by default). As a result, this control

[PATCH 4.12 15/27] alpha: uapi: Add support for __SANE_USERSPACE_TYPES__

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit cec80d82142ab25c71eee24b529cfeaf17c43062 upstream. This fixes compiler errors in perf such as: tests/attr.c: In function 'store_event': tests/attr.c:66:27: error: format

[PATCH 4.12 17/27] CIFS: remove endian related sparse warning

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 6e3c1529c39e92ed64ca41d53abadabbaa1d5393 upstream. Recent patch had an endian warning ie cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup() Signed-o

[PATCH 4.12 19/27] drm/vmwgfx: Fix F26 Wayland screen update issue

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit 021aba761f2a6c12158afb9993524c300c01fae2 upstream. vmwgfx currently cannot support non-blocking commit because when vmw_*_crtc_page_flip is called, drm_atomic_nonblocking_c

[PATCH 4.12 22/27] lib/mpi: kunmap after finishing accessing buffer

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Stephan Mueller commit dea3eb8b452e36cf2dd572b0a797915ccf452ae6 upstream. Using sg_miter_start and sg_miter_next, the buffer of an SG is kmap'ed to *buff. The current code calls sg_miter_stop

[PATCH 4.12 20/27] wl1251: add a missing spin_lock_init()

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit f581a0dd744fe32b0a8805e279c59ec1ac676d60 upstream. wl1251: add a missing spin_lock_init() This fixes the following kernel warning: [ 5668.771453] BUG: spinlock bad magic on

[PATCH] media: leds: as3645a: add V4L2_FLASH_LED_CLASS depdendency

2017-09-05 Thread Arnd Bergmann
We get a link error when V4L2_FLASH_LED_CLASS=m and AS3645A is built-in: drivers/leds/leds-as3645a.o: In function `as3645a_v4l2_setup': leds-as3645a.c:(.text+0x258): undefined reference to `v4l2_flash_init' leds-as3645a.c:(.text+0x284): undefined reference to `v4l2_flash_indicator_init' leds-as364

[PATCH 4.12 16/27] CIFS: Fix maximum SMB2 header size

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit 9e37b1784f2be9397a903307574ee565bbadfd75 upstream. Currently the maximum size of SMB2/3 header is set incorrectly which leads to hanging of directory listing operations

Re: [PATCH 1/2] mm, memory_hotplug: do not fail offlining too early

2017-09-05 Thread Michal Hocko
On Tue 05-09-17 11:59:36, Anshuman Khandual wrote: [...] > > @@ -1634,43 +1634,25 @@ static int __ref __offline_pages(unsigned long > > start_pfn, > > > > pfn = start_pfn; > > expire = jiffies + timeout; > > - drain = 0; > > - retry_max = 5; > > repeat: > > /* start memory hot r

Re: [PATCH] IRQ, cpu-hotplug: Fix a race between CPU hotplug and IRQ desc alloc/free

2017-09-05 Thread Thomas Gleixner
On Tue, 5 Sep 2017, Huang, Ying wrote: > Thomas Gleixner writes: > > + /* Interrupts are moved away from the dying cpu, reenable alloc/free */ > > + irq_unlock_sparse(); > > + > > I don't understand this. It appears that irq_migrate_all_off_this_cpu() > is called in take_cpu_down() which has

[PATCH 4.12 18/27] dm mpath: do not lock up a CPU with requeuing activity

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 1c23484c355ec360ca2f37914f8a4802c6baeead upstream. When using the block layer in single queue mode, get_request() returns ERR_PTR(-EAGAIN) if the queue is dying and the

[PATCH 4.12 25/27] nvme: fix the definition of the doorbell buffer config support bit

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Changpeng Liu commit 223694b9ae8bfba99f3528d49d07a740af6ff95a upstream. NVMe 1.3 specification defines the Optional Admin Command Support feature flags, bit 8 set to '1' then the controller su

[PATCH 4.12 26/27] drm/nouveau/i2c/gf119-: add support for address-only transactions

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit 13a86519202c5d119d83640d6f781f3181205d2c upstream. Since switching the I2C-over-AUX helpers, there have been regressions on some display combinations due to us not having sup

Re: 915f3e3f76 ("mac80211_hwsim: Replace bogus hrtimer clockid"): BUG: kernel reboot-without-warning in test stage

2017-09-05 Thread Thomas Gleixner
On Tue, 5 Sep 2017, kernel test robot wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > commit 915f3e3f76c05b2da93c4cc278eebc2d9219d9f4 > Author: Thomas Gleixner

[PATCH 4.12 04/27] Input: synaptics - fix device info appearing different on reconnect

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Anthony Martin commit 3f9db52dc87b003a1732f3e03f7f5fc8701ef4ad upstream. User-modified input settings no longer survive a suspend/resume cycle. Starting with 4.12, the touchpad is reinitialize

[PATCH 4.12 00/27] 4.12.11-stable review

2017-09-05 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.12.11 release. There are 27 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Sep 7 07:09:10 UTC 2017. Anything receiv

[PATCH 4.12 08/27] i2c: ismt: Return EMSGSIZE for block reads with bogus length

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit ba201c4f5ebe13d7819081756378777d8153f23e upstream. Compare the number of bytes actually seen on the wire to the byte count field returned by the slave device. Previousl

[PATCH 4.12 06/27] crypto: chacha20 - fix handling of chunked input

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 4de437265eaac18f880d827f8e105b10de9b87a3 upstream. Commit 9ae433bc79f9 ("crypto: chacha20 - convert generic and x86 versions to skcipher") ported the existing chacha20 co

[PATCHv7 3/3] ARM:drm ivip Intel FPGA Video and Image Processing Suite

2017-09-05 Thread Hean-Loong, Ong
From: Ong Hean Loong Driver for Intel FPGA Video and Image Processing Suite Frame Buffer II. The driver only supports the Intel Arria10 devkit and its variants. This driver can be either loaded staticlly or in modules. The OF device tree binding is located at: Documentation/devicetree/bindings/di

[PATCHv7 2/3] ARM:socfpga-defconfig Intel FPGA Video and Image Processing Suite

2017-09-05 Thread Hean-Loong, Ong
From: Ong Hean Loong Intel FPGA Video and Image Processing Suite Frame Buffer II driver config for Arria 10 devkit and its variants Signed-off-by: Ong, Hean Loong --- arch/arm/configs/socfpga_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/socfpga_defconfig

[PATCHv7 0/3] Intel FPGA Video and Image Processing Suite

2017-09-05 Thread Hean-Loong, Ong
From: Ong Hean Loong The FPGA FrameBuffer Soft IP could be seen as the GPU and the DRM driver patch here is allocating memory for information to be streamed from the ARM/Linux to the display port. Basically the driver just wraps the information such as the pixels to be drawn by the FPGA FrameBuf

[PATCHv7] ARM:dt-bindings:display Intel FPGA Video and Image Processing Suite

2017-09-05 Thread Hean-Loong, Ong
From: Ong Hean Loong Device tree binding for Intel FPGA Video and Image Processing Suite. The binding involved would be generated from the Altera (Intel) Qsys system. The bindings would set the max width, max height and memory port width. The device tree binding only supports the Intel Arria10 de

Re: [PATCH v3 0/5] arm64: Initial Realtek RTD1295 enablement

2017-09-05 Thread Arnd Bergmann
On Tue, Sep 5, 2017 at 12:09 AM, Andreas Färber wrote: > Am 14.05.2017 um 04:24 schrieb Andreas Färber: >> This mini-series adds initial support for the Realtek RTD1295 SoC and >> the Zidoo X9S TV box. >> >> v3 changes #address-cells, #size-cells and ranges. >> >> With these patches CPU0 can be bo

[PATCH 4.12 05/27] Input: xpad - fix PowerA init quirk for some gamepad models

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Cameron Gutman commit f5308d1b83eba20e69df5e0926ba7257c8dd9074 upstream. The PowerA gamepad initialization quirk worked with the PowerA wired gamepad I had around (0x24c6:0x543a), but a user r

Re: [PATCH 4/4] lockdep: Fix workqueue crossrelease annotation

2017-09-05 Thread Peter Zijlstra
On Tue, Sep 05, 2017 at 09:08:25AM +0200, Peter Zijlstra wrote: > So you worry about max_active==1 ? Or you worry about pool->lock or > about the thread setup? I'm still not sure. So the thing about pool->lock is that its a leaf lock, we take nothing inside it. Futhermore its a spinlock and theref

[PATCH 1/2] PCI: iproc: export iproc_pcie_shutdown symbol

2017-09-05 Thread Arnd Bergmann
The shutdown bugfix introduce a build regression for allmodconfig kernels as the new function is not exported: ERROR: "iproc_pcie_shutdown" [drivers/pci/host/pcie-iproc-platform.ko] undefined! This adds the missing export. Fixes: 2a9912565c05 ("PCI: iproc: Add 500ms delay during device shutdown

[PATCH 4.9 10/18] alpha: uapi: Add support for __SANE_USERSPACE_TYPES__

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit cec80d82142ab25c71eee24b529cfeaf17c43062 upstream. This fixes compiler errors in perf such as: tests/attr.c: In function 'store_event': tests/attr.c:66:27: error: format '

[PATCH 4.12 10/27] mm, uprobes: fix multiple free of ->uprobes_state.xol_area

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 355627f518978b5167256d27492fe0b343aaf2f2 upstream. Commit 7c051267931a ("mm, fork: make dup_mmap wait for mmap_sem for write killable") made it possible to kill a forking t

[PATCH 4.12 12/27] ceph: fix readpage from fscache

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Yan, Zheng commit dd2bc473482eedc60c29cf00ad12568ce40ce511 upstream. ceph_readpage() unlocks page prematurely prematurely in the case that page is reading from fscache. Caller of readpage expe

[PATCH 4.12 01/27] arm64: mm: abort uaccess retries upon fatal signal

2017-09-05 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland commit 289d07a2dc6c6b6f3e4b8a62669320d99dbe6c3d upstream. When there's a fatal signal pending, arm64's do_page_fault() implementation returns 0. The intent is that we'll return to

[PATCH 4.9 17/18] kvm: arm/arm64: Force reading uncached stage2 PGD

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Suzuki K Poulose commit 2952a6070e07ebdd5896f1f5b861acad677caded upstream. Make sure we don't use a cached value of the KVM stage2 PGD while resetting the PGD. Cc: Marc Zyngier Signed-off-by:

Re: 答复: [PATCH v4] mfd: Add support for RTS5250S power saving

2017-09-05 Thread Lee Jones
On Tue, 05 Sep 2017, 冯锐 wrote: > Dear Jones, > > > +static void rts5250_set_l1off_cfg_sub_d0(struct rtsx_pcr *pcr, int > > +active) { > > + struct rtsx_cr_option *option = &(pcr->option); > > + > > + u32 interrupt = rtsx_pci_readl(pcr, RTSX_BIPR); > > + int card_exist = (interrupt & SD_EXI

[PATCH 2/2] PCI: iproc: fix Stingray CRS defect handling

2017-09-05 Thread Arnd Bergmann
The condition that was used to detect the PCI_EXP_RTCAP flag access is wrong, as pointed out by gcc-8: drivers/pci/host/pcie-iproc.c: In function 'iproc_pcie_config_read': drivers/pci/host/pcie-iproc.c:531:22: error: bitwise comparison always evaluates to false [-Werror=tautological-compare] i

[PATCH 4.9 15/18] xfrm: policy: check policy direction value

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vladis Dronov commit 7bab09631c2a303f87a7eb7e3d69e888673b9b7e upstream. The 'dir' parameter in xfrm_migrate() is a user-controlled byte which is used as an array index. This can lead to an out-

[PATCH 4.9 06/18] mm, madvise: ensure poisoned pages are removed from per-cpu lists

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit c461ad6a63b37ba74632e90c063d14823c884247 upstream. Wendy Wang reported off-list that a RAS HWPOISON-SOFT test case failed and bisected it to the commit 479f854a207c ("mm, page

Re: [PATCH 6/7] ASoC: arizona: Add support for setting the output volume limits

2017-09-05 Thread Lee Jones
On Mon, 04 Sep 2017, Charles Keepax wrote: > The output volume limits allow signals to be limited to specific levels > appropriate for the hardware attached. As this is a property of the > hardware itself these will be configured through device tree. > > Signed-off-by: Charles Keepax > --- > in

Re: [PATCH v6 4/7] arm64: kvm: support user space to query RAS extension feature

2017-09-05 Thread gengdongjiu
James, On 2017/9/1 2:04, James Morse wrote: > Hi Dongjiu Geng, > > On 28/08/17 11:38, Dongjiu Geng wrote: >> In ARMV8.2 RAS extension, a virtual SError exception syndrome >> register(VSESR_EL2) is added. This value may be specified from >> userspace. > > I agree that the CPU support for injecti

Re: [PATCH 2/3] lockdep: Introduce lock_acquire_might()

2017-09-05 Thread Peter Zijlstra
On Tue, Sep 05, 2017 at 11:29:13AM +0900, Byungchul Park wrote: > From the point of view of crossrelease, we can never be aware of the > release context in advance, until we get to the lock_release(). > However, this way we cannot report deadlocks occured at the time. > > Sometimes, we want to rep

[PATCH 4.9 12/18] CIFS: remove endian related sparse warning

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 6e3c1529c39e92ed64ca41d53abadabbaa1d5393 upstream. Recent patch had an endian warning ie cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup() Signed-of

Re: [PATCH 2/2] mm, memory_hotplug: remove timeout from __offline_memory

2017-09-05 Thread Michal Hocko
On Tue 05-09-17 11:16:57, Anshuman Khandual wrote: > On 09/04/2017 02:45 PM, Michal Hocko wrote: > > On Mon 04-09-17 17:05:15, Xishi Qiu wrote: > >> On 2017/9/4 17:01, Michal Hocko wrote: > >> > >>> On Mon 04-09-17 16:58:30, Xishi Qiu wrote: > On 2017/9/4 16:21, Michal Hocko wrote: > > >>

Re: [PATCH 4/7] mfd: arizona: Remove audio related device tree code

2017-09-05 Thread Lee Jones
On Mon, 04 Sep 2017, Charles Keepax wrote: > This code has now been moved to the audio subsystem so is no longer > required in the MFD code. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/arizona-core.c | 132 > + > 1 file changed, 1 insertion

[PATCH 4.9 13/18] wl1251: add a missing spin_lock_init()

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit f581a0dd744fe32b0a8805e279c59ec1ac676d60 upstream. wl1251: add a missing spin_lock_init() This fixes the following kernel warning: [ 5668.771453] BUG: spinlock bad magic on

Re: [PATCH 5/7] mfd: arizona: Remove audio bindings from MFD binding document

2017-09-05 Thread Lee Jones
On Mon, 04 Sep 2017, Charles Keepax wrote: > Now the audio bindings have their own binding document update the main > MFD document to point to that file and remove the audio binding > documentation. > > Signed-off-by: Charles Keepax > --- > Documentation/devicetree/bindings/mfd/arizona.txt | 40

Re: [alsa-devel] [PATCH RESEND1 00/12] ALSA: vsnd: Add Xen para-virtualized frontend driver

2017-09-05 Thread Clemens Ladisch
Oleksandr Andrushchenko wrote: >>> We understand that emulated interrupt on the frontend side is completely not >>> acceptable Allow me to expand on that: Proper synchronization requires that the exact position is communicated, not estimated. Just because the nominal rate of the stream is known

[PATCH 4.9 11/18] CIFS: Fix maximum SMB2 header size

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit 9e37b1784f2be9397a903307574ee565bbadfd75 upstream. Currently the maximum size of SMB2/3 header is set incorrectly which leads to hanging of directory listing operations o

[PATCH 4.9 09/18] cpuset: Fix incorrect memory_pressure control file mapping

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit 1c08c22c874ac88799cab1f78c40f46110274915 upstream. The memory_pressure control file was incorrectly set up without a private value (0, by default). As a result, this control

[PATCH 4.9 05/18] mm, uprobes: fix multiple free of ->uprobes_state.xol_area

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 355627f518978b5167256d27492fe0b343aaf2f2 upstream. Commit 7c051267931a ("mm, fork: make dup_mmap wait for mmap_sem for write killable") made it possible to kill a forking ta

Re: [PATCH v5 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC

2017-09-05 Thread Lee Jones
On Mon, 04 Sep 2017, Takashi Iwai wrote: > This patch adds the MFD driver for Dollar Cove (TI version) PMIC with > ACPI INT33F5 that is found on some Intel Cherry Trail devices. > The driver is based on the original work by Intel, found at: > https://github.com/01org/ProductionKernelQuilts > >

[PATCH 4.9 08/18] cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit b339752d054fb32863418452dff350a1086885b1 upstream. When !NUMA, cpumask_of_node(@node) equals cpu_online_mask regardless of @node. The assumption seems that if !NUMA, there sho

Re: [PATCH 3/3] lockdep: Remove unnecessary acquisitions wrt workqueue flush

2017-09-05 Thread Peter Zijlstra
On Tue, Sep 05, 2017 at 11:29:14AM +0900, Byungchul Park wrote: > Also, lock_map_acquire() in process_one_work() is too strong for > that purpose. lock_map_acquire_might() is enough. Replaced it. NAK!! traditional annotations are superior to cross-release. They are not timing dependent.

[PATCH 4.9 07/18] ceph: fix readpage from fscache

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yan, Zheng commit dd2bc473482eedc60c29cf00ad12568ce40ce511 upstream. ceph_readpage() unlocks page prematurely prematurely in the case that page is reading from fscache. Caller of readpage expec

[PATCH 4.9 04/18] crypto: algif_skcipher - only call put_page on referenced and used pages

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stephan Mueller commit 445a582738de6802669aeed9c33ca406c23c3b1f upstream. For asynchronous operation, SGs are allocated without a page mapped to them or with a page that is not used (ref-counte

Re: [PATCH v2 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC

2017-09-05 Thread Lee Jones
On Mon, 04 Sep 2017, Takashi Iwai wrote: > On Mon, 04 Sep 2017 15:37:32 +0200, > Lee Jones wrote: > > > > > +static struct mfd_cell dc_ti_dev[] = { > > > + { > > > + .name = "dc_ti_pwrbtn", > > > + .num_resources = ARRAY_SIZE(power_button_resources), > > > + .resources = p

[PATCH 4.4 08/16] CIFS: Fix maximum SMB2 header size

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit 9e37b1784f2be9397a903307574ee565bbadfd75 upstream. Currently the maximum size of SMB2/3 header is set incorrectly which leads to hanging of directory listing operations o

[PATCH 4.4 09/16] CIFS: remove endian related sparse warning

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 6e3c1529c39e92ed64ca41d53abadabbaa1d5393 upstream. Recent patch had an endian warning ie cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup() Signed-of

[PATCH 4.9 01/18] irqchip: mips-gic: SYNC after enabling GIC region

2017-09-05 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 2c0e8382386f618c85d20cb05e7cf7df8cdd382c upstream. A SYNC is required between enabling the GIC region and actually trying to use it, even if the first access is a read, other

[PATCH 4.4 04/16] ceph: fix readpage from fscache

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Yan, Zheng commit dd2bc473482eedc60c29cf00ad12568ce40ce511 upstream. ceph_readpage() unlocks page prematurely prematurely in the case that page is reading from fscache. Caller of readpage expec

Re: [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell

2017-09-05 Thread Lee Jones
On Wed, 23 Aug 2017, Maciej Purski wrote: > This patch adds muic of_compatible in order to use the muic device > driver in device tree. > > Signed-off-by: Maciej Purski > --- > v2: > - added muic to documentation > v3: > - removed duplication > v4: > - fixed commit message > > Documentation/de

[PATCH 4.4 06/16] cpuset: Fix incorrect memory_pressure control file mapping

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit 1c08c22c874ac88799cab1f78c40f46110274915 upstream. The memory_pressure control file was incorrectly set up without a private value (0, by default). As a result, this control

[PATCH 4.4 05/16] cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit b339752d054fb32863418452dff350a1086885b1 upstream. When !NUMA, cpumask_of_node(@node) equals cpu_online_mask regardless of @node. The assumption seems that if !NUMA, there sho

Re: [PATCH] mm, sparse: fix typo in online_mem_sections

2017-09-05 Thread Michal Hocko
On Tue 05-09-17 12:32:28, Anshuman Khandual wrote: > On 09/04/2017 04:52 PM, Michal Hocko wrote: > > From: Michal Hocko > > > > online_mem_sections accidentally marks online only the first section in > > the given range. This is a typo which hasn't been noticed because I > > haven't tested large

Re: [PATCH v4 2/3] string.h: add memcpy_and_pad()

2017-09-05 Thread Arnd Bergmann
On Mon, Aug 14, 2017 at 10:12 PM, Martin Wilck wrote: > This helper function is useful for the nvme subsystem, and maybe > others. > > Note: the warnings reported by the kbuild test robot for this patch > are actually generated by the use of CONFIG_PROFILE_ALL_BRANCHES > together with __FORTIFY_IN

[PATCH 4.4 03/16] i2c: ismt: Return EMSGSIZE for block reads with bogus length

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit ba201c4f5ebe13d7819081756378777d8153f23e upstream. Compare the number of bytes actually seen on the wire to the byte count field returned by the slave device. Previously

[PATCH 4.4 02/16] i2c: ismt: Dont duplicate the receive length for block reads

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit b6c159a9cb69c2cf0bf59d4e12c3a2da77e4d994 upstream. According to Table 15-14 of the C2000 EDS (Intel doc #510524) the rx data pointed to by the descriptor dptr contains th

Re: [PATCH v2] drivers/mailbox: Add Aspeed mailbox driver

2017-09-05 Thread Cyril Bur
On Tue, 2017-09-05 at 08:25 +0200, Greg KH wrote: > On Tue, Sep 05, 2017 at 09:37:19AM +1000, Cyril Bur wrote: > > On Mon, 2017-09-04 at 20:13 +0530, Jassi Brar wrote: > > > On Mon, Sep 4, 2017 at 12:47 PM, Cyril Bur wrote: > > > > Hi, > > > > > > > > I haven't heard anything about this driver. I

[PATCH 4.4 11/16] xfrm: policy: check policy direction value

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vladis Dronov commit 7bab09631c2a303f87a7eb7e3d69e888673b9b7e upstream. The 'dir' parameter in xfrm_migrate() is a user-controlled byte which is used as an array index. This can lead to an out-

[PATCH 3.18 7/9] xfrm: policy: check policy direction value

2017-09-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vladis Dronov commit 7bab09631c2a303f87a7eb7e3d69e888673b9b7e upstream. The 'dir' parameter in xfrm_migrate() is a user-controlled byte which is used as an array index. This can lead to an out

[PATCH 4.4 01/16] irqchip: mips-gic: SYNC after enabling GIC region

2017-09-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 2c0e8382386f618c85d20cb05e7cf7df8cdd382c upstream. A SYNC is required between enabling the GIC region and actually trying to use it, even if the first access is a read, other

[PATCH 3.18 1/9] i2c: ismt: Dont duplicate the receive length for block reads

2017-09-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit b6c159a9cb69c2cf0bf59d4e12c3a2da77e4d994 upstream. According to Table 15-14 of the C2000 EDS (Intel doc #510524) the rx data pointed to by the descriptor dptr contains t

[PATCH 3.18 5/9] CIFS: remove endian related sparse warning

2017-09-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 6e3c1529c39e92ed64ca41d53abadabbaa1d5393 upstream. Recent patch had an endian warning ie cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup() Signed-o

答复: 答复: [PATCH v4] mfd: Add support for RTS5250S power saving

2017-09-05 Thread 冯锐
> > +static void rts5250_set_l1off_cfg_sub_d0(struct rtsx_pcr *pcr, int > > +active) { > > + struct rtsx_cr_option *option = &(pcr->option); > > + > > + u32 interrupt = rtsx_pci_readl(pcr, RTSX_BIPR); > > + int card_exist = (interrupt & SD_EXIST) | (interrupt & MS_EXIST); > > + int aspm_L1_

[PATCH 3.18 4/9] CIFS: Fix maximum SMB2 header size

2017-09-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit 9e37b1784f2be9397a903307574ee565bbadfd75 upstream. Currently the maximum size of SMB2/3 header is set incorrectly which leads to hanging of directory listing operations

[PATCH 3.18 2/9] i2c: ismt: Return EMSGSIZE for block reads with bogus length

2017-09-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit ba201c4f5ebe13d7819081756378777d8153f23e upstream. Compare the number of bytes actually seen on the wire to the byte count field returned by the slave device. Previousl

[PATCH] staging: rts5208: fix gcc-8 logic error warning

2017-09-05 Thread Arnd Bergmann
As gcc-8 points out, the bit mask check makes no sense here: drivers/staging/rts5208/sd.c: In function 'ext_sd_send_cmd_get_rsp': drivers/staging/rts5208/sd.c:4130:25: error: bitwise comparison always evaluates to true [-Werror=tautological-compare] However, the code is even more bogus, as we ha

  1   2   3   4   5   6   7   8   9   >