[PATCH 4.4 28/67] cpufreq: Add Loongson machine dependencies

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan [ Upstream commit 0d307935fefa6389eb726c6362351c162c949101 ] The MIPS loongson cpufreq drivers don't build unless configured for the correct machine type, due to dependency on mach

[PATCH 4.4 59/67] USB: serial: io_edgeport: fix possible sleep-in-atomic

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jia-Ju Bai commit c7b8f77872c73f69a16528a9eb87afefcccdc18b upstream. According to drivers/usb/serial/io_edgeport.c, the driver may sleep under a spinlock. The function call path is: edge_bulk_i

[PATCH 4.4 57/67] USB: cdc-acm: Do not log urb submission errors on disconnect

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit f0386c083c2ce85284dc0b419d7b89c8e567c09f upstream. When disconnected sometimes the cdc-acm driver logs errors like these: [20278.039417] cdc_acm 2-2:2.1: urb 9 failed subm

[PATCH 4.4 54/67] staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger [ Upstream commit b77992d2df9e47144354d1b25328b180afa33442 ] When not associated with an AP, wifi device drivers should respond to the SIOCGIWESSID ioctl with a zero-length string

[PATCH 4.4 27/67] ACPI / bus: Leave modalias empty for devices which are not present

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede [ Upstream commit 10809bb976648ac58194a629e3d7af99e7400297 ] Most Bay and Cherry Trail devices use a generic DSDT with all possible peripheral devices present in the DSDT, with t

[PATCH 4.4 53/67] usb: gadget: dont dereference g until after it has been null checked

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit b2fc059fa549fe6881d4c1f8d698b0f50bcd16ec ] Avoid dereferencing pointer g until after g has been sanity null checked; move the assignment of cdev much later whe

[PATCH 4.4 52/67] media: usbtv: add a new usbid

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng [ Upstream commit 04226916d2360f56d57ad00bc48d2d1854d1e0b0 ] A new usbid of UTV007 is found in a newly bought device. The usbid is 1f71:3301. The ID on the chip is: UTV007 A890

[PATCH 4.4 51/67] scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" [ Upstream commit 727535903bea924c4f73abb202c4b3e85fff0ca4 ] _vreg_ is being dereferenced before it is null checked, hence there is a potential null pointer dereference.

[PATCH 4.4 50/67] scsi: aacraid: Prevent crash in case of free interrupt during scsi EH path

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "Guilherme G. Piccoli" [ Upstream commit e4717292ddebcfe231651b5aff9fa19ca158d178 ] As part of the scsi EH path, aacraid performs a reinitialization of the adapter, which encompass freeing res

Re: [PATCH 4/6] nvme-pci: break up nvme_timeout and nvme_dev_disable

2018-02-02 Thread Keith Busch
On Fri, Feb 02, 2018 at 03:00:47PM +0800, Jianchao Wang wrote: > Currently, the complicated relationship between nvme_dev_disable > and nvme_timeout has become a devil that will introduce many > circular pattern which may trigger deadlock or IO hang. Let's > enumerate the tangles between them: > -

[PATCH 4.4 47/67] kmemleak: add scheduling point to kmemleak_scan()

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Yisheng Xie [ Upstream commit bde5f6bc68db51128f875a756e9082a6c6ff7b4c ] kmemleak_scan() will scan struct page for each node and it can be really large and resulting in a soft lockup. We have

[PATCH 4.4 46/67] SUNRPC: Allow connect to return EHOSTUNREACH

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust [ Upstream commit 4ba161a793d5f43757c35feff258d9f20a082940 ] Reported-by: Dmitry Vyukov Signed-off-by: Trond Myklebust Tested-by: Dmitry Vyukov Signed-off-by: Anna Schumaker

[PATCH 4.4 03/67] x86: bpf_jit: small optimization in emit_bpf_tail_call()

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ upstream commit 84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c ] Saves 4 bytes replacing following instructions : lea rax, [rsi + rdx * 8 + offsetof(...)] mov rax, qword ptr [rax] cmp

[PATCH 4.4 41/67] nfsd: check for use of the closed special stateid

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Elble [ Upstream commit ae254dac721d44c0bfebe2795df87459e2e88219 ] Prevent the use of the closed (invalid) special stateid by clients. Signed-off-by: Andrew Elble Signed-off-by: J. Br

[PATCH 4.4 40/67] grace: replace BUG_ON by WARN_ONCE in exit_net hook

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin [ Upstream commit b872285751c1af010e12d02bce7069e2061a58ca ] Signed-off-by: Vasily Averin Signed-off-by: J. Bruce Fields Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-H

Re: [PATCH v6] checkpatch.pl: Add SPDX license tag check

2018-02-02 Thread Rob Herring
On Fri, Feb 2, 2018 at 9:49 AM, Igor Stoppa wrote: > On 02/02/18 17:40, Rob Herring wrote: >> Add SPDX license tag check based on the rules defined in > > Shouldn't it also check that the license is compatible? > Perhaps we shouldn't try to script legal advice. > [...] > >> +

Re: [RFC PATCH v1 12/13] mm: split up release_pages into non-sentinel and sentinel passes

2018-02-02 Thread Laurent Dufour
On 02/02/2018 15:40, Laurent Dufour wrote: > > > On 01/02/2018 00:04, daniel.m.jor...@oracle.com wrote: >> A common case in release_pages is for the 'pages' list to be in roughly >> the same order as they are in their LRU. With LRU batch locking, when a >> sentinel page is removed, an adjacent n

[PATCH 4.4 00/67] 4.4.115-stable review

2018-02-02 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.115 release. There are 67 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 Feb 4 14:07:31 UTC 2018. Anything receiv

[PATCH 4.4 09/67] bpf: fix 32-bit divide by zero

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexei Starovoitov [ upstream commit 68fda450a7df51cff9e5a4d4a4d9d0d5f2589153 ] due to some JITs doing if (src_reg == 0) check in 64-bit mode for div/mod operations mask upper 32-bits of src re

[PATCH 4.4 06/67] bpf: arsh is not supported in 32 bit alu thus reject it

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ upstream commit 7891a87efc7116590eaba57acc3c422487802c6f ] The following snippet was throwing an 'unknown opcode cc' warning in BPF interpreter: 0: (18) r0 = 0x0 2: (7b)

[PATCH 4.4 20/67] igb: Free IRQs when device is hotplugged

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit 888f22931478a05bc81ceb7295c626e1292bf0ed upstream. Recently I got a Caldigit TS3 Thunderbolt 3 dock, and noticed that upon hotplugging my kernel would immediately crash due to

[PATCH 4.4 16/67] power: reset: zx-reboot: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jesse Chan commit 348c7cf5fcbcb68838255759d4cb45d039af36d2 upstream. This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE()

[PATCH 4.4 02/67] bpf: fix branch pruning logic

2018-02-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexei Starovoitov [ Upstream commit c131187db2d3fa2f8bf32fdf4e9a4ef805168467 ] when the verifier detects that register contains a runtime constant and it's compared with another constant it wi

Re: [Xen-devel] [PATCH v2] x86/xen: init %gs very early to avoid page faults with stack protector

2018-02-02 Thread Chris Patterson
On Fri, Feb 2, 2018 at 12:56 AM, Juergen Gross wrote: > On 02/02/18 01:36, Chris Patterson wrote: >> Works great, tested it and it fixes booting Linux v4.15 kernel for me :) > > Can I add your "Tested-by:" to the patch when committing it? > > Sure thing, have a great day.

Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance

2018-02-02 Thread Steven Sistare
On 2/2/2018 12:39 PM, Steven Sistare wrote: > On 2/2/2018 12:21 PM, Peter Zijlstra wrote: >> On Fri, Feb 02, 2018 at 11:53:40AM -0500, Steven Sistare wrote: >>> It might be interesting to add a tunable for the number of random choices to >>> make, and clamp it at the max nr computed from avg_cost i

Re: [PATCH net] Revert "defer call to mem_cgroup_sk_alloc()"

2018-02-02 Thread Eric Dumazet
On Fri, 2018-02-02 at 18:06 +, Roman Gushchin wrote: > > Idk, how even we can hit it? And if so, what scary will happen? > > If you prefer to have it there, I definitely can return it, > but I see no profit so far. I was simply curious this was not mentioned in the changelog. A revert is no

Re: [kernel-hardening] [PATCH 4/6] Protectable Memory

2018-02-02 Thread Christopher Lameter
On Thu, 25 Jan 2018, Matthew Wilcox wrote: > It's worth having a discussion about whether we want the pmalloc API > or whether we want a slab-based API. We can have a separate discussion > about an API to remove pages from the physmap. We could even do this in a more thorough way. Can we use a r

[PATCH v1 1/8] parport: Add support for BrainBoxes PX272/PX306 MIO card

2018-02-02 Thread Andy Shevchenko
This adds support for BrainBoxes Multi I/O cards (4+1 serial + 1 parallel port): 02:00.0 0702: 135a:4100 (rev 02) Subsystem: 135a:0443 Flags: fast devsel, IRQ 18 Memory at f7d02000 (32-bit, non-prefetchable) [size=128] I/O ports at e000 [size=128] I/O ports

[PATCH v1 2/8] parport: PCI core handles power state for us

2018-02-02 Thread Andy Shevchenko
From: Andy Shevchenko There is no need to repeat the work that is already done in the PCI driver core. The patch removes excerpts from suspend and resume callbacks. Note that there is no more calls performed to enable or disable a PCI device during suspend-resume cycle. Nowadays they seems to be

[PATCH v1 5/8] parport: Convert printk(KERN_WARN) to dev_warn()

2018-02-02 Thread Andy Shevchenko
dev_warn() will print device name with associated driver, no need to keep this open coded. While here, adjust indentation in the rest of dev_dbg() calls. Signed-off-by: Andy Shevchenko --- drivers/parport/parport_serial.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff -

[PATCH v1 4/8] parport: Don't shadow error codes in ->probe()

2018-02-02 Thread Andy Shevchenko
When ->probe() calls helper functions return theirs error codes instead of shadowing them. Signed-off-by: Andy Shevchenko --- drivers/parport/parport_serial.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/parport/parport_serial.c b/drivers/parport/parpo

[PATCH v1 6/8] parport: Switch to use module_pci_driver() macro

2018-02-02 Thread Andy Shevchenko
Eliminate some boilerplate code by using module_pci_driver() instead of init/exit, moving the salient bits from init into probe. Signed-off-by: Andy Shevchenko --- drivers/parport/parport_serial.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/parpor

[PATCH v1 8/8] parport: Replace short License header by SPDX identifier

2018-02-02 Thread Andy Shevchenko
No functional changes involved. Signed-off-by: Andy Shevchenko --- drivers/parport/parport_serial.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/parport/parport_serial.c b/drivers/parport/parport_serial.c index e71340014638..ae9e01ef7599 100644 --- a/drivers

[PATCH v1 3/8] parport: Convert to use managed functions pcim_* and devm_*

2018-02-02 Thread Andy Shevchenko
This makes the error handling much more simpler than open-coding everything and in addition makes the probe function smaller an tidier. Signed-off-by: Andy Shevchenko --- drivers/parport/parport_serial.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers

Re: [PATCH 4.4 00/67] 4.4.115-stable review

2018-02-02 Thread Nathan Chancellor
On Fri, Feb 02, 2018 at 05:57:29PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.115 release. > There are 67 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

Re: [PATCH 7/7] Kbuild: lto: pass -m32/-m64 to to LDFINAL

2018-02-02 Thread Nicolas Pitre
On Fri, 2 Feb 2018, Arnd Bergmann wrote: > Building randconfig kernels with a biarch compiler fails with LTO > when the final link uses a different target architecture compared > to the earlier compilation stages. > > Setting -m32 or -m64 in ${LDFINAL} solves this problem, though my > feeling is

[PATCH v1 7/8] parport: Sort headers alphabetically

2018-02-02 Thread Andy Shevchenko
While here, remove init.h inclusion since we are not using it directly and module.h will do this for us. No functional changes intended. Signed-off-by: Andy Shevchenko --- drivers/parport/parport_serial.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/par

Re: [PATCH 1/6] nvme-pci: move clearing host mem behind stopping queues

2018-02-02 Thread Keith Busch
On Fri, Feb 02, 2018 at 03:00:44PM +0800, Jianchao Wang wrote: > Move clearing host mem behind stopping queues. Prepare for > following patch which will grab all the outstanding requests. > > Signed-off-by: Jianchao Wang This one makes sense, though I would alter the change log to something like

Re: [PATCH 3/6] struct page: add field for vm_struct

2018-02-02 Thread Christopher Lameter
On Thu, 1 Feb 2018, Igor Stoppa wrote: > > Would it not be better to use compound page allocations here? > > page_head(whatever) gets you the head page where you can store all sorts > > of information about the chunk of memory. > > Can you please point me to this function/macro? I don't seem to be

Re: [PATCH 1/3] perf tools: Fix period/freq terms setup

2018-02-02 Thread Stephane Eranian
Jiri, On Thu, Feb 1, 2018 at 12:38 AM, Jiri Olsa wrote: > Stephane reported that we don't set properly PERIOD > sample type for events with period term defined. > > Before: > $ perf record -e cpu/cpu-cycles,period=1000/u ls > $ perf evlist -v > cpu/cpu-cycles,period=1000/u: ... sample_type:

Re: [PATCH] KVM: x86: Reduce retpoline performance impact in slot_handle_level_range()

2018-02-02 Thread Linus Torvalds
On Fri, Feb 2, 2018 at 6:59 AM, David Woodhouse wrote: > With retpoline, tight loops of "call this function for every XXX" are > very much pessimised by taking a prediction miss *every* time. > > This one showed up very high in our early testing, and it only has five > things it'll ever call so ma

Re: [PATCH] iommu/vt-d: add NUMA awareness to intel_alloc_coherent()

2018-02-02 Thread Christoph Hellwig
I've got patches pending to replace all that code with dma_direct_alloc, which will do the right thing. They were submitted for 4.16, and I will resend them after -rc1.

Re: [PATCH] iommu/vt-d: add NUMA awareness to intel_alloc_coherent()

2018-02-02 Thread Eric Dumazet
On Fri, Feb 2, 2018 at 10:53 AM, Christoph Hellwig wrote: > I've got patches pending to replace all that code with > dma_direct_alloc, which will do the right thing. They were > submitted for 4.16, and I will resend them after -rc1. I see, thanks Christoph !

Re: [PATCH 2/2] KVM: X86: Add per-VM no-HLT-exiting capability

2018-02-02 Thread Radim Krčmář
2018-02-01 23:11-0800, Wanpeng Li: > From: Wanpeng Li > > If host CPUs are dedicated to a VM, we can avoid VM exits on HLT. > This patch adds the per-VM non-HLT-exiting capability. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Signed-off-by: Wanpeng Li > --- SMM handling needs more work: I thin

Re: [PATCH] drm/msm/adreno/a5xx_debugfs: fix potential NULL pointer dereference

2018-02-02 Thread Rob Clark
On Fri, Feb 2, 2018 at 11:30 AM, Jordan Crouse wrote: > On Fri, Feb 02, 2018 at 06:32:23AM -0600, Gustavo A. R. Silva wrote: >> _minor_ is being dereferenced before it is null checked, hence there >> is a potential null pointer dereference. Fix this by moving the pointer >> dereference after _mino

Re: [PATCH v6] checkpatch.pl: Add SPDX license tag check

2018-02-02 Thread Joe Perches
On Fri, 2018-02-02 at 12:27 -0600, Rob Herring wrote: > On Fri, Feb 2, 2018 at 9:49 AM, Igor Stoppa wrote: > > On 02/02/18 17:40, Rob Herring wrote: > > > Add SPDX license tag check based on the rules defined in > > > > Shouldn't it also check that the license is compatible? > > > > Perhaps we

Re: [PATCH] net: mlx5: remove pointless memcpy

2018-02-02 Thread Jason Gunthorpe
On Fri, Feb 02, 2018 at 04:46:30PM +0100, Arnd Bergmann wrote: > gcc-8 notices that the memcpy in mlx5_core_query_xsrq() makes no > sense because the source and destination variables are identical: > > drivers/net/ethernet/mellanox/mlx5/core/transobj.c: In function > 'mlx5_core_query_xsrq': > dri

Re: [PATCH net] Revert "defer call to mem_cgroup_sk_alloc()"

2018-02-02 Thread Roman Gushchin
On Fri, Feb 02, 2018 at 10:39:04AM -0800, Eric Dumazet wrote: > On Fri, 2018-02-02 at 18:06 +, Roman Gushchin wrote: > > > > Idk, how even we can hit it? And if so, what scary will happen? > > > > If you prefer to have it there, I definitely can return it, > > but I see no profit so far. > >

Re: [PATCH] KVM: x86: Reduce retpoline performance impact in slot_handle_level_range()

2018-02-02 Thread Linus Torvalds
On Fri, Feb 2, 2018 at 10:50 AM, Linus Torvalds wrote: > > Will it make for bigger code? Yes. But probably not really all *that* > much bigger, because of how it also will allow the compiler to > simplify some things. Actually, testing this with my fairly minimal config, it actually makes for *sm

[PATCH] Fix typo IBRS_ATT, which should be IBRS_ALL

2018-02-02 Thread Darren Kenny
Fixes a typo in commit 117cc7a908c83697b0b737d15ae1eb5943afe35b ("x86/retpoline: Fill return stack buffer on vmexit") Signed-off-by: Darren Kenny Reviewed-by: Konrad Rzeszutek Wilk --- arch/x86/include/asm/nospec-branch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x

Re: [PATCH 1/2] iommu: Fix iommu_unmap and iommu_unmap_fast return type

2018-02-02 Thread kbuild test robot
Hi Suravee, I love your patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on v4.15 next-20180202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: asm-generic: Disallow no-op mb() for SMP systems

2018-02-02 Thread kbuild test robot
Hi Peter, I love your patch! Yet something to improve: [auto build test ERROR on asm-generic/master] [also build test ERROR on v4.15 next-20180202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH] KVM: x86: Reduce retpoline performance impact in slot_handle_level_range()

2018-02-02 Thread David Woodhouse
On Fri, 2018-02-02 at 11:10 -0800, Linus Torvalds wrote: > On Fri, Feb 2, 2018 at 10:50 AM, Linus Torvalds > wrote: > > > > > > Will it make for bigger code? Yes. But probably not really all *that* > > much bigger, because of how it also will allow the compiler to > > simplify some things. > > A

Runqueue spinlock recursion on arm64 v4.15

2018-02-02 Thread Mark Rutland
at by hacking a task generation number into each task struct, and embedding this into the lock's owner field. I can try hacking that up next week. Thanks, Mark. [1] https://lkml.kernel.org/r/20170604070911.5sx66m5xnoh2amyd@sasha-lappy [2] https://www.kernel.org/pub/linux/kernel/people/mark/bugs/20180202-rq-spinlock-recursion/

Re: [PATCH] arm64: dts: angler: add pstore-ramoops support

2018-02-02 Thread Bjorn Andersson
On Thu 11 Jan 18:33 PST 2018, Jeremy McNicoll wrote: > On Thu, Dec 28, 2017 at 02:38:29AM -0500, zhuoweizh...@yahoo.com wrote: > > From: Zhuowei Zhang > > > > Support pstore-ramoops for retrieving kernel oops and panics after reboot. > > > > The address and configs are taken from the downstream

Re: [PATCH v2 1/2] ASoC: codecs: Add support for AK5558 ADC driver

2018-02-02 Thread Andy Shevchenko
On Fri, Feb 2, 2018 at 6:20 PM, Daniel Baluta wrote: > AK5558 is a 32-bit, 768 kHZ sampling, differential input ADC > for digital audio systems. > > Datasheet is available at: > > https://www.akm.com/akm/en/file/datasheet/AK5558VN.pdf > > Initial patch includes support for normal and TDM modes. >

Re: [PATCH] cpufreq: skip cpufreq resume if it's not suspended

2018-02-02 Thread Saravana Kannan
On 02/02/2018 03:54 AM, Rafael J. Wysocki wrote: On Wednesday, January 24, 2018 9:53:14 PM CET Bo Yan wrote: On 01/23/2018 06:02 PM, Rafael J. Wysocki wrote: On Tuesday, January 23, 2018 10:57:55 PM CET Bo Yan wrote: drivers/cpufreq/cpufreq.c | 4 1 file changed, 4 insertions(+) di

Re: [PATCH net] Revert "defer call to mem_cgroup_sk_alloc()"

2018-02-02 Thread Eric Dumazet
On Fri, 2018-02-02 at 19:04 +, Roman Gushchin wrote: > On Fri, Feb 02, 2018 at 10:39:04AM -0800, Eric Dumazet wrote: > > On Fri, 2018-02-02 at 18:06 +, Roman Gushchin wrote: > > > > > > Idk, how even we can hit it? And if so, what scary will happen? > > > > > > If you prefer to have it th

Mrs. Nnbeal Yack.

2018-02-02 Thread Nnbeal Y
Good day, I will be glad if you will be capable to assist me to secure a sum of ($8.500.000.00 Million dollars) into your bank account for the benefit of both of us. This is a genuine transaction, it just that I can’t operate it alone without the help of a partner in other country. You will be

Re: [PATCH 1/2] iommu: Fix iommu_unmap and iommu_unmap_fast return type

2018-02-02 Thread kbuild test robot
Hi Suravee, I love your patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on v4.15 next-20180202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: Fix matrix keypad does not response with matrix_keypad driver in specific condition.

2018-02-02 Thread Andy Shevchenko
+Cc: Dmitry On Fri, Feb 2, 2018 at 6:05 PM, 张波 wrote: > > in matrix_keypad.c, the function disable_row_irqs() may be called by > matrix_keypad_interrupt() or matrix_keypad_stop(), there is race condition to > disble irqs. > > > If while matrix_keypad_stop() is calling, and the keypad interrupt

Re: [PATCH 2/2] btrfs: Remove custom crc32c init code

2018-02-02 Thread Andy Shevchenko
On Mon, Jan 8, 2018 at 11:45 AM, Nikolay Borisov wrote: > The custom crc32 init code was introduced in > 14a958e678cd ("Btrfs: fix btrfs boot when compiled as built-in") to > enable using btrfs as a built-in. However, later as pointed out by > 60efa5eb2e88 ("Btrfs: use late_initcall instead of mod

Re: [PATCH 4/4] sched/fair: Use a recently used CPU as an idle candidate and the basis for SIS

2018-02-02 Thread Mel Gorman
On Fri, Feb 02, 2018 at 06:54:24AM -0800, Srinivas Pandruvada wrote: > > > > No idea, desired would be the one I would start with, it matches > > > > with > > > > the intent here. But I've no idea what our current HWP > > > > implementation > > > > actually does with it. > > > Desired !=0 will disa

Re: [PATCH 1/3] ARM: dts: sun8i: add DMA engine in V3s DTSI

2018-02-02 Thread Maxime Ripard
Hi, On Fri, Feb 02, 2018 at 10:01:51PM +0800, Icenowy Zheng wrote: > Allwinner V3s SoC features a DMA engine. > > Add it in the DTSI file. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i-v3s.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/

Re: [PATCH 3/7] [HACK] x86: crypto: fix link error with LTO

2018-02-02 Thread Nicolas Pitre
On Fri, 2 Feb 2018, Arnd Bergmann wrote: > crypto_it_tab and the other symbols like it are defined in > crypto/aes_generic.c and exported for loadable modules. When > building with LTO and CONFIG_TRIM_UNUSED_KSYMS, the exports > are eliminated, since kbuild fails to take the users in > the arch/x8

Re: [PATCH 2/2] Kbuild: always define endianess in kconfig.h

2018-02-02 Thread Andrew Morton
Thanks. I've queued both for 4.16-rc2 (or maybe -rc3).

Re: [PATCH 2/3] ARM: dts: sun8i: add audio codec support into V3s DTSI

2018-02-02 Thread Maxime Ripard
On Fri, Feb 02, 2018 at 10:01:52PM +0800, Icenowy Zheng wrote: > Allwinner V3s SoC features an internal audio codec like the one in H3, > and a analog codec like the one in H3/A23 (but much simpler). > > Add them in the DTSI file. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i

RE: [PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-02-02 Thread Jolly Shah
Hi Mark, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Thursday, February 01, 2018 2:28 AM > To: Jolly Shah > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre...@linuxfoundation.org; m...@codeblueprint.co.uk; > sudeep.ho...@arm.com; hkallwe...@gmail

[PULL] alpha.git

2018-02-02 Thread Matt Turner
Hi Linus, Please pull my alpha git tree. It contains a few small fixes and clean ups. Thanks, Matt The following changes since commit 8cbab92dff778e516064c13113ca15d4869ec883: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2018-01-16 16:47:40 -0800) are a

Re: [PATCH 2/2 v5] lib: debugobjects: handle objects free in a batch outside the loop

2018-02-02 Thread Yang Shi
On 2/1/18 3:01 PM, Yang Shi wrote: On 2/1/18 1:36 PM, Thomas Gleixner wrote: On Fri, 2 Feb 2018, Yang Shi wrote: /* - * Allocate a new object. If the pool is empty, switch off the debugger. + * Allocate a new object. Retrieve from global freelist first. If the pool is + * empty, switc

[PATCH net] Revert "defer call to mem_cgroup_sk_alloc()"

2018-02-02 Thread Roman Gushchin
On Fri, Feb 02, 2018 at 11:34:56AM -0800, Eric Dumazet wrote: > On Fri, 2018-02-02 at 19:04 +, Roman Gushchin wrote: > > On Fri, Feb 02, 2018 at 10:39:04AM -0800, Eric Dumazet wrote: > > > On Fri, 2018-02-02 at 18:06 +, Roman Gushchin wrote: > > > > > > > > Idk, how even we can hit it? And

Re: Runqueue spinlock recursion on arm64 v4.15

2018-02-02 Thread Peter Zijlstra
On Fri, Feb 02, 2018 at 07:27:04PM +, Mark Rutland wrote: > ... in some cases, owner_cpu is -1, so I guess we're racing with an > unlock. I only ever see this on the runqueue locks in wake up functions. So runqueue locks are special in that the owner changes over a contex switch, maybe somethi

Re: [PATCH v6 2/5] KVM: x86: Add IBPB support

2018-02-02 Thread Konrad Rzeszutek Wilk
On Fri, Feb 02, 2018 at 06:02:24PM +, David Woodhouse wrote: > On Fri, 2018-02-02 at 12:49 -0500, Konrad Rzeszutek Wilk wrote: > > > @@ -625,7 +629,12 @@ static inline int __do_cpuid_ent(struct > > > kvm_cpuid_entry2 *entry, u32 function, > > > if (!g_phys_as) > > > 

Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance

2018-02-02 Thread Peter Zijlstra
On Fri, Feb 02, 2018 at 12:36:47PM -0500, Steven Sistare wrote: > On 2/2/2018 12:17 PM, Peter Zijlstra wrote: > > On Fri, Feb 02, 2018 at 11:53:40AM -0500, Steven Sistare wrote: > +static int select_idle_smt(struct task_struct *p, struct sched_group > *sg) > { > +int i

Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance

2018-02-02 Thread Peter Zijlstra
On Fri, Feb 02, 2018 at 11:53:40AM -0500, Steven Sistare wrote: > On 2/1/2018 7:33 AM, Peter Zijlstra wrote: > > On Mon, Jan 29, 2018 at 03:31:02PM -0800, subhra mazumdar wrote: > >> + rcu_read_lock(); > >> + sd = rcu_dereference(per_cpu(sd_llc, this_cpu)); > >> + if (util) { > >> + for

Re: asm-generic: Disallow no-op mb() for SMP systems

2018-02-02 Thread kbuild test robot
Hi Peter, I love your patch! Yet something to improve: [auto build test ERROR on asm-generic/master] [also build test ERROR on v4.15 next-20180202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH 4/4] sched/fair: Use a recently used CPU as an idle candidate and the basis for SIS

2018-02-02 Thread Srinivas Pandruvada
On Fri, 2018-02-02 at 19:48 +, Mel Gorman wrote: > On Fri, Feb 02, 2018 at 06:54:24AM -0800, Srinivas Pandruvada wrote: > > > > > No idea, desired would be the one I would start with, it > > > > > matches > > > > > with > > > > > the intent here. But I've no idea what our current HWP > > > > >

Re: Fix matrix keypad does not response with matrix_keypad driver in specific condition.

2018-02-02 Thread Dmitry Torokhov
On Fri, Feb 02, 2018 at 09:43:20PM +0200, Andy Shevchenko wrote: > +Cc: Dmitry > > On Fri, Feb 2, 2018 at 6:05 PM, 张波 wrote: > > > > in matrix_keypad.c, the function disable_row_irqs() may be called by > > matrix_keypad_interrupt() or matrix_keypad_stop(), there is race condition > > to disble

[RFC PATCH] x86/kvm: perf_ext_supported() can be static

2018-02-02 Thread kbuild test robot
Fixes: 60e6688e74ee ("x86/kvm: Expose AMD Core Perf Extension flag to guests") Signed-off-by: Fengguang Wu --- cpuid.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 0c991c6a..5cfd3c2 100644 --- a/arch/x86/kvm/cpuid.c +++

Re: [PATCH v4 3/3] x86/kvm: Expose AMD Core Perf Extension flag to guests

2018-02-02 Thread kbuild test robot
Hi Janakarajan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/x86/core] [also build test WARNING on v4.15] [cannot apply to kvm/linux-next next-20180202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance

2018-02-02 Thread Peter Zijlstra
On Fri, Feb 02, 2018 at 01:34:58PM -0500, Steven Sistare wrote: > Actually, I take back my take back. I suspect the primary benefit > of random selection is that it breaks up resonance states where > CPUs that are busy tend to stay busy, and CPUs that are idle tend > to stay idle, which is reinfor

[PATCH 1/2] HSI: ssi_protocol: Delete an error message for a failed memory allocation in ssi_protocol_probe()

2018-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 2 Feb 2018 20:02:17 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/hsi/clients/ssi_protocol.c | 4 +--- 1 file changed, 1 insertio

[PATCH 2/2] HSI: ssi_protocol: Fix a typo in two comment lines

2018-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 2 Feb 2018 20:57:23 +0100 Adjust two words in this description. Signed-off-by: Markus Elfring --- drivers/hsi/clients/ssi_protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hsi/clients/ssi_protocol.c b/drivers/hsi/clients

Re: [GIT PULL] leaking_addresses.pl changes for 4.16-rc1

2018-02-02 Thread Tobin C. Harding
On Fri, Feb 02, 2018 at 08:48:10PM +1100, Tobin C. Harding wrote: > On Thu, Feb 01, 2018 at 02:43:28PM -0800, Linus Torvalds wrote: > > On Thu, Feb 1, 2018 at 12:45 PM, Tobin C. Harding wrote: > > > > > > It has just come to my attention that I should have pushed these changes > > > to Linux next

[PATCH 0/2] HSI: ssi_protocol: Adjustments for two function implementations

2018-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 2 Feb 2018 21:03:45 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation in ssi_protocol_probe() Fix a typo in two comment lines drivers/hsi/clients/

Re: [Patch v2 0/5] platform/x86: intel_pmc_core: Add CFL/CNL Support

2018-02-02 Thread Andy Shevchenko
On Fri, Feb 2, 2018 at 3:43 PM, Rajneesh Bhardwaj wrote: > This series contains the remaining (rebased) patches that were not applied > to the pdx tree earlier. This also includes Acked-by / Reviewed-by tags from > Rafael and Thomas. > > Rebased and tested on: > http://git.infradead.org/linux-plat

[PATCH] acpi, nfit: fix register dimm error handling

2018-02-02 Thread Toshi Kani
A NULL pointer reference kernel bug was observed when acpi_nfit_add_dimm() called in acpi_nfit_register_dimms() failed. This error path does not set nfit_mem->nvdimm, but the 2nd list_for_each_entry() loop in the function assumes it's always set. Add a check to nfit_mem->nvdimm. Signed-off-by: Tos

Re: [PATCH v6 2/5] KVM: x86: Add IBPB support

2018-02-02 Thread David Woodhouse
On Fri, 2018-02-02 at 14:56 -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Feb 02, 2018 at 06:02:24PM +, David Woodhouse wrote: > > > > On Fri, 2018-02-02 at 12:49 -0500, Konrad Rzeszutek Wilk wrote: > > > > > > > > > > > @@ -625,7 +629,12 @@ static inline int __do_cpuid_ent(struct > > > >

Re: [PATCH v3 08/18] arm/arm64: KVM: Add PSCI version selection API

2018-02-02 Thread Andrew Jones
On Thu, Feb 01, 2018 at 11:46:47AM +, Marc Zyngier wrote: > Although we've implemented PSCI 1.0 and 1.1, nothing can select them > Since all the new PSCI versions are backward compatible, we decide to > default to the latest version of the PSCI implementation. This is no > different from doing

Re: [PATCH 7/7] Kbuild: lto: pass -m32/-m64 to to LDFINAL

2018-02-02 Thread Arnd Bergmann
On Fri, Feb 2, 2018 at 7:41 PM, Nicolas Pitre wrote: > On Fri, 2 Feb 2018, Arnd Bergmann wrote: > >> Building randconfig kernels with a biarch compiler fails with LTO >> when the final link uses a different target architecture compared >> to the earlier compilation stages. >> >> Setting -m32 or -m

[PATCH] hsi_char: Delete an error message for a failed memory allocation in hsc_probe()

2018-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 2 Feb 2018 21:21:12 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/hsi/clients/hsi_char.c | 5 ++--- 1 file changed, 2 insertions(

Re: asm-generic: Disallow no-op mb() for SMP systems

2018-02-02 Thread Peter Zijlstra
On Sat, Feb 03, 2018 at 04:00:35AM +0800, kbuild test robot wrote: > Hi Peter, > > I love your patch! Yet something to improve: Seriously? Bots have feelings? > [auto build test ERROR on asm-generic/master] > [also build test ERROR on v4.15 next-20180202] > [if your patch

Re: [PATCH] net: mlx5: remove pointless memcpy

2018-02-02 Thread Arnd Bergmann
On Fri, Feb 2, 2018 at 8:06 PM, Jason Gunthorpe wrote: > On Fri, Feb 02, 2018 at 04:46:30PM +0100, Arnd Bergmann wrote: >> gcc-8 notices that the memcpy in mlx5_core_query_xsrq() makes no >> sense because the source and destination variables are identical: >> >> drivers/net/ethernet/mellanox/mlx5/

Re: [PATCH 1/3] perf tools: Fix period/freq terms setup

2018-02-02 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 02, 2018 at 10:45:46AM -0800, Stephane Eranian escreveu: > Jiri, > > On Thu, Feb 1, 2018 at 12:38 AM, Jiri Olsa wrote: > > Stephane reported that we don't set properly PERIOD > > sample type for events with period term defined. > > > > Before: > > $ perf record -e cpu/cpu-cycles,per

Re: [PATCH v6 2/5] KVM: x86: Add IBPB support

2018-02-02 Thread Konrad Rzeszutek Wilk
On Fri, Feb 02, 2018 at 08:16:15PM +, David Woodhouse wrote: > > > On Fri, 2018-02-02 at 14:56 -0500, Konrad Rzeszutek Wilk wrote: > > On Fri, Feb 02, 2018 at 06:02:24PM +, David Woodhouse wrote: > > > > > > On Fri, 2018-02-02 at 12:49 -0500, Konrad Rzeszutek Wilk wrote: > > > > > > > >

Re: [PATCH] acpi, nfit: fix register dimm error handling

2018-02-02 Thread Dan Williams
On Fri, Feb 2, 2018 at 1:00 PM, Toshi Kani wrote: > A NULL pointer reference kernel bug was observed when > acpi_nfit_add_dimm() called in acpi_nfit_register_dimms() > failed. This error path does not set nfit_mem->nvdimm, but > the 2nd list_for_each_entry() loop in the function assumes > it's alw

Re: [PATCH v6 2/5] KVM: x86: Add IBPB support

2018-02-02 Thread David Woodhouse
On Fri, 2018-02-02 at 15:28 -0500, Konrad Rzeszutek Wilk wrote: > > >  > > No. The AMD feature bits give us more fine-grained support for exposing > > IBPB or IBRS alone, so we expose those bits on Intel too. > > But but.. that runs smack against the idea of exposing a platform that > is as close

[PATCH v2 0/2] Add support for AK5558 ADC

2018-02-02 Thread Daniel Baluta
We support normal mode, TDM mode and pm. Changes since v1: [addressed comments from Andy and Fabio] * fix GPIO polarity from active high to active low for correct documentation * fix license header by using SPDX identifier * remove debug prints at the beginning of functions. * only support aut

[PATCH v2 1/2] ASoC: codecs: Add support for AK5558 ADC driver

2018-02-02 Thread Daniel Baluta
AK5558 is a 32-bit, 768 kHZ sampling, differential input ADC for digital audio systems. Datasheet is available at: https://www.akm.com/akm/en/file/datasheet/AK5558VN.pdf Initial patch includes support for normal and TDM modes. Signed-off-by: Junichi Wakasugi [initial coding for 3.18 kernel] Si

Re: [PATCH] audit: update bugtracker and source URIs

2018-02-02 Thread Paul Moore
On Fri, Feb 2, 2018 at 6:39 AM, Richard Guy Briggs wrote: > Since the Linux Audit project has transitioned completely over to > github, update the MAINTAINERS file and the primary audit source file to > reflect that reality. > > Signed-off-by: Richard Guy Briggs > --- > MAINTAINERS| 1 - > k

<    3   4   5   6   7   8   9   10   >