[PATCH 4.19 33/46] mm: introduce mm_[p4d|pud|pmd]_folded

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 1071fc5779d9846fec56a4ff6089ab08cac1ab72 ] Add three architecture overrideable functions to test if the p4d, pud, or pmd layer of a page table is folded or not. Acked-by: Kirill A.

[PATCH 4.19 25/46] futex: Cure exit race

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit da791a667536bf8322042e38ca85d55a78d3c273 upstream. Stefan reported, that the glibc tst-robustpi4 test case fails occasionally. That case creates the following race

[PATCH 4.19 26/46] x86/mtrr: Dont copy uninitialized gentry fields back to userspace

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 32043fa065b51e0b1433e48d118821c71b5cd65d upstream. Currently the copy_to_user of data in the gentry struct is copying uninitiaized data in field _pad from the stack to

[PATCH 4.19 27/46] x86/mm: Fix decoy address handling vs 32-bit builds

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 51c3fbd89d7554caa3290837604309f8d8669d99 upstream. A decoy address is used by set_mce_nospec() to update the cache attributes for a page that may contain poison (multi-bit

Re: [PATCH] drm/vc4: Allow fb modifiers early enough to fill IN_FORMATS property

2018-12-28 Thread Daniel Vetter
On Thu, Dec 27, 2018 at 03:36:20PM -0800, Eric Anholt wrote: > Paul Kocialkowski writes: > > > The KMS mode_config elements are currently configured in vc4_kms_load, > > that is called after all components are binded (component_bind_all). > > However, the CRTC component (for the Pixel Valve)

[RESEND, v2] Bluetooth: hci_qca: Add helper to set device address

2018-12-28 Thread Balakrishna Godavarthi
This patch add qca_set_bdaddr() to set the device address for latest Qualcomm Bluetooth chipset wcn3990 and above. Signed-off-by: Balakrishna Godavarthi Reviewed-by: Matthias Kaehlcke Tested-by: Matthias Kaehlcke --- drivers/bluetooth/btqca.c | 19 +++

Re: [PATCH v1 2/2] drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock

2018-12-28 Thread Daniel Vetter
On Fri, Dec 28, 2018 at 04:13:08AM +0500, Ivan Mironov wrote: > Strict requirement of pixclock to be zero breaks support of SDL 1.2 > which contains hardcoded table of supported video modes with non-zero > pixclock values[1]. > > To better understand which pixclock values are considered valid and

Re: [RFC PATCH 1/2] drm/fb-helper: Bring back workaround for bugs of SDL 1.2

2018-12-28 Thread Daniel Vetter
On Fri, Dec 28, 2018 at 04:26:56AM +0500, Ivan Mironov wrote: > On Thu, 2018-12-27 at 13:00 +0100, Daniel Vetter wrote: > > > + /* > > > + * Workaround for SDL 1.2, which is known to be setting all pixel format > > > + * fields values to zero in some cases. We treat this situation as a > > > +

Re: d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Florian Weimer
* Florian Weimer: > * Adhemerval Zanella: > >> On 27/12/2018 16:09, Florian Weimer wrote: >>> * Adhemerval Zanella: >>> Also for glibc standpoint, although reverting it back to use getdents syscall for non-LFS mode might fix this issue for architectures that provides non-LFS

Re: [PATCH v3 9/9] MAINTAINERS: Add maintainer for arm komeda driver

2018-12-28 Thread Daniel Vetter
On Fri, Dec 28, 2018 at 12:15 PM james qian wang (Arm Technology China) wrote: > > On Mon, Dec 24, 2018 at 02:05:43PM +0100, Daniel Vetter wrote: > > On Mon, Dec 24, 2018 at 1:33 PM Liviu Dudau wrote: > > > > > > On Fri, Dec 21, 2018 at 10:01:06AM +, james qian wang (Arm Technology > > >

Re: d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Florian Weimer
* Adhemerval Zanella: > On 27/12/2018 16:09, Florian Weimer wrote: >> * Adhemerval Zanella: >> >>> Also for glibc standpoint, although reverting it back to use getdents >>> syscall for non-LFS mode might fix this issue for architectures that >>> provides non-LFS getdents syscall it won't be a

Re: d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Adhemerval Zanella
On 27/12/2018 16:09, Florian Weimer wrote: > * Adhemerval Zanella: > >> Also for glibc standpoint, although reverting it back to use getdents >> syscall for non-LFS mode might fix this issue for architectures that >> provides non-LFS getdents syscall it won't be a fix for architectures >>

[PATCH 4.19 20/46] posix-timers: Fix division by zero bug

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 upstream. The signal delivery path of posix-timers can try to rearm the timer even if the interval is zero. That's handled for

[PATCH 4.19 18/46] gpio: max7301: fix driver for use with CONFIG_VMAP_STACK

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit abf221d2f51b8ce7b9959a8953f880a8b0a1400d upstream. spi_read() and spi_write() require DMA-safe memory. When CONFIG_VMAP_STACK is selected, those functions cannot be

[PATCH 4.19 11/46] ubifs: Handle re-linking of inodes correctly while recovery

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit e58725d51fa8da9133f3f1c54170aa2e43056b91 upstream. UBIFS's recovery code strictly assumes that a deleted inode will never come back, therefore it removes all data

Re: [PATCH] regmap: irq: Make IRQ type support optional

2018-12-28 Thread Charles Keepax
On Fri, Dec 28, 2018 at 11:23:58AM +, Charles Keepax wrote: > Currently only gpio-max77620 is using the type support in regmap IRQ, > but the implementation causes the irq_set_type operation to fail on all > other regmap IRQ chips. Avoid these regressions by skipping the type > handling on any

[PATCH 4.19 14/46] mmc: core: Reset HPI enabled state during re-init and in case of errors

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Hansson commit a0741ba40a009f97c019ae7541dc61c1fdf41efb upstream. During a re-initialization of the eMMC card, we may fail to re-enable HPI. In these cases, that isn't properly reflected

[PATCH 4.19 17/46] mmc: omap_hsmmc: fix DMA API warning

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 0b479790684192ab7024ce6a621f93f6d0a64d92 upstream. While booting with rootfs on MMC, the following warning is encountered on OMAP4430: omap-dma-engine

[PATCH 4.19 15/46] mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Hansson commit ba9f39a785a9977e72233000711ef1eb48203551 upstream. In commit 5320226a0512 ("mmc: core: Disable HPI for certain Hynix eMMC cards"), then intent was to prevent HPI from being

[PATCH 4.19 16/46] mmc: core: Use a minimum 1600ms timeout when enabling CACHE ctrl

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Hansson commit e3ae3401aa19432ee4943eb0bbc2ec704d07d793 upstream. Some eMMCs from Micron have been reported to need ~800 ms timeout, while enabling the CACHE ctrl after running sudden

[PATCH 4.19 21/46] KVM: X86: Fix NULL deref in vcpu_scan_ioapic

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit dcbd3e49c2f0b2c2d8a321507ff8f3de4af76d7c upstream. Reported by syzkaller: CPU: 1 PID: 5962 Comm: syz-executor118 Not tainted 4.20.0-rc6+ #374 Hardware name: Google

[PATCH 4.19 22/46] kvm: x86: Add AMDs EX_CFG to the list of ignored MSRs

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Eduardo Habkost commit 0e1b869fff60c81b510c2d00602d778f8f59dd9a upstream. Some guests OSes (including Windows 10) write to MSR 0xc001102c on some cases (possibly while trying to apply a CPU

[PATCH 4.19 23/46] KVM: Fix UAF in nested posted interrupt processing

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Cfir Cohen commit c2dd5146e9fe1f22c77c1b011adf84eea0245806 upstream. nested_get_vmcs12_pages() processes the posted_intr address in vmcs12. It caches the kmap()ed page object and pointer,

[PATCH 4.19 24/46] Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit fc96df16a1ce80cbb3c316ab7d4dc8cd5c2852ce upstream. Before 98f4c651762c, we returned zeros for unopened channels. With 98f4c651762c, we started to return random on-stack

[PATCH 4.19 01/46] iomap: Revert "fs/iomap.c: get/put the page in iomap_page_create/release()"

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit a837eca2412051628c0529768c9bc4f3580b040e ] This reverts commit 61c6de667263184125d5ca75e894fcad632b0dd3. The reverted commit added page reference counting to iomap page structures

[PATCH 4.19 13/46] scsi: sd: use mempool for discard special page

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Jens Axboe commit 61cce6f6eeced5ddd9cac55e807fe28b4f18c1ba upstream. When boxes are run near (or to) OOM, we have a problem with the discard page allocation in sd. If we fail allocating the

[PATCH 4.19 02/46] Revert "vfs: Allow userns root to call mknod on owned filesystems."

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Christian Brauner commit 94f82008ce30e2624537d240d64ce718255e0b80 upstream. This reverts commit 55956b59df336f6738da916dbb520b6e37df9fbd. commit 55956b59df33 ("vfs: Allow userns root to call

[PATCH 4.19 19/46] gpiolib-acpi: Only defer request_irq for GpioInt ACPI event handlers

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit e59f5e08ece1060073d92c66ded52e1f2c43b5bb upstream. Commit 78d3a92edbfb ("gpiolib-acpi: Register GpioInt ACPI event handlers from a late_initcall") deferred the entire

[PATCH 4.19 10/46] USB: serial: option: add Telit LN940 series

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Jörgen Storvist commit 28a86092b1753b802ef7e3de8a4c4a69a9c1bb03 upstream. Added USB serial option driver support for Telit LN940 series cellular modules. Covering both QMI and MBIM modes.

[PATCH 4.19 12/46] scsi: t10-pi: Return correct ref tag when queue has no integrity profile

2018-12-28 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Martin K. Petersen commit 60a89a3ce0cce515dc663bc1b45ac89202ad6c79 upstream. Commit ddd0bc756983 ("block: move ref_tag calculation func to the block layer") moved ref tag calculation from

[PATCH v7 3/4] Bluetooth: hci_qca: Disable IBS state machine and flush Tx buffer

2018-12-28 Thread Balakrishna Godavarthi
During hci down we observed IBS sleep commands are queued in the Tx buffer and hci_uart_write_work is sending data to the chip which is not required as the chip is powered off. This patch will disable IBS and flush the Tx buffer before we turn off the chip. Signed-off-by: Balakrishna Godavarthi

Re: [PATCH v2] media: venus: add debugfs support

2018-12-28 Thread kbuild test robot
: https://github.com/0day-ci/linux/commits/Malathi-Gottam/media-venus-add-debugfs-support/20181228-172634 base: git://linuxtv.org/media_tree.git master config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build

[PATCH v7 2/4] Bluetooth: hci_qca: Deassert RTS while baudrate change command

2018-12-28 Thread Balakrishna Godavarthi
This patch will help to stop frame reassembly errors while changing the baudrate. This is because host send a change baudrate request command to the chip with 115200 bps, Whereas chip will change their UART clocks to the enable for new baudrate and sends the response for the change request command

[PATCH v7 4/4] Bluetooth: btqca: inject command complete event during fw download

2018-12-28 Thread Balakrishna Godavarthi
Latest qualcomm chips are not sending an command complete event for every firmware packet sent to chip. They only respond with a vendor specific event for the last firmware packet. This optimization will decrease the BT ON time. Due to this we are seeing a timeout error message logs on the console

[PATCH v7 0/4] Bug fixes for Qualcomm BT chip wcn3990.

2018-12-28 Thread Balakrishna Godavarthi
The below issues are found in our recent testing. 1. Observed device is not going into off state or not responding. As wcn3990 require a power pulses to turn on the irrespctive of igniting regulators, it was observed that power on or power off pulses are not in sync with respective to

[PATCH v7 1/4] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2018-12-28 Thread Balakrishna Godavarthi
wcn3990 requires a power pulse to turn ON/OFF along with regulators. Sometimes we are observing the power pulses are sent out with some time delay, due to queuing these commands. This is causing synchronization issues with chip, which intern delay the chip setup or may end up with communication

Re: [PATCH v6 5/6] Bluetooth: hci_qca: Update baudrate change wait time for wcn3990

2018-12-28 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-12-28 02:30, Matthias Kaehlcke wrote: On Thu, Dec 27, 2018 at 01:01:35PM +0530, Balakrishna Godavarthi wrote: This patch will update the baudrate change request wait time from 300 ms to 100 ms. When host sends the change baudrate request to the controller, controller sets

[PATCH] regmap: irq: Make IRQ type support optional

2018-12-28 Thread Charles Keepax
Currently only gpio-max77620 is using the type support in regmap IRQ, but the implementation causes the irq_set_type operation to fail on all other regmap IRQ chips. Avoid these regressions by skipping the type handling on any chips that don't define a set of supported types. Fixes: 1c2928e3e321

Re: [Qemu-devel] d_off field in struct dirent and 32-on-64 emulation

2018-12-28 Thread Peter Maydell
On Fri, 28 Dec 2018 at 00:23, Andreas Dilger wrote: > On Dec 27, 2018, at 10:41 AM, Peter Maydell wrote: > > As you note, this causes breakage for userspace programs which > > need to implement an API/ABI with 32-bit offset but which only > > have access to the kernel's 64-bit offset API/ABI. >

Re: [PATCH v3 9/9] MAINTAINERS: Add maintainer for arm komeda driver

2018-12-28 Thread james qian wang (Arm Technology China)
On Mon, Dec 24, 2018 at 02:05:43PM +0100, Daniel Vetter wrote: > On Mon, Dec 24, 2018 at 1:33 PM Liviu Dudau wrote: > > > > On Fri, Dec 21, 2018 at 10:01:06AM +, james qian wang (Arm Technology > > China) wrote: > > > v2: Adjusted the position of KOMEDA by alphabetical order > > > > > >

Re: [PATCH] usb: devio: update max count of DPs per interval for ISOC

2018-12-28 Thread Greg Kroah-Hartman
On Fri, Dec 28, 2018 at 06:27:44PM +0800, Chunfeng Yun wrote: > The host shall be able to accept and send up to 96 DPs for > devices operating at Gen 2 speed. Why? What is this keeping from working properly today? I need a much better changelog text here in order to be able to accept this

[PATCH 3/4] gnss: add gtop receiver type support

2018-12-28 Thread Loys Ollivier
Add a gtop type to the "GNSS_TYPE" attribute. Note that GTOP receveirs support a subset of NMEA 0183 with vendor extensions (e.g. to allow switching to the vendor protocol). Signed-off-by: Loys Ollivier --- include/linux/gnss.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 4/4] gnss: add driver for globaltop receivers

2018-12-28 Thread Loys Ollivier
Add driver for serial-connected GlobalTop GNSS receivers. These devices typically boot transmitting vendor specific NMEA output sequences. The serial port bit rate is read from the device tree "current-speed". Note that the driver uses the generic GNSS serial implementation and therefore

[PATCH 0/4] Add driver for globaltop GNSS receivers

2018-12-28 Thread Loys Ollivier
Hello ! This patch series adds a new GNSS driver for the globaltop GNSS receivers. These receivers transmits NMEA output sequence as soon as they have booted. Power management can be done via the main supply and optional backup supply as defined in the device tree. The driver has been tested

[PATCH 2/4] dt-bindings: gnss: add gtop binding

2018-12-28 Thread Loys Ollivier
Add binding for GlobalTop GNSS receivers. Signed-off-by: Loys Ollivier --- Documentation/devicetree/bindings/gnss/gtop.txt | 33 + 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/gnss/gtop.txt diff --git

[PATCH 1/4] dt-bindings: Add vendor prefix for "GlobalTop Technology, Inc."

2018-12-28 Thread Loys Ollivier
Add globaltop vendor definition. Signed-off-by: Loys Ollivier --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

Re: Will the recent memory leak fixes be backported to longterm kernels?

2018-12-28 Thread Greg KH
On Mon, Nov 05, 2018 at 10:21:23AM +0100, Michal Hocko wrote: > On Fri 02-11-18 19:38:35, Roman Gushchin wrote: > > On Fri, Nov 02, 2018 at 06:48:23PM +0100, Michal Hocko wrote: > > > On Fri 02-11-18 17:25:58, Roman Gushchin wrote: > > > > On Fri, Nov 02, 2018 at 05:51:47PM +0100, Michal Hocko

[PATCH] usb: devio: update max count of DPs per interval for ISOC

2018-12-28 Thread Chunfeng Yun
The host shall be able to accept and send up to 96 DPs for devices operating at Gen 2 speed. Signed-off-by: Chunfeng Yun --- drivers/usb/core/devio.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index

Re: [PATCH] sched: fix infinity loop in update_blocked_averages

2018-12-28 Thread Xiezhipeng (EulerOS)
Hi Tejun, On Fri, Dec 28, 2018 10:03 AM, Tejun Heo wrote: > > On Thu, Dec 27, 2018 at 05:53:52PM -0800, Tejun Heo wrote: > > Vincent knows that part way better than me but I think the safest way > > would be doing the optimization removal iff tmp_alone_branch is > > already pointing to

[PATCH 1/2] perf c2c: Change the default coalesce setup

2018-12-28 Thread Jiri Olsa
Joe suggested to have the coalesce default set just to 'iaddr', because it's easier to read on the (default) c2c report run. By removing pid from -c option, the c2c report will group all the relevant pids under instruction address bucket. User can always run -c pid,iaddr for more grained output

[PATCH 2/2] perf c2c: Increase the HITM ratio limit for displayed cachelines

2018-12-28 Thread Jiri Olsa
The cachelines being reported go down to 0.05%. hat makes for very long output files. Raising that to 0.1%. The user can always specify --show-all if they want all the cachelines. Suggested-by: Joe Mario Link: http://lkml.kernel.org/n/tip-uwxpd36jutygit56mycan...@git.kernel.org Signed-off-by:

[PATCH] crypto: Fix typo in "pclmul"

2018-12-28 Thread Huang nut
From: haco Fix typo "plcmul" to "pclmul" Signed-off-by: Huaxuan Mao --- crypto/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 045af6eeb..bc854c23d 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -642,7 +642,7 @@ config

Re: [PATCH] media: venus: add debugfs support

2018-12-28 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Malathi-Gottam/media-venus-add-debugfs-support/20181228-160258 base: git://linuxtv.org/media_tree.git master config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com

[PATCH 1/2] um: vector: Fix a potential NULL pointer dereference in 'vector_net_open()'

2018-12-28 Thread Christophe JAILLET
'create_queue()' returns NULL in case of memory allocation failure. So we must check if it succeeds in order to avoid potential NULL pointer dereference. For 'vp->rx_queue', the dereference would occur just one line after the failed allocation. For 'vp->tx_queue', it would occur later during

[PATCH 2/2] um: vector: Use 'kmalloc_array' instead of 'kmalloc'

2018-12-28 Thread Christophe JAILLET
Use 'kmalloc_array' instead of 'kmalloc' when appropriate. Signed-off-by: Christophe JAILLET --- I don't know why it has not already been replaced in 6da2ec56059c ("treewide: kmalloc() -> kmalloc_array()". --- arch/um/drivers/vector_kern.c | 8 1 file changed, 4 insertions(+), 4

Re: [PATCH] media: venus: add debugfs support

2018-12-28 Thread kbuild test robot
-Gottam/media-venus-add-debugfs-support/20181228-160258 base: git://linuxtv.org/media_tree.git master config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH 0/3] irq/core: Fix and expand the irq affinity descriptor

2018-12-28 Thread Sumit Saxena
On Wed, Dec 19, 2018 at 6:25 PM Sumit Saxena wrote: > > On Wed, Dec 19, 2018 at 4:23 PM Thomas Gleixner wrote: > > > > On Tue, 4 Dec 2018, Dou Liyang wrote: > > > > > Now, Spreading the interrupt affinity info by a cpumask pointer is not > > > enough, meets a problem[1] and hard to expand in

Blessed Year

2018-12-28 Thread Alice Walton
I have a charity mission worth $ 100,000,000.00 from you

[PATCH -next] taint: fix debugfs_simple_attr.cocci warnings

2018-12-28 Thread YueHaibing
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE for debugfs files. Semantic patch information: Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() imposes some significant overhead as compared to DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe(). Generated by:

Re: [PATCH] KVM: X86: Fix scan ioapic use-before-initialization

2018-12-28 Thread Dmitry Vyukov
On Thu, Dec 27, 2018 at 6:00 PM Linus Torvalds wrote: > > On Thu, Dec 27, 2018 at 6:28 AM Dmitry Vyukov wrote: > > > > Lots of kernel bug reports routinely get lost on mailing lists, which is > > bad. > > Nobody reads the kernel mailing list directly - there's just too much traffic. > > And

Re: [PATCH 18/18] mfd: wm8400-core: Make it explicitly non-modular

2018-12-28 Thread Charles Keepax
On Fri, Dec 21, 2018 at 10:55:16AM -0500, Paul Gortmaker wrote: > [Re: [PATCH 18/18] mfd: wm8400-core: Make it explicitly non-modular] On > 19/12/2018 (Wed 09:17) Charles Keepax wrote: > > > On Mon, Dec 17, 2018 at 03:31:28PM -0500, Paul Gortmaker wrote: > > > -MODULE_DEVICE_TABLE(i2c,

Re: [RFC][PATCH v2 00/21] PMEM NUMA node and hotness accounting/migration

2018-12-28 Thread Fengguang Wu
On Fri, Dec 28, 2018 at 09:41:05AM +0100, Michal Hocko wrote: On Fri 28-12-18 13:08:06, Wu Fengguang wrote: [...] Optimization: do hot/cold page tracking and migration = Since PMEM is slower than DRAM, we need to make sure hot pages go to

Re: [PATCH] sched: fix infinity loop in update_blocked_averages

2018-12-28 Thread Vincent Guittot
On Fri, 28 Dec 2018 at 03:02, Tejun Heo wrote: > > On Thu, Dec 27, 2018 at 05:53:52PM -0800, Tejun Heo wrote: > > Vincent knows that part way better than me but I think the safest way > > would be doing the optimization removal iff tmp_alone_branch is > > already pointing to leaf_cfs_rq_list.

[PATCH v2] media: venus: add debugfs support

2018-12-28 Thread Malathi Gottam
Enable logs in venus through debugfs to print debug information. Change-Id: I9b2a423829df9ee171f95f18bcb85646319086d0 Signed-off-by: Malathi Gottam --- drivers/media/platform/qcom/venus/core.c | 62 - drivers/media/platform/qcom/venus/core.h | 32 +

Re: [PATCH] lib/genalloc.c: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Huang Shijie
On Fri, Dec 28, 2018 at 09:48:34AM +0100, Christoph Hellwig wrote: > On Fri, Dec 28, 2018 at 04:39:50PM +0800, Huang Shijie wrote: > > Follow the kernel conventions, rename addr_in_gen_pool to > > gen_pool_has_addr. > > Which convention? The old name certainly looks more sensible to me. I

Re: [PATCH v3 net] mv88e6060: disable hardware level MAC learning

2018-12-28 Thread Andrew Lunn
On Fri, Dec 28, 2018 at 09:22:55AM +0100, Pavel Machek wrote: > On Fri 2018-11-30 21:58:36, Anderson Luiz Alves wrote: > > Disable hardware level MAC learning because it breaks station roaming. > > When enabled it drops all frames that arrive from a MAC address > > that is on a different port at

Re: [PATCH V6 2/2] mmc: tegra: HW Command Queue Support for Tegra SDMMC

2018-12-28 Thread Adrian Hunter
On 27/12/18 11:58 PM, Sowjanya Komatineni wrote: > This patch adds HW Command Queue for supported Tegra SDMMC > controllers. > > Tegra SDHCI with Quirk SDHCI_QUIRK2_BROKEN_64_BIT_DMA disables the > use of 64_BIT DMA to disable 64-bit addressing mode access to the > system memory and

Re: [PATCH -next] mm: Mark 'stack_vm_area' with __maybe_unused

2018-12-28 Thread Michal Hocko
On Fri 28-12-18 02:46:30, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning when > CONFIG_VMAP_STACK is not set: Isn't this warning disabled? I can see the following # These warnings generated too much noise in a regular build. # Use make W=1 to enable them (see

Re: [PATCH] lib/genalloc.c: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Christoph Hellwig
On Fri, Dec 28, 2018 at 04:39:50PM +0800, Huang Shijie wrote: > Follow the kernel conventions, rename addr_in_gen_pool to > gen_pool_has_addr. Which convention? The old name certainly looks more sensible to me. If we really want to change anything about this function I'd suggest to drop the

Re: [RFC][PATCH v2 00/21] PMEM NUMA node and hotness accounting/migration

2018-12-28 Thread Michal Hocko
On Fri 28-12-18 13:08:06, Wu Fengguang wrote: [...] > Optimization: do hot/cold page tracking and migration > = > > Since PMEM is slower than DRAM, we need to make sure hot pages go to > DRAM and cold pages stay in PMEM, to get the best out of

[PATCH] lib/genalloc.c: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Huang Shijie
Follow the kernel conventions, rename addr_in_gen_pool to gen_pool_has_addr. Signed-off-by: Huang Shijie --- arch/arm/mm/dma-mapping.c | 2 +- drivers/misc/sram-exec.c | 2 +- include/linux/genalloc.h | 2 +- kernel/dma/remap.c| 2 +- lib/genalloc.c| 6 +++--- 5 files

Re: [PATCH 0/2] put_user_page*(): start converting the call sites

2018-12-28 Thread Pavel Machek
Hi! > > This "patch " is not a commit message, as it never shows up in git log. > > Each of the follow-up patches does have details about the changes it makes. > > I think you should still describe the change - at least in summary. > > The patch I looked at didn't really... > IIRC it still

Re: [BUG] net: sungem: device driver frees DMA memory with wrong function

2018-12-28 Thread Christoph Hellwig
Please try this patch: diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index a52c6409bdc2..f454e0ed1398 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -284,32 +284,25 @@ static inline void dma_direct_sync_sg_for_cpu(struct device *dev, }

[PATCH] spi: dw: fix potential variable assignment error

2018-12-28 Thread shaftarger
spi::mode is defined by framework for several SPI capabilities, such as polarity, phase, bit-endian, wire number. Directly use this variable for setting controller's polarity and phase causes other bit in register being set. Since SPI framework has its definition, SPI_CPOL and SPI_CPHA offset may

Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes"

2018-12-28 Thread Greg KH
On Fri, Dec 28, 2018 at 09:16:51AM +0900, Sergey Senozhatsky wrote: > On (12/12/18 17:10), Sergey Senozhatsky wrote: > > And there will be another -stable backport request in a week or so. > > The remaining one: > > commit c7c3f05e341a9a2bd Now queued up, thanks. greg k-h

[GIT PULL] nds32 new features and bug fix for 4.21

2018-12-28 Thread Greentime Hu
Hi Linus, The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/greentime/linux.git tags/nds32-for-linus-4.21 for you to fetch

Re: [PATCH v3 net] mv88e6060: disable hardware level MAC learning

2018-12-28 Thread Pavel Machek
On Fri 2018-11-30 21:58:36, Anderson Luiz Alves wrote: > Disable hardware level MAC learning because it breaks station roaming. > When enabled it drops all frames that arrive from a MAC address > that is on a different port at learning table. > > Signed-off-by: Anderson Luiz Alves Will not this

[PATCH 1/1] net-next/hinic:add shutdown callback

2018-12-28 Thread Xue Chaojing
This patch add shutdown callback for hinic. Signed-off-by: Xue Chaojing --- drivers/net/ethernet/huawei/hinic/hinic_main.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/huawei/hinic/hinic_main.c b/drivers/net/ethernet/huawei/hinic/hinic_main.c index

[PATCH v5 6/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2018-12-28 Thread Erin Lo
From: Ben Ho Add basic chip support for Mediatek 8183, include pinctrl file, uart node with correct uart clocks, pwrap device M4U, smi-common and smi-larbs. Add clock controller nodes, include topckgen, infracfg, apmixedsys and subsystem. Add power controller and scpsys node. Signed-off-by:

[PATCH v5 4/6] dt-bindings: serial: Add compatible for Mediatek MT8183

2018-12-28 Thread Erin Lo
This adds dt-binding documentation of uart for Mediatek MT8183 SoC Platform. Signed-off-by: Erin Lo Acked-by: Rob Herring --- Documentation/devicetree/bindings/serial/mtk-uart.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt

[PATCH v5 3/6] dt-bindings: mtk-sysirq: Add compatible for Mediatek MT8183

2018-12-28 Thread Erin Lo
This adds dt-binding documentation of SYSIRQ for Mediatek MT8183 SoC Platform. Signed-off-by: Erin Lo Acked-by: Rob Herring --- .../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5 2/6] dt-bindings: arm: Add bindings for Mediatek MT8183 SoC Platform

2018-12-28 Thread Erin Lo
This adds dt-binding documentation of cpu for Mediatek MT8183. Signed-off-by: Erin Lo Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt

[PATCH v5 5/6] dt-bindings: pinctrl: mt8183: add binding document

2018-12-28 Thread Erin Lo
From: Zhiyong Tao The commit adds mt8183 compatible node in binding document. Signed-off-by: Zhiyong Tao Signed-off-by: Erin Lo --- .../devicetree/bindings/pinctrl/pinctrl-mt8183.txt | 110 + 1 file changed, 110 insertions(+) create mode 100644

[PATCH v5 1/6] irqchip/mtk-sysirq: support 4 interrupt parameters for sysirq

2018-12-28 Thread Erin Lo
From: Seiya Wang To support partitioned PPIs, 4 interrupt parameters should be valid for sysirq. Signed-off-by: Seiya Wang Signed-off-by: Erin Lo --- drivers/irqchip/irq-mtk-sysirq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-mtk-sysirq.c

[PATCH v5 0/6] Add basic and clock support for Mediatek MT8183 SoC

2018-12-28 Thread Erin Lo
MT8183 is a SoC based on 64bit ARMv8 architecture. It contains 4 CA53 and 4 CA73 cores. MT8183 share many HW IP with MT65xx series. This patchset was tested on MT8183 evaluation board and use correct clock to shell. This series contains document bindings, device tree including interrupt, uart,

Re: [PATCH AUTOSEL 4.14 25/35] iomap: sub-block dio needs to zeroout beyond EOF

2018-12-28 Thread Pavel Machek
On Mon 2018-12-03 23:22:46, Thomas Backlund wrote: > Den 2018-12-03 kl. 11:22, skrev Sasha Levin: > > > > > This is a case where theory collides with the real world. Yes, our QA is > > lacking, but we don't have the option of not doing the current process. > > If we stop backporting until a

Re: [PATCH v3] regmap: regmap-irq/gpio-max77620: add level-irq support

2018-12-28 Thread Matti Vaittinen
On Thu, Dec 27, 2018 at 09:56:48AM +0200, Matti Vaittinen wrote: > Hello All, > > On Thu, Dec 27, 2018 at 09:35:31AM +0200, Matti Vaittinen wrote: > > On Wed, Dec 26, 2018 at 12:39:17PM +0100, Geert Uytterhoeven wrote: > > > Hi Matti, > > > > > > On Tue, Dec 18, 2018 at 1:00 PM Matti Vaittinen >

Re: [PATCH v37 1/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT

2018-12-28 Thread Christian Borntraeger
On 28.12.2018 04:12, Wei Wang wrote: > On 12/27/2018 08:03 PM, Christian Borntraeger wrote: >> On 27.08.2018 03:32, Wei Wang wrote: >>>   static int init_vqs(struct virtio_balloon *vb) >>>   { >>> -    struct virtqueue *vqs[3]; >>> -    vq_callback_t *callbacks[] = { balloon_ack, balloon_ack,

<    1   2   3   4   5