Re: WARNING: CPU: 0 PID: 22572 at kernel/jump_label.c:376 __jump_label_update+0x9d/0xb0

2018-03-16 Thread Josh Poimboeuf
On Fri, Mar 16, 2018 at 11:11:54AM +0800, Li Wang wrote: > Hi, > > ltp/dynamic_debug01.sh trigger this Warning on x86_64 with > kernel-v4.16.0-rc5. > > > [ 8216.976433] [ cut here ] > [ 8216.981615] can't patch jump_label at dmi_sysfs_exit+0x0/0x2d > [ 8216.981625]

[PATCH v6 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-16 Thread Jacopo Mondi
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel output converter. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda Reviewed-by: Niklas Söderlund ---

[PATCH 3.18 21/25] usb: quirks: add control message delay for 1b1c:1b20

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Danilo Krummrich commit cb88a0588717ba6c756cb5972d75766b273a6817 upstream. Corsair Strafe RGB keyboard does not respond to usb control messages sometimes and

[PATCH 3.18 22/25] USB: usbmon: remove assignment from IS_ERR argument

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Julia Lawall commit 46c236dc7d1212d7417e6fb0317f91c44c719322 upstream. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@

[PATCH 3.18 23/25] usb: usbmon: Read text within supplied buffer size

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Pete Zaitcev commit a5f596830e27e15f7a0ecd6be55e433d776986d8 upstream. This change fixes buffer overflows and silent data corruption with the usbmon device driver

[PATCH 3.18 24/25] serial: 8250_pci: Add Brainboxes UC-260 4 port serial device

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nikola Ciprich commit 9f2068f35729948bde84d87a40d135015911345d upstream. Add PCI ids for two variants of Brainboxes UC-260 quad port PCI serial cards.

[PATCH 3.18 19/25] uas: fix comparison for error code

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 9a513c905bb95bef79d96feb08621c1ec8d8c4bb upstream. A typo broke the comparison. Fixes: cbeef22fd611 ("usb: uas: unconditionally bring back host after

[PATCH 4.9 25/86] IB/mlx5: Fix incorrect size of klms in the memory region

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sergey Gorenko commit da343b6d90e11132f1e917d865d88ee35d6e6d00 upstream. The value of mr->ndescs greater than mr->max_descs is set in the function mlx5_ib_sg_to_klms()

[PATCH 4.9 29/86] perf tools: Fix trigger class trigger_on()

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit de19e5c3c51fdb1ff20d0f61d099db902ff7494b upstream. trigger_on() means that the trigger is available but not ready, however trigger_on() was making

[PATCH 4.9 11/86] drm/amdgpu: Fix deadlock on runtime suspend

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit aa0aad57909eb321746325951d66af88a83bc956 upstream. amdgpu's ->runtime_suspend hook calls drm_kms_helper_poll_disable(), which waits for the output poll

[PATCH 4.9 22/86] virtio_ring: fix num_free handling in error case

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tiwei Bie commit e82df670235138575b37ff0ec24412a471efd97f upstream. The vq->vq.num_free hasn't been changed when error happens, so it shouldn't be changed when handling

Re: [PATCH 6/8] trace_uprobe/sdt: Fix multiple update of same reference counter

2018-03-16 Thread Ravi Bangoria
On 03/15/2018 08:19 PM, Oleg Nesterov wrote: > On 03/13, Ravi Bangoria wrote: >> For tiny binaries/libraries, different mmap regions points to the >> same file portion. In such cases, we may increment reference counter >> multiple times. > Yes, > >> But while de-registration, reference counter

Re: [PATCH 8/9] x86/dumpstack: Save first regs set for the executive summary

2018-03-16 Thread Borislav Petkov
On Fri, Mar 16, 2018 at 07:01:12AM -0500, Josh Poimboeuf wrote: > Hm, the "Code: Bad RIP value" will always be shown for syscall regs, > which will probably cause some unnecessary confusion/worry. Should we > just skip printing it for the "regs->ip < PAGE_OFFSET" case? How about we remove that

Re: [PATCH 4.4 13/36] ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux

2018-03-16 Thread Greg Kroah-Hartman
On Wed, Mar 14, 2018 at 04:31:05PM -0500, Adam Ford wrote: > On Mon, Mar 12, 2018 at 6:29 PM, Ben Hutchings > wrote: > > On Fri, 2018-03-09 at 16:18 -0800, Greg Kroah-Hartman wrote: > >> 4.4-stable review patch. If anyone has any objections, please let me know. >

Re: [PATCH v2 13/13] ARM: dts: ipq8074: Enable few peripherals for hk01 board

2018-03-16 Thread Sricharan R
Hi Abhishek, On 3/16/2018 4:27 PM, Abhishek Sahu wrote: > On 2018-03-16 15:08, Sricharan R wrote: >> Signed-off-by: Sricharan R >> --- >>  arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 103 >> ++ >>  1 file changed, 103 insertions(+) >> >> diff

Re: [PATCH 2/2] seq_file: account everything

2018-03-16 Thread Michal Hocko
On Sat 10-03-18 11:52:52, Alexey Dobriyan wrote: > All it takes to open a file and read 1 byte from it. > > seq_file will be allocated along with any private allocations, > and more importantly seq file buffer which is 1 page by default. OOM badness heuristic will not know about this memory

Re: [PATCH] mm/shmem: Do not wait for lock_page() in shmem_unused_huge_shrink()

2018-03-16 Thread Tetsuo Handa
f2fs is doing page = f2fs_pagecache_get_page(inode->i_mapping, 0, FGP_LOCK|FGP_NOWAIT, 0); which calls struct page *pagecache_get_page(inode->i_mapping, 0, FGP_LOCK|FGP_NOWAIT, 0); . Then, can't we define static inline struct page *find_trylock_page(struct address_space *mapping,

Re: [PATCH RFC rebase 3/9] powerpc/64: Use barrier_nospec in syscall entry

2018-03-16 Thread Michael Ellerman
Hi Michal, Thanks for working on this series in the absence of any documentation. Michal Suchánek writes: > On Fri, 16 Mar 2018 15:18:23 +1000 > Nicholas Piggin wrote: > >> On Thu, 15 Mar 2018 20:15:52 +0100 >> Michal Suchanek wrote: >>

Re: [PATCH v4.16-rc5 (3)] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-16 Thread Jason Vas Dias
Good day - RE: On 15/03/2018, Thomas Gleixner wrote: > On Thu, 15 Mar 2018, Jason Vas Dias wrote: >> On 15/03/2018, Thomas Gleixner wrote: >> > On Thu, 15 Mar 2018, jason.vas.d...@gmail.com wrote: >> > >> >> Resent to address reviewer comments. >> > >>

Re: [PATCH] staging: typec: rt1711h typec chip driver

2018-03-16 Thread Mats Karrman
Hi, On 2018-03-16 13:58, Greg KH wrote: On Fri, Mar 16, 2018 at 05:12:49PM +0800, ShuFan Lee wrote: From: ShuFan Lee Richtek RT1711H Type-C chip driver that works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. Add definition of

[PATCH v2 3/5] usb: gadget: Add NO_DMA dummies for DMA mapping API

2018-03-16 Thread Geert Uytterhoeven
Add dummies for usb_gadget_{,un}map_request{,_by_dev}(), to allow compile-testing if NO_DMA=y. This prevents the following from showing up later: ERROR: "usb_gadget_unmap_request_by_dev" [drivers/usb/renesas_usbhs/renesas_usbhs.ko] undefined! ERROR: "usb_gadget_map_request_by_dev"

[PATCH v2 18/21] serial: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
Remove dependencies on HAS_DMA where a Kconfig symbol depends on another symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". In most cases this other symbol is an architecture or platform specific symbol, or PCI. Generic symbols and drivers without platform dependencies keep their

[RT PATCH 2/2] Revert "cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep"

2018-03-16 Thread Sebastian Andrzej Siewior
This reverts commit "cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep". Since cpu_chill() is now using schedule_hrtimeout() we can remove that change since we have no users for it. Cc: stable...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior ---

Re: [PATCH v2 00/36] remove in-kernel syscall invocations (part 1)

2018-03-16 Thread Al Viro
On Fri, Mar 16, 2018 at 01:54:23AM -0700, Christoph Hellwig wrote: > On Thu, Mar 15, 2018 at 05:54:27PM -0700, Linus Torvalds wrote: > > Yes. And honestly, I'd rather have these kinds of "just change the > > calling convention" almost automated patches separately - and then the > > cleanups later.

[RT PATCH 1/2] kernel/cpu_chill: use schedule_hrtimeout()

2018-03-16 Thread Sebastian Andrzej Siewior
cpu_chill() uses __hrtimer_nanosleep() with a hack to get TASK_UNINTERRUPTIBLE state. It seems to work but it does not. The problem is that we may have a signal pending and receive a sporadic wake up _before_ the timer expires. At that point the code will look at ->restart_block and use it based

Re: [PATCH v3 07/11] mmc: sdhci: Program a relatively accurate SW timeout value

2018-03-16 Thread Adrian Hunter
On 16/03/18 08:29, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 15 March 2018 06:43 PM, Adrian Hunter wrote: >> On 07/03/18 15:20, Kishon Vijay Abraham I wrote: >>> sdhci has a 10 second timeout to catch devices that stop responding. >>> Instead of programming 10 second arbitrary value,

Re: [PATCH 8/8] trace_uprobe/sdt: Document about reference counter

2018-03-16 Thread Masami Hiramatsu
On Fri, 16 Mar 2018 15:12:38 +0530 Ravi Bangoria wrote: > On 03/15/2018 06:17 PM, Masami Hiramatsu wrote: > > Hi Ravi, > > > > On Wed, 14 Mar 2018 20:52:59 +0530 > > Ravi Bangoria wrote: > > > >> On 03/14/2018 07:20 PM, Masami

Re: [RFC PATCH 1/2] ftrace: Allow arches to opt-out of static ftrace

2018-03-16 Thread Steven Rostedt
On Sat, 17 Mar 2018 00:46:32 +1100 Michael Ellerman wrote: > There is a small but non-zero amount of code required by arches to > suppory non-dynamic (static) ftrace, and more importantly there is the > added work of testing both configurations. > > There are also almost no

[PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
Remove dependencies on HAS_DMA where a Kconfig symbol depends on another symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". In most cases this other symbol is an architecture or platform specific symbol, or PCI. Generic symbols and drivers without platform dependencies keep their

Re: arm64 kvm built with clang doesn't boot

2018-03-16 Thread Andrey Konovalov
On Fri, Mar 16, 2018 at 3:31 PM, Mark Rutland wrote: > > FWIW, with that same compiler and patch applied atop of v4.16-rc4, and > some bodges around clang not liking the rX register naming in the SMCCC > code, I get a kernel that boots on my Juno, though I immediately hit a

[PATCH 2/2] irqchip/gic-v3: Loudly complain about the use of IRQ_TYPE_NONE

2018-03-16 Thread Marc Zyngier
There is a huge number of broken device trees out there. Just grepping through the tree for the use of IRQ_TYPE_NONE in conjunction with the GIC is scary. People just don't realise that IRQ_TYPE_NONE just doesn't exist, and you just get whatever junk was there before. So let's make them aware of

[PATCH 1/2] irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE

2018-03-16 Thread Marc Zyngier
There is a huge number of broken device trees out there. Just grepping through the tree for the use of IRQ_TYPE_NONE in conjunction with the GIC is scary. People just don't realise that IRQ_TYPE_NONE just doesn't exist, and you just get whatever junk was there before. So let's make them aware of

[PATCH 0/2] nvmem: meson-efuse: add write support

2018-03-16 Thread Jerome Brunet
This changeset adds write support to meson efuse driver. The first patch just changes the way the nvmem data are allocated w/o any functional changes. The second patches actually adds write support. The memory being an OTP, it is safer if it remains read-only by default, which is why I also

[PATCH 1/2] nvmem: meson-efuse: remove econfig global

2018-03-16 Thread Jerome Brunet
Having a global structure holding a reference to the device structure is not very nice. Allocate the econfig instead and fill the nvmem information as before Signed-off-by: Jerome Brunet --- drivers/nvmem/meson-efuse.c | 25 ++--- 1 file changed, 14

[PATCH 2/2] nvmem: meson-efuse: add write support

2018-03-16 Thread Jerome Brunet
Add write support to the meson-gx efuse driver. Beware, this efuse is one time programmable ! Signed-off-by: Jerome Brunet --- drivers/nvmem/meson-efuse.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/nvmem/meson-efuse.c

Re: Do we need to disable preemption in flush_tlb_range()?

2018-03-16 Thread Alexey Brodkin
Hi Peter, On Fri, 2018-03-16 at 11:11 +0100, Peter Zijlstra wrote: > On Thu, Mar 15, 2018 at 09:39:31AM +, Alexey Brodkin wrote: > > Hi Peter, > > > > On Thu, 2018-03-15 at 09:27 +0100, Peter Zijlstra wrote: > > > On Wed, Mar 14, 2018 at 01:19:01PM -0700, Vineet Gupta wrote: > > > > +CC

Re: [v2] ARM: davinci: fix the GPIO lookup for omapl138-hawk

2018-03-16 Thread Sekhar Nori
On Thursday 15 March 2018 10:05 PM, David Lechner wrote: > On 03/01/2018 04:34 AM, Bartosz Golaszewski wrote: >> From: Bartosz Golaszewski >> >> The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that >> mmc can correctly lookup the wp and cp gpios. >> >>

Re: [PATCH] Revert "mm: page_alloc: skip over regions of invalid pfns where possible"

2018-03-16 Thread Michal Hocko
On Fri 16-03-18 15:38:55, Daniel Vacek wrote: > This reverts commit b92df1de5d289c0b5d653e72414bf0850b8511e0. The commit > is meant to be a boot init speed up skipping the loop in memmap_init_zone() > for invalid pfns. But given some specific memory mapping on x86_64 (or more > generally

[PATCH v6] watchdog: add SPDX identifiers for watchdog subsystem

2018-03-16 Thread Marcus Folkesson
- Add SPDX identifier - Remove boiler plate license text - If MODULE_LICENSE and boiler plate does not match, go for boiler plate license Signed-off-by: Marcus Folkesson Acked-by: Adam Thomson Acked-by: Baruch Siach

Re: [PATCH] Revert "mm: page_alloc: skip over regions of invalid pfns where possible"

2018-03-16 Thread Daniel Vacek
Sorry I forgot to Cc: Paul Burton --nX On Fri, Mar 16, 2018 at 3:38 PM, Daniel Vacek wrote: > This reverts commit b92df1de5d289c0b5d653e72414bf0850b8511e0. The commit > is meant to be a boot init speed up skipping the loop in memmap_init_zone() > for

[PATCH 3.18 02/25] MIPS: BMIPS: Do not mask IPIs during suspend

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Justin Chen commit 06a3f0c9f2725f5d7c63c4203839373c9bd00c28 upstream. Commit a3e6c1eff548 ("MIPS: IRQ: Fix disable_irq on CPU IRQs") fixes an issue where disable_irq

[PATCH 3.18 00/25] 3.18.100-stable review

2018-03-16 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.100 release. There are 25 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 Sun Mar 18 15:22:18 UTC 2018. Anything

[PATCH 3.18 01/25] scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: himanshu.madh...@cavium.com commit 1514839b366417934e2f1328edb50ed1e8a719f5 upstream. This patch fixes NULL pointer crash due to active timer running for abort

[PATCH 3.18 09/25] netfilter: IDLETIMER: be syzkaller friendly

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit cfc2c740533368b96e2be5e0a4e8c3cace7d9814 upstream. We had one report from syzkaller [1] First issue is that INIT_WORK() should be done before

[PATCH 3.18 07/25] netfilter: x_tables: fix missing timer initialization in xt_LED

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni commit 10414014bc085aac9f787a5890b33b5605fbcfc4 upstream. syzbot reported that xt_LED may try to use the ledinternal->timer without previously initializing it:

[PATCH 4.9 05/86] scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: himanshu.madh...@cavium.com commit 1514839b366417934e2f1328edb50ed1e8a719f5 upstream. This patch fixes NULL pointer crash due to active timer running for abort

[PATCH 4.9 03/86] RDMA/mlx5: Fix integer overflow while resizing CQ

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 28e9091e3119933c38933cb8fc48d5618eb784c8 upstream. The user can provide very large cqe_size which will cause to integer overflow as it can be seen

[PATCH 4.4 45/63] ext4: inplace xattr block update fails to deduplicate blocks

2018-03-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit ec00022030da5761518476096626338bd67df57a upstream. When an xattr block has a single reference, block is updated inplace and it is reinserted to the

[PATCH 4.4 47/63] scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport

2018-03-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Quinn Tran commit 063b36d6b0ad74c748d536f5cb47bac2f850a0fa upstream. Current code manually allocate an fcport structure that is not properly initialize. Replace kzalloc

[PATCH 4.9 09/86] drm/nouveau: Fix deadlock on runtime suspend

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit d61a5c1063515e855bedb1b81e20e50b0ac3541e upstream. nouveau's ->runtime_suspend hook calls drm_kms_helper_poll_disable(), which waits for the output poll

[PATCH 4.9 20/86] Input: matrix_keypad - fix race when disabling interrupts

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Zhang Bo commit ea4f7bd2aca9f68470e9aac0fc9432fd180b1fe7 upstream. If matrix_keypad_stop() is executing and the keypad interrupt is triggered, disable_row_irqs() may be called

[PATCH 4.9 07/86] workqueue: Allow retrieval of current tasks work struct

2018-03-16 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 27d4ee03078aba88c5e07dcc4917e8d01d046f38 upstream. Introduce a helper to retrieve the current task's work struct if it is a workqueue worker. This allows

Re: [PATCH] kernel/rtmutex: Handle non enqueued waiters gracefully in remove_waiter()

2018-03-16 Thread Peter Zijlstra
On Mon, Mar 12, 2018 at 03:28:45PM +0100, Sebastian Andrzej Siewior wrote: > In -RT task_blocks_on_rt_mutex() may return with -EAGAIN due to > (->pi_blocked_on == PI_WAKEUP_INPROGRESS) before it added itself as a > waiter. In such a case we must not call remove_waiter() because without > a waiter

Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0

2018-03-16 Thread Greg KH
On Tue, Mar 13, 2018 at 08:44:49PM +0100, Jacek Anaszewski wrote: > On 03/13/2018 02:27 PM, Pavel Machek wrote: > > Hi! > > > At least 7b6af2c531 ("leds: core: Fix regression caused by commit > 2b83ff96f51d") is missing, causing visible regressions (LEDs not working > at >

Re: [PATCH] staging: typec: rt1711h typec chip driver

2018-03-16 Thread Greg KH
On Fri, Mar 16, 2018 at 05:12:49PM +0800, ShuFan Lee wrote: > From: ShuFan Lee > > Richtek RT1711H Type-C chip driver that works with > Type-C Port Controller Manager to provide USB PD and > USB Type-C functionalities. > Add definition of TCPC_CC_STATUS_TOGGLING. > >

Re: [PATCH 8/9] x86/dumpstack: Save first regs set for the executive summary

2018-03-16 Thread Josh Poimboeuf
On Fri, Mar 16, 2018 at 01:11:17PM +0100, Borislav Petkov wrote: > On Fri, Mar 16, 2018 at 07:01:12AM -0500, Josh Poimboeuf wrote: > > Hm, the "Code: Bad RIP value" will always be shown for syscall regs, > > which will probably cause some unnecessary confusion/worry. Should we > > just skip

[RFC PATCH 1/2] ftrace: Allow arches to opt-out of static ftrace

2018-03-16 Thread Michael Ellerman
There is a small but non-zero amount of code required by arches to suppory non-dynamic (static) ftrace, and more importantly there is the added work of testing both configurations. There are also almost no down sides to dynamic ftrace once it's well tested, other than a small increase in

Re: [PATCH v5 2/2] hwmon: (ucd9000) Add debugfs attributes to provide mfr_status

2018-03-16 Thread Guenter Roeck
On 03/15/2018 03:21 PM, Eddie James wrote: From: Christopher Bostic Expose the gpiN_fault fields of mfr_status as individual debugfs attributes. This provides a way for users to be easily notified of gpi faults. Also provide the whole mfr_status register in debugfs.

[RFC PATCH 2/2] powerpc: Only support DYNAMIC_FTRACE not static

2018-03-16 Thread Michael Ellerman
We've had dynamic ftrace support for over 9 years since Steve first wrote it, all the distros use dynamic, and static is basically untested these days, so drop support for static ftrace. Signed-off-by: Michael Ellerman --- arch/powerpc/Kconfig | 1

[PATCH v4 6/9] dt-bindings: add device tree binding for Allwinner H6 main CCU

2018-03-16 Thread Icenowy Zheng
The Allwinner H6 main CCU uses the internal oscillator of the SoC, which is different with old SoCs' main CCU. Add device tree binding for the Allwinner H6 main CCU. Signed-off-by: Icenowy Zheng --- Extracted in v4. Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 4

[PATCH v4 1/9] pinctrl: sunxi: refactor irq related register function to have desc

2018-03-16 Thread Icenowy Zheng
As the new H6 SoC has holes in the IRQ registers, refactor the IRQ related register function for getting the full pinctrl desc structure. Signed-off-by: Icenowy Zheng --- Changes in v4: - Adjusted parameter sequence. Patch introduced in v3.

[PATCH v4 7/7] x86/kvm: use Enlightened VMCS when running on Hyper-V

2018-03-16 Thread Vitaly Kuznetsov
Enlightened VMCS is just a structure in memory, the main benefit besides avoiding somewhat slower VMREAD/VMWRITE is using clean field mask: we tell the underlying hypervisor which fields were modified since VMEXIT so there's no need to inspect them all. Tight CPUID loop test shows significant

[PATCH v4 4/7] x86/hyper-v: allocate and use Virtual Processor Assist Pages

2018-03-16 Thread Vitaly Kuznetsov
Virtual Processor Assist Pages usage allows us to do optimized EOI processing for APIC, enable Enlightened VMCS support in KVM and more. struct hv_vp_assist_page is defined according to the Hyper-V TLFS v5.0b. Signed-off-by: Vitaly Kuznetsov --- Changes since v3: - remove

[PATCH v4 6/7] x86/hyper-v: detect nested features

2018-03-16 Thread Vitaly Kuznetsov
TLFS 5.0 says: "Support for an enlightened VMCS interface is reported with CPUID leaf 0x4004. If an enlightened VMCS interface is supported, additional nested enlightenments may be discovered by reading the CPUID leaf 0x400A (see 2.4.11)." Signed-off-by: Vitaly Kuznetsov

Re: [PATCH v3] vsprintf: Prevent crash when dereferencing invalid pointers

2018-03-16 Thread Steven Rostedt
On Fri, 16 Mar 2018 09:55:56 +0100 Petr Mladek wrote: > I am not sure if it is worth it. I think that we would catch 99% of > problems by checking the first byte. Then it should be commented as such. Something like: /* * This is not a fool-proof test. 99.9% of the time

[tip:perf/core] perf: Fix sibling iteration

2018-03-16 Thread tip-bot for Peter Zijlstra
Commit-ID: 7eb709f29593aced51901cb53565477762800722 Gitweb: https://git.kernel.org/tip/7eb709f29593aced51901cb53565477762800722 Author: Peter Zijlstra AuthorDate: Thu, 15 Mar 2018 17:36:56 +0100 Committer: Thomas Gleixner CommitDate: Fri, 16

Re: arm64 kvm built with clang doesn't boot

2018-03-16 Thread Andrey Konovalov
On Fri, Mar 16, 2018 at 3:13 PM, Mark Rutland wrote: > I think that patch is our best bet currently, but to save ourselves pain > in future it would be *really* nice if GCC and clang could provide an > option line -fno-absolute-addressing that would implicitly disable any >

RE

2018-03-16 Thread Sheng li Hung
I am Mr.Sheng Li Hung, from china I got your information while search for a reliable person, I have a very profitable business proposition for you and i can assure you that you will not regret been part of this mutual beneficial transaction after completion. Kindly get back to me for more details

[PATCH v2 00/21] Allow compile-testing NO_DMA (drivers)

2018-03-16 Thread Geert Uytterhoeven
Hi all, If NO_DMA=y, get_dma_ops() returns a reference to the non-existing symbol bad_dma_ops, thus causing a link failure if it is ever used. The intention of this is twofold: 1. To catch users of the DMA API on systems that do no support the DMA mapping API, 2. To avoid

Re: [PATCH] ARM: davinci: DA8XX: fix oops in USB PHY driver due to stack allocated platform platform_data

2018-03-16 Thread David Lechner
On 03/16/2018 05:17 AM, Sekhar Nori wrote: On Thursday 15 March 2018 11:32 PM, David Lechner wrote: This fixes a possible kernel oops due to using stack allocated platform data for the USB PHY driver on DA8XX devices. If the platform device probe is deferred, then we get a corrupt pointer for

[PATCH 4.4 00/63] 4.4.122-stable review

2018-03-16 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.122 release. There are 63 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 Sun Mar 18 15:22:41 UTC 2018. Anything

[PATCH 4.4 07/63] drm/nouveau: Fix deadlock on runtime suspend

2018-03-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit d61a5c1063515e855bedb1b81e20e50b0ac3541e upstream. nouveau's ->runtime_suspend hook calls drm_kms_helper_poll_disable(), which waits for the output poll

[PATCH 4.4 05/63] workqueue: Allow retrieval of current tasks work struct

2018-03-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 27d4ee03078aba88c5e07dcc4917e8d01d046f38 upstream. Introduce a helper to retrieve the current task's work struct if it is a workqueue worker. This allows

[PATCH 3.18 16/25] x86: Treat R_X86_64_PLT32 as R_X86_64_PC32

2018-03-16 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: H.J. Lu commit b21ebf2fb4cde1618915a97cc773e287ff49173e upstream. On i386, there are 2 types of PLTs, PIC and non-PIC. PIE and shared objects must use PIC PLT. To use

[PATCH 4.4 24/63] ALSA: hda: add dock and led support for HP EliteBook 820 G3

2018-03-16 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dennis Wassenberg commit aea808172018ca01abf53db808323aed23281835 upstream. This patch adds missing initialisation for HP 2013 UltraSlim Dock Line-In/Out PINs

[PATCH 4.14 024/109] earlycon: add reg-offset to physical address before mapping

2018-03-16 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Greentime Hu commit 1f66dd36bb18437397ea0d7882c52f7e3c476e15 upstream. It will get the wrong virtual address because port->mapbase is not added the correct reg-offset yet.

[PATCH 4.14 000/109] 4.14.28-stable review

2018-03-16 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.28 release. There are 109 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 Sun Mar 18 15:22:53 UTC 2018. Anything

[PATCH 4.14 041/109] sched: Stop resched_cpu() from sending IPIs to offline CPUs

2018-03-16 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" [ Upstream commit a0982dfa03efca6c239c52cabebcea4afb93ea6b ] The rcutorture test suite occasionally provokes a splat due to invoking

[PATCH 4.14 011/109] serial: sh-sci: prevent lockup on full TTY buffers

2018-03-16 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ulrich Hecht commit 7842055bfce4bf0170d0f61df8b2add8399697be upstream. When the TTY buffers fill up to the configured maximum, a system lockup occurs: [

Re: arc_usr_cmpxchg and preemption

2018-03-16 Thread Vineet Gupta
On 03/16/2018 10:33 AM, Alexey Brodkin wrote: Hi Peter, Vineet, On Wed, 2018-03-14 at 18:53 +0100, Peter Zijlstra wrote: On Wed, Mar 14, 2018 at 09:58:19AM -0700, Vineet Gupta wrote: Well it is broken wrt the semantics the syscall is supposed to provide. Preemption disabling is what prevents

Re: [ANNOUNCE] Git v2.17.0-rc0

2018-03-16 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason writes: > On Fri, Mar 16 2018, Junio C. Hamano jotted: > >> gitweb: hard-depend on the Digest::MD5 5.8 module > > I've just noticed this now, but while this module is in 5.8 RedHat's > butchered perl doesn't have it in the base system, thus this

Re: [PATCH 4.4 00/63] 4.4.122-stable review

2018-03-16 Thread Nathan Chancellor
On Fri, Mar 16, 2018 at 04:22:32PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.122 release. > There are 63 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

[PATCH v5 7/9] test_sysctl: Add ctl_table registration failure test

2018-03-16 Thread Waiman Long
Incorrect sysctl tables are constructed and fed to the register_sysctl_table() function in the test_sysctl kernel module. The function is supposed to fail the registration of those tables or an error will be printed if no failure is returned. The registration failures will cause other warning and

[PATCH v5 8/9] ipc: Allow boot time extension of IPCMNI from 32k to 2M

2018-03-16 Thread Waiman Long
The maximum number of unique System V IPC identifiers was limited to 32k. That limit should be big enough for most use cases. However, there are some users out there requesting for more. To satisfy the need of those users, a new boot time kernel option "ipcmni_extend" is added to extend the

Re: [RESEND PATCH v2] sched/fair: Remove check in idle_balance against migration_cost

2018-03-16 Thread Rohit Jain
On 03/16/2018 10:42 AM, Peter Zijlstra wrote: You need to look at: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/ my queue.git is the sporadic push of my quilt tree on top of that. Thanks found it! I will re-test and send v3 as needed.

[PATCH v5 9/9] ipc: Conserve sequence numbers in extended IPCMNI mode

2018-03-16 Thread Waiman Long
The mixing in of a sequence number into the IPC IDs is probably to avoid ID reuse in userspace as much as possible. With extended IPCMNI mode, the number of usable sequecne numbers is greatly reduced leading to higher chance of ID reuse. To address this issue, we need to conserve the sequence

[PATCH v5 0/9] ipc: Clamp *mni to the real IPCMNI limit & increase that limit

2018-03-16 Thread Waiman Long
v4->v5: - Revert the flags back to 16-bit so that there will be no change to the size of ctl_table. - Enhance the sysctl_check_flags() as requested by Luis to perform more checks to spot incorrect ctl_table entries. - Change the sysctl selftest to use dummy sysctls instead of production

[PATCH v5 5/9] ipc: Clamp semmni to the real IPCMNI limit

2018-03-16 Thread Waiman Long
For SysV semaphores, the semmni value is the last part of the 4-element sem number array. To make semmni behave in a similar way to msgmni and shmmni, we can't directly use the _minmax handler. Instead, a special sem specific handler is added to check the last argument to make sure that it is

[PATCH v5 6/9] test_sysctl: Add range clamping test

2018-03-16 Thread Waiman Long
Add a range clamping test to verify that the input value will be clamped if it exceeds the builtin maximum or minimum value. Below is the expected test run result: Running test: sysctl_test_0006 - run #0 Checking range minimum clamping ... ok Checking range maximum clamping ... ok Checking range

Re: [PATCH v4 3/4] PCI: hv: Remove hbus->enum_sem

2018-03-16 Thread Lorenzo Pieralisi
On Fri, Mar 16, 2018 at 05:41:27PM +, Dexuan Cui wrote: > > From: Lorenzo Pieralisi > > Sent: Friday, March 16, 2018 03:54 > > ... > > Dexuan, > > while applying/updating these patches I notice this one may be squashed > > into:

Re: [PATCH net-next] net: ethernet: ti: cpsw: enable vlan rx vlan offload

2018-03-16 Thread David Miller
From: Andrew Lunn Date: Fri, 16 Mar 2018 01:29:35 +0100 > On Thu, Mar 15, 2018 at 03:15:50PM -0500, Grygorii Strashko wrote: >> In VLAN_AWARE mode CPSW can insert VLAN header encapsulation word on Host >> port 0 egress (RX) before the packet data if RX_VLAN_ENCAP bit is set in >>

Re: [PATCH 2/2] kprobe: fix: Add ftrace_ops_assist_func to kprobe blacklist

2018-03-16 Thread Steven Rostedt
On Fri, 16 Mar 2018 13:53:01 -0400 (EDT) Mathieu Desnoyers wrote: > Would the general approach you envision be based on emitting all code > generated by compilation of all objects under kernel/tracing and > kernel/events into a specific "nokprobes" text section of

Re: [PATCH v6 11/15] mm, fs, dax: handle layout changes to pinned dax mappings

2018-03-16 Thread Christoph Hellwig
Looks good (at least up to my comprehension of the mm code :)) Reviewed-by: Christoph Hellwig

Re: [PATCH v2 03/36] mm: use do_futex() instead of sys_futex() in mm_release()

2018-03-16 Thread Andy Lutomirski
On Fri, Mar 16, 2018 at 6:43 PM, Darren Hart wrote: > On Thu, Mar 15, 2018 at 08:04:56PM +0100, Dominik Brodowski wrote: >> sys_futex() is a wrapper to do_futex() which does not modify any >> values here: >> >> - uaddr, val and val3 are kept the same >> >> - op is masked

Re: [PATCH v6 12/15] xfs: require mmap lock for xfs_break_layouts()

2018-03-16 Thread Dan Williams
On Fri, Mar 16, 2018 at 12:04 PM, Christoph Hellwig wrote: > On Thu, Mar 15, 2018 at 08:52:29AM -0700, Dan Williams wrote: >> In preparation for adding coordination between truncate operations and >> busy dax-pages, extend xfs_break_layouts() to assume it must be called >> with the

Re: [PATCH v6 15/15] xfs, dax: introduce xfs_break_dax_layouts()

2018-03-16 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

[PATCH 04/14] mm/hmm: hmm_pfns_bad() was accessing wrong struct

2018-03-16 Thread jglisse
From: Jérôme Glisse The private field of mm_walk struct point to an hmm_vma_walk struct and not to the hmm_range struct desired. Fix to get proper struct pointer. Signed-off-by: Jérôme Glisse Cc: sta...@vger.kernel.org Cc: Evgeny Baskakov

[PATCH 32/35] x86/ldt: Enable LDT user-mapping for PAE

2018-03-16 Thread Joerg Roedel
From: Joerg Roedel This adds the needed special case for PAE to get the LDT mapped into the user page-table when PTI is enabled. The big difference to the other paging modes is that we don't have a full top-level PGD entry available for the LDT, but only PMD entry.

[PATCH 33/35] x86/pti: Allow CONFIG_PAGE_TABLE_ISOLATION for x86_32

2018-03-16 Thread Joerg Roedel
From: Joerg Roedel Allow PTI to be compiled on x86_32. Signed-off-by: Joerg Roedel --- security/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Kconfig b/security/Kconfig index b0cb9a5..93d85fd 100644 ---

[PATCH 26/35] x86/mm/pti: Clone CPU_ENTRY_AREA on PMD level on x86_32

2018-03-16 Thread Joerg Roedel
From: Joerg Roedel Cloning on the P4D level would clone the complete kernel address space into the user-space page-tables for PAE kernels. Cloning on PMD level is fine for PAE and legacy paging. Signed-off-by: Joerg Roedel --- arch/x86/mm/pti.c | 20

<    5   6   7   8   9   10   11   12   13   14   >