[PATCH 6/13] scsi: arcmsr: replace constant ARCMSR_MAX_OUTSTANDING_CMD by variable acb->maxOutstanding that was determined by user

2017-11-09 Thread Ching Huang
From: Ching Huang replace constant ARCMSR_MAX_OUTSTANDING_CMD by variable acb->maxOutstanding that was determined by user Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c ---

[PATCH] staging: ccree: remove unused pointer cc_base

2017-11-09 Thread Colin King
From: Colin Ian King Pointer cc_base is being assigned but is never read, hence it is redundant and can be removed. Cleans up clang warning: drivers/staging/ccree/ssi_driver.c:235:2: warning: Value stored to 'cc_base' is never read Signed-off-by: Colin Ian King

Re: [GIT PULL] perf fixes

2017-11-09 Thread Markus Trippelsdorf
On 2017.11.05 at 15:40 +0100, Ingo Molnar wrote: > Linus, > > Please pull the latest perf-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus > > Jiri Olsa (1): > perf tools: Unwind properly location after REJECT The

Re: [PATCH] ARM: dts: add phy-reset property for rk3066a-rayeager emac

2017-11-09 Thread Roger Quadros
On 08/11/17 11:49, Chris Zhong wrote: > Hi Florian Fainelli > > > On 2017年11月08日 02:26, Florian Fainelli wrote: >> On 11/07/2017 01:51 AM, Chris Zhong wrote: >>> >>> On 2017年11月07日 15:54, Vladimir Zapolskiy wrote: Hello Chris, On 11/07/2017 04:49 AM, Chris Zhong wrote: > The

[PATCH 13/13] scsi: arcmsr: update driver version to v1.40.00.02-20171011

2017-11-09 Thread Ching Huang
From: Ching Huang update driver version to v1.40.00.02-20171011 Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-11-07 17:29:10.0 +0800

[PATCH v2 2/2] ARM: sun8i: bananapi-m3: Enable dwmac-sun8i

2017-11-09 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the bananapi m3 It uses an external PHY rtl8211e via RGMII. This patch create the needed emac and phy nodes. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 18 ++ 1 file changed,

Re: [PATCH V3 2/2] acpi: apei: call into AER handling regardless of severity

2017-11-09 Thread Borislav Petkov
On Wed, Nov 08, 2017 at 12:13:12PM -0700, Tyler Baicar wrote: > Currently the GHES code only calls into the AER driver for > recoverable type errors. This is incorrect because errors of > other severities do not get logged by the AER driver and do not > get exposed to user space via the AER trace

Re: [PATCH 1/2] sched/swait: allow swake_up() to return

2017-11-09 Thread Paolo Bonzini
On 09/11/2017 10:18, Peter Xu wrote: > Let swake_up() to return whether any of the waiters is waked up. One use > case of it would be: > > if (swait_active(wq)) { > swake_up(wq); > // do something when waiter is waked up > waked_up++; > } > > Logically it's possible that when

Re: [PATCH v10 5/7] perf: cavium: Support memory controller PMU counters

2017-11-09 Thread Suzuki K Poulose
On 25/09/17 13:35, Jan Glauber wrote: Add support for the PMU counters on Cavium SOC memory controllers. This patch also adds generic functions to allow supporting more devices with PMU counters. Properties of the LMC PMU counters: - not stoppable - fixed purpose - read-only - one PCI device

Re: [PATCH 25/31] nds32: defconfig

2017-11-09 Thread Arnd Bergmann
On Thu, Nov 9, 2017 at 9:00 AM, Greentime Hu wrote: > 2017-11-08 18:03 GMT+08:00 Arnd Bergmann : >> On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote: >>> From: Greentime Hu >>> >>> Signed-off-by: Vincent Chen

[tip:x86/asm] x86/build: Make the boot image generation less verbose

2017-11-09 Thread tip-bot for Changbin Du
Commit-ID: 7980f029d05d8a3b4634aa6952e1ec51bce9431f Gitweb: https://git.kernel.org/tip/7980f029d05d8a3b4634aa6952e1ec51bce9431f Author: Changbin Du AuthorDate: Thu, 9 Nov 2017 14:09:11 +0800 Committer: Ingo Molnar CommitDate: Thu, 9 Nov 2017

[tip:sched/core] sched/core: Optimize sched_feat() for !CONFIG_SCHED_DEBUG builds

2017-11-09 Thread tip-bot for Patrick Bellasi
Commit-ID: 765cc3a4b224e22bf524fabe40284a524f37cdd0 Gitweb: https://git.kernel.org/tip/765cc3a4b224e22bf524fabe40284a524f37cdd0 Author: Patrick Bellasi AuthorDate: Wed, 8 Nov 2017 18:41:01 + Committer: Ingo Molnar CommitDate: Thu, 9 Nov

Re: [PATCH V13 03/10] mmc: block: Add blk-mq support

2017-11-09 Thread Adrian Hunter
On 08/11/17 10:54, Linus Walleij wrote: > On Fri, Nov 3, 2017 at 2:20 PM, Adrian Hunter wrote: > >> Define and use a blk-mq queue. Discards and flushes are processed >> synchronously, but reads and writes asynchronously. In order to support >> slow DMA unmapping, DMA

Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/

2017-11-09 Thread Pavel Machek
On Thu 2017-11-09 11:40:28, Greg Kroah-Hartman wrote: > On Thu, Nov 09, 2017 at 10:51:48AM +0100, Pavel Machek wrote: > > Hi! > > > > > It's good to have SPDX identifiers in all files to make it easier to > > > audit the kernel tree for correct licenses. > > > > > > Update the drivers/usb/ and

Re: [PATCH] soc: amlogic: meson-gx-pwrc-vpu: fix power-off when powered by bootloader

2017-11-09 Thread Arnd Bergmann
On Thu, Nov 9, 2017 at 1:50 AM, Kevin Hilman wrote: > Arnd, Olof, > > Neil Armstrong writes: > >> In the case the VPU power domain has been powered on by the bootloader >> and no driver are attached to this power domain, the genpd will power it >>

Re: [PATCH RFC v2 4/4] mm/mempolicy: add nodes_empty check in SYSC_migrate_pages

2017-11-09 Thread Yisheng Xie
Hi Christopher, On 2017/11/8 23:02, Christopher Lameter wrote: > On Wed, 8 Nov 2017, Yisheng Xie wrote: > >> Another case is current process is *not* the same as target process, and >> when current process try to migrate pages of target process from old_nodes >> to new_nodes, the new_nodes

Re: [PATCH v10 13/18] x86/insn-eval: Add utility functions to get segment selector

2017-11-09 Thread Arnd Bergmann
On Fri, Oct 27, 2017 at 10:25 PM, Ricardo Neri wrote: > diff --git a/arch/x86/include/asm/inat.h b/arch/x86/include/asm/inat.h > index 02aff08..1c78580 100644 > --- a/arch/x86/include/asm/inat.h > +++ b/arch/x86/include/asm/inat.h > @@ -97,6 +97,16 @@ >

Re: kernel BUG at net/key/af_key.c:LINE!

2017-11-09 Thread Herbert Xu
On Wed, Nov 08, 2017 at 08:59:15AM +0100, Dmitry Vyukov wrote: > > Also the repro needs to be compiled with -m32 (but it does not compile > without it due to missing __NR_mmap2, so I guess you passed -m32). OK that's what I was missing. I had hacked it to compile in 64-bit :) However, I still

Re: [PATCH v3 13/18] powerpc: Add support for setting SPRN_TIDR

2017-11-09 Thread Michael Ellerman
Sukadev Bhattiprolu writes: > diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c > index 37ed60b..d861fcd 100644 > --- a/arch/powerpc/kernel/process.c > +++ b/arch/powerpc/kernel/process.c > @@ -1120,6 +1120,13 @@ static inline void

Re: [linux-sunxi] Re: [PATCH v2 00/10] Allwinner H3/H5/A64(DE2) SimpleFB support

2017-11-09 Thread Maxime Ripard
On Thu, Nov 09, 2017 at 11:17:03AM +, Chris Obbard wrote: > Hi Everyone, > > What's the status of HDMI/SimpleFB driver for H5? > > I don't see anything related to HDMI in linux-next dts files: > > arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts  (example board) >

Re: Feature request - support kbd_backlight on Hewlett-Packard

2017-11-09 Thread Andy Shevchenko
+Cc: correct subsystem On Thu, Nov 9, 2017 at 3:04 AM, kedar kedar wrote: > Hello, > > Can anyone please try add support for controlling keyboard backlight > via sysfs on Hewlett-Packard notebooks? > Maybe in a similar way as this last year patch for Thinkpad? >

Re: [RFC/RFT PATCH 0/6] Switch GHES ioremap_page_range() to use fixmap

2017-11-09 Thread Zhengqiang
On 2017/10/31 23:38, James Morse wrote: > GHES is doing ioremap_page_range() in both NMI and irq context, neither > are safe as it may sleep to allocate intermediate levels of page table. > > Replace the NMI/irq GHES_IOREMAP_PAGES to use a fixmap entry each. > > After this nothing uses

Re: WTF? Re: [PATCH] License cleanup: add SPDX GPL-2.0 license identifier to files with no license

2017-11-09 Thread Greg Kroah-Hartman
On Thu, Nov 09, 2017 at 10:47:04AM +1100, Dave Chinner wrote: > On Tue, Nov 07, 2017 at 07:29:03PM +0100, Greg Kroah-Hartman wrote: > > On Tue, Nov 07, 2017 at 09:20:42AM -0800, Darrick J. Wong wrote: > > > On Tue, Nov 07, 2017 at 08:39:40AM +0100, Greg Kroah-Hartman wrote: > > > > On Mon, Nov 06,

Re: [PATCH 1/1] ALSA: usb: initial USB Audio Device Class 3.0 support

2017-11-09 Thread Takashi Iwai
On Thu, 09 Nov 2017 09:04:58 +0100, Greg Kroah-Hartman wrote: > > On Wed, Nov 08, 2017 at 03:38:35PM +0100, Takashi Iwai wrote: > > On Tue, 07 Nov 2017 03:01:20 +0100, > > Ruslan Bilovol wrote: > > > > > > Recently released USB Audio Class 3.0 specification > > > introduces many significant

Re: [Xen-devel] [PATCH] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

2017-11-09 Thread Jan Beulich
>>> On 08.11.17 at 16:44, wrote: > On 11/7/2017 8:40 AM, Jan Beulich wrote: > On 06.11.17 at 18:48, wrote: >>> --- a/Documentation/ABI/testing/sysfs-driver-pciback >>> +++ b/Documentation/ABI/testing/sysfs-driver-pciback >>> @@ -11,3 +11,15

Re: [PATCH libdrm 0/6] drm-next header syncing

2017-11-09 Thread Daniel Vetter
On Wed, Nov 08, 2017 at 11:34:41AM -0800, Eric Anholt wrote: > I wanted to update the vc4 header so that I could land some igt > testcases (though I'd much rather just be importing the header into > igt and ditching libdrm). In the process, I cleaned up some other > header deltas to the kernel so

Re: [PATCH v2] IB/ocrdma_hw: remove unnecessary code in ocrdma_mbx_dealloc_lkey

2017-11-09 Thread Leon Romanovsky
On Wed, Nov 08, 2017 at 02:16:25PM -0600, Gustavo A. R. Silva wrote: > > Quoting Leon Romanovsky : > > > On Tue, Nov 07, 2017 at 08:56:37AM -0600, Gustavo A. R. Silva wrote: > > > > > > Quoting Leon Romanovsky : > > > > > > > On Tue, Nov 07, 2017 at 08:45:17AM

Re: [General protection fault] in bio_integrity_advance

2017-11-09 Thread Yu Chen
On Tue, Nov 7, 2017 at 4:38 PM, Yu Chen wrote: > Hi all, > We are using 4.13.5-100.fc25.x86_64 and a panic was found during > resume from hibernation, the backtrace is illustrated as below, would > someone please take a look if this has already been fixed or is this issue

Re: Linux & FAT32 label

2017-11-09 Thread Pali Rohár
On Monday 06 November 2017 11:14:44 Karel Zak wrote: > On Sun, Nov 05, 2017 at 03:34:11PM +0100, Pali Rohár wrote: > > On Sunday 05 November 2017 16:25:54 Andy Shevchenko wrote: > > > On Sun, Nov 5, 2017 at 4:07 PM, Pali Rohár wrote: > > > > On Sunday 05 November 2017

Re: [PATCH 1/1] ALSA: usb: initial USB Audio Device Class 3.0 support

2017-11-09 Thread Takashi Iwai
On Thu, 09 Nov 2017 09:33:44 +0100, Greg Kroah-Hartman wrote: > > On Thu, Nov 09, 2017 at 09:16:52AM +0100, Takashi Iwai wrote: > > On Thu, 09 Nov 2017 09:04:58 +0100, > > Greg Kroah-Hartman wrote: > > > > > > On Wed, Nov 08, 2017 at 03:38:35PM +0100, Takashi Iwai wrote: > > > > On Tue, 07 Nov

[PATCH v2 04/10] staging: ccree: simplify buf mgr using local vars

2017-11-09 Thread Gilad Ben-Yossef
Make the code more readable by using a local variables for commonly use expressions in the buffer manager part of the driver. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-)

[PATCH v2 02/10] staging: ccree: make long func call sites readable

2017-11-09 Thread Gilad Ben-Yossef
The driver was using a function naming scheme including common prefixes for driver global functions based on the code module they came from. The combination of long names with long common prefixes made the whole thing too long for a human to parse. Switch to simple and shorter function naming

Re: [PATCH] media: coda: remove definition of CODA_STD_MJPG

2017-11-09 Thread Philipp Zabel
On Wed, 2017-11-08 at 19:58 +0100, Martin Kepplinger wrote: > According to i.MX VPU API Reference Manuals the MJPG video codec is > refernced to by number 7, not 3. > > Also Philipp pointed out that this value is only meant to fill in > CMD_ENC_SEQ_COD_STD for encoding, only on i.MX53. It was

[PATCH v2 10/10] staging: ccree: remove unused cc_base parameter

2017-11-09 Thread Gilad Ben-Yossef
Remove a common parameter named cc_base with the pointer to the mapped command registers which was used by the old register access macros that are not longer in use. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 2 +-

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

2017-11-09 Thread Greg Kroah-Hartman
On Wed, Nov 08, 2017 at 06:10:19PM -0800, Joe Perches wrote: > On Wed, 2017-11-08 at 19:10 -0600, Rob Herring wrote: > > Add a check warning if SPDX-License-Identifier tags are not used in > > newly added files. > > If this is to be done, and I think it's not a great idea, > there are better ways

Re: [PATCH] drm/i915/intel_sdvo: mark expected switch fall-throughs

2017-11-09 Thread Jani Nikula
On Thu, 09 Nov 2017, Jani Nikula wrote: > On Wed, 08 Nov 2017, "Gustavo A. R. Silva" wrote: >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> Addresses-Coverity-ID: 141432

[PATCH v2 09/10] staging: ccree: remove braces for single statement

2017-11-09 Thread Gilad Ben-Yossef
Remove necessary braces for single statement blocks to improve code readabilty. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/ssi_buffer_mgr.c

[PATCH v2 07/10] staging: ccree: remove unneeded cast

2017-11-09 Thread Gilad Ben-Yossef
Remove unneeded cast of the return value of dev_get_drvdata() to struct ssi_drvdata * for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_pm.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

Re: [PATCH 00/31] Andes(nds32) Linux Kernel Port

2017-11-09 Thread Greentime Hu
2017-11-08 18:26 GMT+08:00 Arnd Bergmann : > On Wed, Nov 8, 2017 at 6:54 AM, Greentime Hu wrote: >> This patchset adds core architecture support to Linux for Andestech's >> N13, N15, D15, N10, D10 processor cores. >> >> Based on the 16/32-bit AndeStar RISC-like

Re: [PATCH v6] x86: use lock+addl for smp_mb()

2017-11-09 Thread Peter Zijlstra
On Fri, Oct 27, 2017 at 07:14:31PM +0300, Michael S. Tsirkin wrote: > The one difference between lock+add and mfence is that lock+addl does > not affect clflush, previous patches converted all uses of clflush to > call mb(), such that changes to smp_mb won't affect it. > > Update mb/rmb/wmb on

Re: [PATCH 28/31] irqchip: Andestech Internal Vector Interrupt Controller driver

2017-11-09 Thread Greentime Hu
2017-11-08 22:24 GMT+08:00 Marc Zyngier : > On 08/11/17 05:55, Greentime Hu wrote: >> From: Greentime Hu >> > > Please add a commit message, indicating what this does, and potentially > a pointer to some documentation (if publicly available). >

Re: [PATCH 01/11] Initialize the mapping of KASan shadow memory

2017-11-09 Thread Marc Zyngier
On 09/11/17 07:46, Liuwenliang (Abbott Liu) wrote: > On 12/10/17 15:59, Marc Zyngier [mailto:marc.zyng...@arm.com] wrote: >> On 11/10/17 09:22, Abbott Liu wrote: >>> diff --git a/arch/arm/include/asm/proc-fns.h >>> b/arch/arm/include/asm/proc-fns.h >>> index f2e1af4..6e26714 100644 >>> ---

Re: [PATCH RESEND 2/3] KVM: Add paravirt remote TLB flush

2017-11-09 Thread Paolo Bonzini
On 09/11/2017 03:02, Wanpeng Li wrote: > From: Wanpeng Li > > Remote flushing api's does a busy wait which is fine in bare-metal > scenario. But with-in the guest, the vcpus might have been pre-empted > or blocked. In this scenario, the initator vcpu would end up >

Re: [PATCH v5 3/3] KVM: nVMX: Fix mmu context after VMLAUNCH/VMRESUME failure

2017-11-09 Thread Wanpeng Li
2017-11-09 18:40 GMT+08:00 Paolo Bonzini : > On 09/11/2017 01:37, Wanpeng Li wrote: >> 2017-11-09 5:47 GMT+08:00 Jim Mattson : >>> I realize now that there are actually many other problems with >>> deferring some control field checks to the hardware

Re: [PATCH 00/15] Add support for clang LTO

2017-11-09 Thread Marc Zyngier
On 09/11/17 10:54, AKASHI Takahiro wrote: > On Sat, Nov 04, 2017 at 02:13:04AM +, Mark Rutland wrote: >> On Fri, Nov 03, 2017 at 12:56:47PM -0700, Sami Tolvanen wrote: >>> On Fri, Nov 03, 2017 at 07:26:35PM +, Mark Rutland wrote: I guess that in Google you haven't tested on a platform

[PATCH 2/2] irqchip: mips-gic: Print warning if inherited GIC base is used

2017-11-09 Thread Matt Redfearn
If the physical address of the GIC resource cannot be read from device tree, then the code falls back to reading it from the gcr_gic_base register. Hopefully this has been set to a sane value by the bootloader or some platform code, but is defined by the hardware manual to have "undefined" reset

Re: [PATCH RESEND 2/3] KVM: Add paravirt remote TLB flush

2017-11-09 Thread Paolo Bonzini
On 09/11/2017 12:01, Wanpeng Li wrote: > 2017-11-09 18:48 GMT+08:00 Paolo Bonzini : >> On 09/11/2017 03:02, Wanpeng Li wrote: >>> @@ -484,6 +511,8 @@ void __init kvm_guest_init(void) >>> pv_time_ops.steal_clock = kvm_steal_clock; >>> } >>> >>> +

Re: A test of the philosophical impact.. Unnud Oddox be with you

2017-11-09 Thread Ywe Cærlyn
Den 11/6/2017 19:13, skrev Ywe Cærlyn: Den 11/6/2017 11:00, skrev Ywe Cærlyn: Den 11/4/2017 23:53, skrev Ywe Cærlyn: Den 11/3/2017 07:46, skrev Ywe Cærlyn: Den 10/29/2017 17:21, skrev Ywe Cærlyn: Den 10/29/2017 17:00, skrev Ywe Cærlyn: Den 10/27/2017 23:28, skrev Ywe Cærlyn: Den 10/27/2017

Re: [PATCH v4] printk: Add console owner and waiter logic to loadbalance console writes

2017-11-09 Thread Tetsuo Handa
Michal Hocko wrote: > On Thu 09-11-17 19:22:58, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > Hi, > > > assuming that this passes warn stall torturing by Tetsuo, do you think > > > we can drop > > > http://lkml.kernel.org/r/1509017339-4802-1-git-send-email-penguin-ker...@i-love.sakura.ne.jp >

[PATCH 1/2] irqchip/mips-gic: Add pr_fmt and reword pr_* messages

2017-11-09 Thread Matt Redfearn
Several messages from the MIPS GIC driver include the text "GIC", but the format is not standard. Add a pr_fmt of "irq-mips-gic: " and reword the messages now that they will be prefixed with the driver name. Signed-off-by: Matt Redfearn Reviewed-by: Paul Burton

Re: [PATCH] add backlight level quirk for Asus ROG laptops

2017-11-09 Thread Jiri Kosina
On Sat, 28 Oct 2017, Mustafa Kuscu wrote: > On laptops such as Asus GL553VD, setting keyboard backlight levels > does not work. This change enables F3/F4 keys to set backlight levels > (from 0 to 3, total 4 levels) on such laptops. > > It is intended only to the following device: 0x0b05 1854:

[GIT PULL] irqchip updates for 4.15, take 3

2017-11-09 Thread Marc Zyngier
Hi Thomas, This is the third and final pile of updates from the irqchip madhouse. On the menu, the STM32 update that has been lingering on the list for a while, yet another Socionext irqchip driver, a fix for a GICv4 facepalm bug, and a last minute MIPS cleanup. >From now on, I'm only taking bug

Re: [PATCH] usb: gadget: f_fs: Fix use-after-free in ffs_free_inst

2017-11-09 Thread Greg KH
On Wed, Nov 08, 2017 at 10:13:15AM -0700, Andrew Gabbasov wrote: > KASAN enabled configuration reports an error > > BUG: KASAN: use-after-free in ffs_free_inst+... [usb_f_fs] at addr ... > Write of size 8 by task ... > > This is observed after "ffs-test" is run and interrupted. If after that >

[PATCH v3] powerpc/kernel/sysfs: Export ldbar spr to sysfs

2017-11-09 Thread Anju T Sudhakar
Add ldbar spr to sysfs. The spr holds thread level In-Memory Collection (IMC) counter configuration data. Exposing this will help to understand the current configuration of thread-level counters in the system. Primarily, Bit 0 of ldbar says whether the counters are enabled

Re: [PATCH 2/2] kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib

2017-11-09 Thread Masahiro Yamada
Hi James, 2017-11-09 21:19 GMT+09:00 James Hogan : > (resend using a working From address) > > wrote: >> If CONFIG_OF_ALL_DTBS is enabled, "make ARCH=arm64 dtbs" compiles each >> DTB twice; one from arch/arm64/boot/dts/*/Makefile and the other

Re: [PATCH v2 2/4] kaslr: select the memory region in immovable node to process

2017-11-09 Thread Baoquan He
Hi Chao, On 11/01/17 at 07:32pm, Chao Fan wrote: > Compare the region of memmap entry and immovable_mem, then choose the > intersection to process_mem_region. > > Since the interrelationship between e820 or efi entries and memory > region in immovable_mem is different: Could you paste a bootlog

Re: [PATCH v2 2/2] sparc: pass endianness info to sparse

2017-11-09 Thread Christoph Hellwig
On Thu, Nov 09, 2017 at 07:16:52AM +0100, Luc Van Oostenryck wrote: > sparc is big-endian only but sparse assumes the same endianness > as the building machine. > This is problematic for code which expect __BYTE_ORDER__ being > correctly predefined by the compiler which sparse can then >

Re: [PATCH] ARM: dts: add phy-reset property for rk3066a-rayeager emac

2017-11-09 Thread Roger Quadros
On 09/11/17 10:28, Roger Quadros wrote: > On 08/11/17 11:49, Chris Zhong wrote: >> Hi Florian Fainelli >> >> >> On 2017年11月08日 02:26, Florian Fainelli wrote: >>> On 11/07/2017 01:51 AM, Chris Zhong wrote: On 2017年11月07日 15:54, Vladimir Zapolskiy wrote: > Hello Chris, > > On

Re: [PATCH] net: sfc: remove redundant variable start

2017-11-09 Thread Bert Kenward
On 09/11/17 08:01, Colin King wrote: > From: Colin Ian King > > Variable start is assigned but never read hence it is redundant > and can be removed. Cleans up clang warning: > > drivers/net/ethernet/sfc/ptp.c:655:2: warning: Value stored to 'start' > is never read >

pt_regs usage in cpuacct_charge()

2017-11-09 Thread Pavel V. Panteleev
Hello! In cpuacct_charge() function pt_regs of other thread could be used. There is a such call chain: ...-> __schedule -> pick_next_task_fair -> load_balance -> idle_balance -> load_balance -> detach_tasks -> deactivate_task -> dequeue_task_fair -> dequeue_entity -> update_curr ->

Re: [PATCH v2] s390/virtio: mark headers as BSD licensed

2017-11-09 Thread Cornelia Huck
On Thu, 9 Nov 2017 09:29:32 +0100 Christian Borntraeger wrote: > On 11/08/2017 08:58 PM, Michael S. Tsirkin wrote: > > On Wed, Nov 08, 2017 at 08:39:11PM +0100, Christian Borntraeger wrote: > >> > >> > >> On 11/08/2017 08:35 PM, Michael S. Tsirkin wrote: > >>> On Wed,

[PATCH v2 00/10] staging: ccree: fixes and cleanups

2017-11-09 Thread Gilad Ben-Yossef
This is another batch of ccree fixes & cleanups. The first patch is a bug fix. All others are pure readability and coding style fixes. Changes from v1: - Fix several coding style issues pointed out by Dan Carpenter. - Added two more patches of similar issues that surfaced during the review.

Re: [PATCH v4 01/17] PCI: dwc: Use the DMA-API to get the MSI address

2017-11-09 Thread Niklas Cassel
On 11/08/2017 06:27 PM, Bjorn Helgaas wrote: > On Wed, Nov 08, 2017 at 12:45:49PM +, Joao Pinto wrote: >> Hello to all, >> >> Às 12:56 AM de 11/8/2017, Bjorn Helgaas escreveu: >>> On Fri, Nov 03, 2017 at 02:47:05PM +0100, Niklas Cassel wrote: Use the DMA-API to get the MSI address. This

Re: [PATCH] staging: ccree: remove unused pointer cc_base

2017-11-09 Thread Gilad Ben-Yossef
Hi Colin, Thank you very much for your patch. On Thu, Nov 9, 2017 at 10:13 AM, Colin King wrote: > From: Colin Ian King > > Pointer cc_base is being assigned but is never read, hence it is > redundant and can be removed. Cleans up clang

Legal question: Author, Sign-off, Company Copyright and gmail

2017-11-09 Thread Daniel Lezcano
Hi all, I noticed a practice when the patches are submitted where I'm a bit confused about how it fits with the DCO. People are creating gmail accounts to send patches on behalf of their company because the company's email configuration does not allow to send patches or adds extra infos, or

Re: [PATCH 02/31] nds32: Kernel booting and initialization

2017-11-09 Thread Greentime Hu
2017-11-08 21:38 GMT+08:00 Rob Herring : > On Tue, Nov 7, 2017 at 11:54 PM, Greentime Hu wrote: >> From: Greentime Hu >> > > Commit message needed. Thanks. I will add more commit messages in the next version patch. > >>

Re: [PATCH v4] printk: Add console owner and waiter logic to loadbalance console writes

2017-11-09 Thread Michal Hocko
On Thu 09-11-17 19:22:58, Tetsuo Handa wrote: > Michal Hocko wrote: > > Hi, > > assuming that this passes warn stall torturing by Tetsuo, do you think > > we can drop > > http://lkml.kernel.org/r/1509017339-4802-1-git-send-email-penguin-ker...@i-love.sakura.ne.jp > > from the mmotm tree? > > I

Re: [PATCH v2] mm, shrinker: make shrinker_list lockless

2017-11-09 Thread Tetsuo Handa
On 2017/11/09 2:37, Shakeel Butt wrote: > In our production, we have observed that the job loader gets stuck for > 10s of seconds while doing mount operation. It turns out that it was > stuck in register_shrinker() and some unrelated job was under memory > pressure and spending time in

Re: [PATCH 02/30] x86, tlb: make CR4-based TLB flushes more robust

2017-11-09 Thread Thomas Gleixner
On Thu, 9 Nov 2017, Borislav Petkov wrote: > On Wed, Nov 08, 2017 at 11:46:49AM -0800, Dave Hansen wrote: > > + /* Put original CR4 value back: */ > > native_write_cr4(cr4); > > } > > Btw, Andy, we read the CR4 shadow in that function but we don't update > it. Why? Because its the same as

Re: [PATCH 00/15] Add support for clang LTO

2017-11-09 Thread AKASHI Takahiro
On Sat, Nov 04, 2017 at 02:13:04AM +, Mark Rutland wrote: > On Fri, Nov 03, 2017 at 12:56:47PM -0700, Sami Tolvanen wrote: > > On Fri, Nov 03, 2017 at 07:26:35PM +, Mark Rutland wrote: > > > I guess that in Google you haven't tested on a platform with EL2 > > > available? > > > > Correct.

Re: [PATCH v4] printk: Add console owner and waiter logic to loadbalance console writes

2017-11-09 Thread Michal Hocko
On Thu 09-11-17 20:03:30, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Thu 09-11-17 19:22:58, Tetsuo Handa wrote: > > > Michal Hocko wrote: > > > > Hi, > > > > assuming that this passes warn stall torturing by Tetsuo, do you think > > > > we can drop > > > >

[PATCH] mm: Replace-simple_strtoul-with-kstrtoul

2017-11-09 Thread Manjeet Pawar
simple_strtoul() is obselete now, so using newer function kstrtoul() Signed-off-by: Manjeet Pawar Signed-off-by: Vinay Kumar Rijhwani Signed-off-by: Rohit Thapliyal --- mm/page_alloc.c | 3 +-- mm/shmem.c | 11

Re: [PATCH V13 04/10] mmc: block: Add CQE support

2017-11-09 Thread Linus Walleij
On Wed, Nov 8, 2017 at 2:20 PM, Adrian Hunter wrote: > On 08/11/17 11:00, Linus Walleij wrote: >> This and other bits gives me the feeling CQE is now actually ONLY >> working on the MQ path. > > I was not allowed to support non-mq. Fair enough. >> That is good. We only

Re: [PATCH V13 05/10] mmc: cqhci: support for command queue enabled host

2017-11-09 Thread Linus Walleij
On Wed, Nov 8, 2017 at 3:14 PM, Adrian Hunter wrote: > On 08/11/17 11:22, Linus Walleij wrote: >> On Fri, Nov 3, 2017 at 2:20 PM, Adrian Hunter >> wrote: >> (...) >>> +EXPORT_SYMBOL(cqhci_resume); >> >> Why would the CQE case require special

[PATCH 7/13] scsi: arcmsr: add driver option cmd_per_lun to set host->cmd_per_lun value by user

2017-11-09 Thread Ching Huang
From: Ching Huang add driver option cmd_per_lun to set host->cmd_per_lun value by user Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-08-04

Re: [PATCH] ARM: dts: add phy-reset property for rk3066a-rayeager emac

2017-11-09 Thread Roger Quadros
Hi, On 07/11/17 09:54, Vladimir Zapolskiy wrote: > Hello Chris, > > On 11/07/2017 04:49 AM, Chris Zhong wrote: >> The ethernet phy of rk3066a-rayeager has a reset pin, it controlled by >> GPIO1_D6, this pin should be pull down then pull up to reset the phy. >> Add a phy-reset property in emac,

[PATCH] extcon: max77693: Delete an unnecessary variable initialisation in max77693_muic_set_path()

2017-11-09 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 9 Nov 2017 09:40:59 +0100 The variable "ret" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

Re: [PATCH V2] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

2017-11-09 Thread Jan Beulich
>>> On 09.11.17 at 00:06, wrote: > --- a/drivers/xen/xen-pciback/pci_stub.c > +++ b/drivers/xen/xen-pciback/pci_stub.c > @@ -244,6 +244,91 @@ struct pci_dev *pcistub_get_pci_dev(struct > xen_pcibk_device *pdev, > return found_dev; > } > > +struct pcistub_args {

Re: [PATCH net-next 2/6] net: dsa: return after mdb prepare phase

2017-11-09 Thread Egil Hjelmeland
On 08. nov. 2017 18:19, Vivien Didelot wrote: The current code does not return after successfully preparing the MDB addition on every ports member of a multicast group. Fix this. Fixes: a1a6b7ea7f2d ("net: dsa: add cross-chip multicast support") Reported-by: Egil Hjelmeland

Re: Linux & FAT32 label

2017-11-09 Thread Pali Rohár
On Tuesday 07 November 2017 12:28:41 Theodore Ts'o wrote: > On Sun, Nov 05, 2017 at 10:12:49PM +0100, Pali Rohár wrote: > > Easy way how to achieve this situation: > > > > 1. use mkdosfs to format hard disk to FAT32 with label LABEL42 > > > > 2. boot Windows 10 (or XP) and set label of that

[PATCH 1/2] sched/swait: allow swake_up() to return

2017-11-09 Thread Peter Xu
Let swake_up() to return whether any of the waiters is waked up. One use case of it would be: if (swait_active(wq)) { swake_up(wq); // do something when waiter is waked up waked_up++; } Logically it's possible that when reaching swake_up() the wait queue is not active any more,

Re: [PATCH v4] printk: Add console owner and waiter logic to load balance console writes

2017-11-09 Thread Michal Hocko
Hi, assuming that this passes warn stall torturing by Tetsuo, do you think we can drop http://lkml.kernel.org/r/1509017339-4802-1-git-send-email-penguin-ker...@i-love.sakura.ne.jp from the mmotm tree? On Wed 08-11-17 10:27:23, Steven Rostedt wrote: > [ claws-mail is really pissing me off. It did

Re: Legal question: Author, Sign-off, Company Copyright and gmail

2017-11-09 Thread Greg Kroah-Hartman
On Thu, Nov 09, 2017 at 10:45:27AM +0100, Daniel Lezcano wrote: > > Hi all, > > I noticed a practice when the patches are submitted where I'm a bit > confused about how it fits with the DCO. > > People are creating gmail accounts to send patches on behalf of their > company because the

[PATCH] x86: use cpufreq_quick_get() for /proc/cpuinfo "cpu MHz" again

2017-11-09 Thread WANG Chao
Commit 941f5f0f6ef5 (x86: CPU: Fix up "cpu MHz" in /proc/cpuinfo) caused a serious performance issue when reading from /proc/cpuinfo on system with aperfmperf. For each cpu, arch_freq_get_on_cpu() sleeps 20ms to get its frequency. On a system with 64 cpus, it takes 1.5s to finish running `cat

Re: [PATCH RESEND 2/3] KVM: Add paravirt remote TLB flush

2017-11-09 Thread Wanpeng Li
2017-11-09 19:02 GMT+08:00 Paolo Bonzini : > On 09/11/2017 12:01, Wanpeng Li wrote: >> 2017-11-09 18:48 GMT+08:00 Paolo Bonzini : >>> On 09/11/2017 03:02, Wanpeng Li wrote: @@ -484,6 +511,8 @@ void __init kvm_guest_init(void)

RE: [PATCH x86 v2] uprobe: emulate push insns for uprobe on x86

2017-11-09 Thread David Laight
From: Yonghong Song > Sent: 09 November 2017 00:55 > > Uprobe is a tracing mechanism for userspace programs. > Typical uprobe will incur overhead of two traps. > First trap is caused by replaced trap insn, and > the second trap is to execute the original displaced > insn in user space. > > To

Re: [PATCH 1/3] HID: cp2112: fix interface specification URL

2017-11-09 Thread Jiri Kosina
On Thu, 2 Nov 2017, Sébastien Szymanski wrote: > Signed-off-by: Sébastien Szymanski > --- > drivers/hid/hid-cp2112.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hid/hid-cp2112.c b/drivers/hid/hid-cp2112.c > index

[PATCH v4 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2017-11-09 Thread Rick Chen
Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: Rick Chen Acked-by: Rob Herring Signed-off-by: Greentime Hu --- .../bindings/timer/andestech,atcpit100-timer.txt | 33

[PATCH 12/13] scsi: arcmsr: adjust some tab or white-space to make text alignment

2017-11-09 Thread Ching Huang
From: Ching Huang adjust some tab or white-space to make text alignment Signed-off-by: Ching Huang --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-11-07 16:18:22.0

[PATCH v4 1/3] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2017-11-09 Thread Rick Chen
ATCPIT100 is often used on the Andes architecture, This timer provide 4 PIT channels. Each PIT channel is a multi-function timer, can be configured as 32,16,8 bit timers or PWM as well. For system timer it will set channel 1 32-bit timer0 as clock source and count downwards until underflow and

[PATCH v4 2/3] clocksource/drivers/Kconfig: Support andestech atcpit100 timer

2017-11-09 Thread Rick Chen
Add CLKSRC_ATCPIT100 for Andestech atcpit100 timer selection. It often be used in Andestech AE3XX platform. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu --- drivers/clocksource/Kconfig | 6 ++ drivers/clocksource/Makefile | 1 + 2 files

Re: [PATCH] dell-smbios: fix string overflow

2017-11-09 Thread Pali Rohár
On Wednesday 08 November 2017 13:08:39 Arnd Bergmann wrote: > The new sysfs code overwrites two fixed-length character arrays > that are each one byte shorter than they need to be, to hold > the trailing \0: > > drivers/platform/x86/dell-smbios.c: In function 'build_tokens_sysfs': >

Re: [PATCH] mm: don't warn about allocations which stall for too long

2017-11-09 Thread Michal Hocko
[Please try to trim the context you are replying to] On Wed 08-11-17 11:30:23, peter enderborg wrote: [...] > What about the idea to keep the function, but instead of printing only do a > trace event. I am not sure. I would rather see a tracepoint to mark the allocator entry. This would allow

[PATCH] crypto: chelsio: remove redundant assignments to reqctx and dst_size

2017-11-09 Thread Colin King
From: Colin Ian King Pointer reqctx is assigned the same value twice, once on initialization and again a few statements later, remove the second redundant assignment. Variable dst_size is assigned but it is never read, so the variable is redundant and can be removed.

Re: WTF? Re: [PATCH] License cleanup: add SPDX GPL-2.0 license identifier to files with no license

2017-11-09 Thread Christoph Hellwig
On Thu, Nov 09, 2017 at 09:23:35AM +0100, Greg Kroah-Hartman wrote: > The documentation of this process is lagging the patches, as usually > happens, sorry about that. In cases like this the documentation is the most important part. Without documentation it is completely pointless. > > Thomas

Re: [PATCH] slub: Fix sysfs duplicate filename creation when slub_debug=O

2017-11-09 Thread Miles Chen
On Wed, 2017-11-08 at 09:05 -0600, Christopher Lameter wrote: > On Wed, 8 Nov 2017, Miles Chen wrote: > > > > Ok then the aliasing failed for some reason. The creation of the unique id > > > and the alias detection needs to be in sync otherwise duplicate filenames > > > are created. What is the

[PATCH v2 06/10] staging: ccree: simplify pm manager using local var

2017-11-09 Thread Gilad Ben-Yossef
Make the code more readable by using a local variable. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_pm.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/ssi_pm.c b/drivers/staging/ccree/ssi_pm.c index

Re: [PATCH] extcon: max77693: Delete an unnecessary variable initialisation in max77693_muic_set_path()

2017-11-09 Thread Chanwoo Choi
Hi, On 2017년 11월 09일 17:49, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 9 Nov 2017 09:40:59 +0100 > > The variable "ret" will be set to an appropriate value a bit later. > Thus omit the explicit initialisation at the beginning. > > Signed-off-by:

[PATCH v2 05/10] staging: ccree: fold common code into function

2017-11-09 Thread Gilad Ben-Yossef
Fold common code copying MAC to/from a temp. buffer into an inline function instead of keeping multiple open coded versions of same. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 89 ++ 1 file changed, 37

Re: [PATCH] extcon: max8997: Delete an unnecessary variable initialisation in max8997_muic_set_path()

2017-11-09 Thread Chanwoo Choi
Hi, On 2017년 11월 09일 18:05, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 9 Nov 2017 10:00:08 +0100 > > The variable "ret" will be set to an appropriate value a bit later. > Thus omit the explicit initialisation at the beginning. > > Signed-off-by:

  1   2   3   4   5   6   7   8   9   10   >