Re: [PATCH v2 1/2] net, can, ifi: fix "write buffer full" error

2018-02-08 Thread Marek Vasut
On 02/08/2018 10:33 PM, Marc Kleine-Budde wrote: > On 02/08/2018 08:22 PM, Marek Vasut wrote: >> On 02/08/2018 03:46 PM, Marc Kleine-Budde wrote: >>> On 02/08/2018 07:47 AM, Heiko Schocher wrote: the driver reads in the ISR first the IRQpending register, and clears after that in a write *

Re: net: thunder: change q_len's type to handle max ring size

2018-02-08 Thread Dean Nelson
On 02/08/2018 02:34 PM, David Miller wrote: From: Dean Nelson Date: The Cavium thunder nicvf driver supports rx/tx rings of up to 65536 entries per. The number of entires are stored in the q_len member of struct q_desc_mem. The problem is that q_len being a u16, results in 65536 becoming 0. I

Re: [PATCH v2 1/3] PCI: endpoint: Handle 64-bit BARs properly

2018-02-08 Thread Bjorn Helgaas
On Thu, Feb 08, 2018 at 06:17:32PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 08 February 2018 06:03 PM, Niklas Cassel wrote: > > A 64-bit BAR uses the succeeding BAR for the upper bits, therefore > > we cannot call pci_epc_set_bar() on a BAR that follows a 64-bit BAR. > > > > If

Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2

2018-02-08 Thread Arnd Bergmann
On Thu, Feb 8, 2018 at 10:16 PM, Alan Cox wrote: > On Thu, 8 Feb 2018 16:22:40 +0100 > Arnd Bergmann wrote: > >> On Thu, Feb 8, 2018 at 2:49 PM, Alan Cox wrote: >> >> What about Pentium II and 3? I'm using 5 such machines (and also a Pentium >> >> MMX). I've tried a spectre test before and it wa

[PATCH v3] spi: kconfig: Remove AVR32 dep. from SPI_ATMEL

2018-02-08 Thread Ulf Magnusson
The AVR32 symbol was removed in commit 26202873bb51 ("avr32: remove support for AVR32 architecture"). Signed-off-by: Ulf Magnusson --- Changes in v3: Add Signed-off-by tag Changes in v2: Remove the AVR32 reference from the help text too. drivers/spi/Kconfig | 4 ++-- 1 file changed, 2 insertio

Re: [PATCH v3 4/4] amdgpu/dc/calcs: Support clang option for stack alignment

2018-02-08 Thread Matthias Kaehlcke
El Thu, Feb 08, 2018 at 04:44:21PM -0500 Harry Wentland ha dit: > On 2018-02-08 04:03 PM, Harry Wentland wrote: > > On 2018-02-08 03:53 PM, Matthias Kaehlcke wrote: > >> calcs uses the compiler option -mpreferred-stack-boundary=4 to configure > >> a stack alignment of 16 bytes. Clang uses the opti

Re: [PATCH 06/20] riscv: Remove ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select

2018-02-08 Thread Ulf Magnusson
On Thu, Feb 8, 2018 at 7:34 PM, Palmer Dabbelt wrote: > On Sun, 04 Feb 2018 17:21:18 PST (-0800), ulfali...@gmail.com wrote: >> >> The ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE symbol was removed in >> commit 51a021244b9d ("atomic64: no need for >> CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE"). >> >> Remove

[RFC 0/2] sched: Make idle_balance smarter about topology

2018-02-08 Thread Rohit Jain
Current idle_balance does a check against migration cost (fixed value) with the average idle time of a CPU. There is a huge difference in migration costs between CPUs of the same core, different cores and different sockets. Since sched_domain already captures the architectural dependencies, this pa

[RFC 1/2] sched: reduce migration cost between faster caches for idle_balance

2018-02-08 Thread Rohit Jain
This patch makes idle_balance more dynamic as the sched_migration_cost is now accounted on a sched_domain level. This in turn is done in sd_init when we know what the topology relationships are. For introduction sakes cost of migration within the same core is set as 0, across cores is 50 usec and

[RFC 2/2] Introduce sysctl(s) for the migration costs

2018-02-08 Thread Rohit Jain
This patch introduces the sysctl for sched_domain based migration costs. These in turn can be used for performance tuning of workloads. Signed-off-by: Rohit Jain --- include/linux/sched/sysctl.h | 2 ++ kernel/sched/fair.c | 4 +++- kernel/sched/topology.c | 8 kernel/s

linux-next: Signed-off-by missing for commit in the net tree

2018-02-08 Thread Stephen Rothwell
Hi all, Commit 55b3280d1e47 ("tipc: fix skb truesize/datasize ratio control") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell

Re: [PATCH v2 1/1] mm: initialize pages on demand during boot

2018-02-08 Thread Pavel Tatashin
Hi Andrew, Thank you for your comments. My replies below: + +/* + * Protects some early interrupt threads, and also for a short period of time + * from smp_init() to page_alloc_init_late() when deferred pages are + * initialized. + */ +static __initdata DEFINE_SPINLOCK(deferred_zone_grow_lock)

Re: [PATCH v3 2/8] dt-bindings: power: reset: Document ocelot-reset binding

2018-02-08 Thread Sebastian Reichel
Hi, On Tue, Jan 16, 2018 at 11:12:34AM +0100, Alexandre Belloni wrote: > Add binding documentation for the Microsemi Ocelot reset block. > > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > Cc: Sebastian Reichel > Cc: linux...@vger.kernel.org > Signed-off-by: Alexandre Belloni > --- Thanks,

Re: [PATCH v3 3/8] power: reset: Add a driver for the Microsemi Ocelot reset

2018-02-08 Thread Sebastian Reichel
Hi, On Tue, Jan 16, 2018 at 11:12:35AM +0100, Alexandre Belloni wrote: > The Microsemi Ocelot SoC has a register allowing to reset the MIPS core. > Unfortunately, the syscon-reboot driver can't be used directly (but almost) > as the reset control may be disabled using another register. > > Cc: Se

Re: [PATCH] mm: thp: fix potential clearing to referenced flag in page_idle_clear_pte_refs_one()

2018-02-08 Thread Andrew Morton
On Tue, 6 Feb 2018 08:06:36 +0800 Yang Shi wrote: > For PTE-mapped THP, the compound THP has not been split to normal 4K > pages yet, the whole THP is considered referenced if any one of sub > page is referenced. > > When walking PTE-mapped THP by pvmw, all relevant PTEs will be checked > to re

[PATCH 3/3] X86/nVMX: Update the MSR_BITMAP field with the L02 MSR BITMAP

2018-02-08 Thread KarimAllah Ahmed
... otherwise we will just be running with the L1 MSR BITMAP! It does not seem that we ever update the MSR_BITMAP when the nested guest is running. The only place where we update the MSR_BITMAP field in VMCS is for the L1 guest! Signed-off-by: KarimAllah Ahmed Cc: Paolo Bonzini Cc: Radim Krčmář

[PATCH 2/3] KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap

2018-02-08 Thread KarimAllah Ahmed
We either clear the CPU_BASED_USE_MSR_BITMAPS and end up intercepting all MSR accesses or create a valid L02 MSR bitmap and use that. This decision has to be made every time we evaluate whether we are going to generate the L02 MSR bitmap. Before commit 086e7d4118cc ("KVM: VMX: Allow direct access

[PATCH] riscv: kconfig: Remove RISCV_IRQ_INTC select

2018-02-08 Thread Ulf Magnusson
The RISCV_IRQ_INTC configuration symbol is undefined, but RISCV selects it. Quoting Palmer Dabbelt: It looks like this slipped through, the symbol has been renamed RISCV_INTC. No RISCV_INTC configuration symbol has been merged either. Just remove the RISCV_IRQ_INTC select for now.

Re: [PATCH 07/20] riscv: Remove ARCH_WANT_OPTIONAL_GPIOLIB select

2018-02-08 Thread Ulf Magnusson
On Thu, Feb 08, 2018 at 10:34:19AM -0800, Palmer Dabbelt wrote: > On Sun, 04 Feb 2018 17:21:19 PST (-0800), ulfali...@gmail.com wrote: > > The ARCH_WANT_OPTIONAL_GPIOLIB symbol was removed in commit 65053e1a7743 > > ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB"). GPIOLIB should > > just be

Re: [PATCH net 1/1 v4] rtnetlink: require unique netns identifier

2018-02-08 Thread Christian Brauner
On Thu, Feb 8, 2018 at 8:33 PM, David Miller wrote: > From: Christian Brauner > Date: Wed, 7 Feb 2018 13:53:20 +0100 > >> Since we've added support for IFLA_IF_NETNSID for RTM_{DEL,GET,SET,NEW}LINK >> it is possible for userspace to send us requests with three different >> properties to identify

Re: [PATCH 07/20] riscv: Remove ARCH_WANT_OPTIONAL_GPIOLIB select

2018-02-08 Thread Palmer Dabbelt
On Tue, 06 Feb 2018 01:47:00 PST (-0800), linus.wall...@linaro.org wrote: On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson wrote: The ARCH_WANT_OPTIONAL_GPIOLIB symbol was removed in commit 65053e1a7743 ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB"). GPIOLIB should just be selected explic

[GIT PULL] please pull nfsd changes for 4.16

2018-02-08 Thread J. Bruce Fields
Please pull nfsd changes for 4.16 from git://linux-nfs.org/~bfields/linux.git tags/nfsd-4.16 This request is late, apologies. But it's also a fairly small update this time around. Some cleanup, RDMA fixes, overlayfs fixes, and a fix for an NFSv4 state bug. The bigger deal for nfsd this time

[RFC PATCH 1/2] KVM: x86: Add a framework for supporting MSR-based features

2018-02-08 Thread Tom Lendacky
Provide a new KVM capability that allows bits within MSRs to be recognized as features. Two new ioctls are added to the VM ioctl routine to retrieve the list of these MSRs and their values. The MSR features can optionally be exposed based on a CPU and/or a CPU feature. Signed-off-by: Tom Lendacky

[RFC PATCH 2/2] KVM: SVM: Add MSR feature support for serializing LFENCE

2018-02-08 Thread Tom Lendacky
Create an entry in the new MSR as a feature framework to allow a guest to recognize LFENCE as a serializing instruction on AMD processors. The MSR can only be set by the host, any write by the guest will be ignored. A read by the guest will return the value as set by the host. In this way, the s

[RFC PATCH 0/2] KVM: MSR-based features

2018-02-08 Thread Tom Lendacky
The following series implements support within KVM for MSR-based features. The first patch creates the MSR-based feature framework used to initialize and retrieve the MSR-based features. The second patch adds support that will allow a guest to determine if the LFENCE instruction is serializing on

[PATCH 1/3] X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs

2018-02-08 Thread KarimAllah Ahmed
These two variables should check whether SPEC_CTRL and PRED_CMD are supposed to be passed through to L2 guests or not. While msr_write_intercepted_l01 would return 'true' if it is not passed through. So just invert the result of msr_write_intercepted_l01 to implement the correct semantics. Fixes:

Re: [RFC PATCH 0/2] KVM: MSR-based features

2018-02-08 Thread Tom Lendacky
On 2/8/2018 4:58 PM, Tom Lendacky wrote: > The following series implements support within KVM for MSR-based features. > The first patch creates the MSR-based feature framework used to initialize > and retrieve the MSR-based features. The second patch adds support that > will allow a guest to deter

[PATCH 0/2] objtool fixes on top of Peter's WARN UD2 patch

2018-02-08 Thread Josh Poimboeuf
Josh Poimboeuf (2): objtool: Fix seg fault in ignore_unreachable_insn() x86: Annotate WARN-related UD2 as reachable arch/x86/include/asm/bug.h | 6 +- tools/objtool/check.c | 12 +--- 2 files changed, 14 insertions(+), 4 deletions(-) -- 2.14.3

[PATCH 2/2] x86: Annotate WARN-related UD2 as reachable

2018-02-08 Thread Josh Poimboeuf
By default, objtool assumes that a UD2 is a dead end. This is mainly because GCC 7+ sometimes inserts a UD2 when it detects a divide-by-zero condition. Now that WARN() is moving back to UD2, annotate the code after it as reachable so objtool can follow the code flow. Reported-by: Borislav Petkov

[PATCH 1/2] objtool: Fix seg fault in ignore_unreachable_insn()

2018-02-08 Thread Josh Poimboeuf
Peter Zijlstra's patch for converting WARN() to use UD2 triggered a bunch of false "unreachable instruction" warnings, which then triggered a seg fault in ignore_unreachable_insn(). The seg fault happened when it tried to dereference a NULL 'insn->func' pointer. Thanks to static_cpu_has(), some f

Re: [PATCH] khungtaskd: Kick stuck processes

2018-02-08 Thread Tetsuo Handa
Chris Wilson wrote: > After spotting a stuck process, and having decided not to panic, give > the task a kick to see if that helps it to recover (e.g. to paper over a > missed wake up). Yes, we are seeing hangs at io_schedule(), but doesn't optionally allowing io_schedule() be replaced with timeou

Re: [PATCHv2 0/8] omapdrm: DSI command mode panel support

2018-02-08 Thread Tony Lindgren
* Sebastian Reichel [180208 10:31]: > Hi, > > These are the remaining patches from my previous patchset to get > Droid 4 (omap4) display working. The patches have been rebased to > current master branch from Torvalds (581e400ff935). Since N950 > (omap3) is broken even with the workaround I moved

Re: [PATCH] khungtaskd: Kick stuck processes

2018-02-08 Thread Chris Wilson
Quoting Tetsuo Handa (2018-02-08 23:10:43) > Chris Wilson wrote: > > After spotting a stuck process, and having decided not to panic, give > > the task a kick to see if that helps it to recover (e.g. to paper over a > > missed wake up). > > Yes, we are seeing hangs at io_schedule(), but doesn't op

[PATCH] ALSA: ac97: kconfig: Remove select of undefined symbol AC97

2018-02-08 Thread Ulf Magnusson
The AC97_BUS_NEW Kconfig symbol selects the globally undefined symbol AC97. Robert Jarzmik confirmed in https://lkml.org/lkml/2018/2/7/96 that the select was put in by mistake and can be safely removed, with no other changes required. Remove it. Signed-off-by: Ulf Magnusson --- sound/ac97/Kconf

Re: Regression after commit 19809c2da28a ("mm, vmalloc: use __GFP_HIGHMEM implicitly")

2018-02-08 Thread Matthew Wilcox
On Thu, Feb 08, 2018 at 05:06:49AM -0800, Matthew Wilcox wrote: > On Thu, Feb 08, 2018 at 02:29:57PM +0800, Kai Heng Feng wrote: > > A user with i386 instead of AMD64 machine reports [1] that commit > > 19809c2da28a ("mm, vmalloc: use __GFP_HIGHMEM implicitly”) causes a > > regression. > > BUG_ON

Re: [PATCH] ALSA: ac97: kconfig: Remove select of undefined symbol AC97

2018-02-08 Thread Ulf Magnusson
On Fri, Feb 09, 2018 at 12:15:36AM +0100, Ulf Magnusson wrote: > The AC97_BUS_NEW Kconfig symbol selects the globally undefined symbol > AC97. > > Robert Jarzmik confirmed in https://lkml.org/lkml/2018/2/7/96 that the > select was put in by mistake and can be safely removed, with no other > change

Re: ALPS Trackpoint & pressure

2018-02-08 Thread Pali Rohár
On Tuesday 06 February 2018 10:29:47 Peter Hutterer wrote: > On Mon, Feb 05, 2018 at 02:49:55PM -0800, Dmitry Torokhov wrote: > > On Sun, Feb 04, 2018 at 04:08:39PM +0100, Pali Rohár wrote: > > > Hi! Now playing again with trackpoint connected to ALPS rushmore > > > touchpad and I'm seeking a nice

Re: [RFC PATCH v1 00/13] lru_lock scalability

2018-02-08 Thread Andrew Morton
On Wed, 31 Jan 2018 18:04:00 -0500 daniel.m.jor...@oracle.com wrote: > lru_lock, a per-node* spinlock that protects an LRU list, is one of the > hottest locks in the kernel. On some workloads on large machines, it > shows up at the top of lock_stat. Do you have details on which callsites are cau

linux-next: build failure after merge of the btrfs-kdave tree

2018-02-08 Thread Stephen Rothwell
Hi David, [Seems I somehow failed to actually send the following message a couple of days ago, sorry.] After merging the btrfs-kdave tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/btrfs/tree-checker.c:33:10: fatal error: hash.h: No such file or directory #include

Re: linux-next: build failure after merge of the btrfs-kdave tree

2018-02-08 Thread David Sterba
On Fri, Feb 09, 2018 at 10:40:57AM +1100, Stephen Rothwell wrote: > Hi David, > > [Seems I somehow failed to actually send the following message a couple > of days ago, sorry.] > > After merging the btrfs-kdave tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > fs/b

Re: [PATCH 2/2] trace-cmd: Change the way of getting python ldflags.

2018-02-08 Thread Steven Rostedt
On Sun, 4 Feb 2018 11:20:14 +0800 szts...@gmail.com wrote: > From: Zamir SUN > > Prior than this patch, Makefile detects python ldflags using a hardcoded > python command. It will cause problems if we are building against > python3 in the future when ldflags for python2 and python3 are > differ

Re: [PATCH 09/18] tracing: Add indexing of arguments for function based events

2018-02-08 Thread Namhyung Kim
On Thu, Feb 08, 2018 at 10:43:43AM -0500, Steven Rostedt wrote: > On Thu, 8 Feb 2018 19:59:24 +0900 > Namhyung Kim wrote: > > > > @@ -347,6 +361,8 @@ static long long get_arg(struct func_arg *arg, > > > unsigned long val) > > > char buf[8]; > > > int ret; > > > > > > + val += arg->index; >

Re: ALPS Trackpoint & pressure

2018-02-08 Thread Peter Hutterer
On Fri, Feb 09, 2018 at 12:21:41AM +0100, Pali Rohár wrote: > On Tuesday 06 February 2018 10:29:47 Peter Hutterer wrote: > > On Mon, Feb 05, 2018 at 02:49:55PM -0800, Dmitry Torokhov wrote: > > > On Sun, Feb 04, 2018 at 04:08:39PM +0100, Pali Rohár wrote: > > > > Hi! Now playing again with trackpoi

Re: [PATCH] audit: deprecate the AUDIT_FILTER_ENTRY filter

2018-02-08 Thread Paul Moore
On Wed, Feb 7, 2018 at 6:24 AM, Richard Guy Briggs wrote: > The audit entry filter has been long deprecated with userspace support > finally removed in audit-v2.6.7 and plans to remove kernel support have > existed since kernel-v2.6.31. > Remove it. > > Passes audit-testsuite. > > See: https://git

Re: [PATCH] tools: libsubcmd: Drop the less hack that was inherited from Git.

2018-02-08 Thread Arvind Sankar
We inherited this hack with the original code from the Git project. The select call is invalid as the two fd_set pointers should not be aliased. We could fix it, but the Git project removed this hack in 2012 in commit e8320f3 (pager: drop "wait for output to run less" hack). The bug it worked arou

[RFC perf] perf: try schedule more hw events, even when previous groups failed

2018-02-08 Thread Song Liu
In current perf event scheduling, once a hw group failed to schedule, we will not try to schedule other hw groups in the list. This behavior is reasonable in most cases, but it is weird with ref-cycles on Intel CPUs. For recent Intel CPUs, ref-cycles can only be served on fixed PMC counter2. If th

[PATCH] scsi: storvsc: missing error code in storvsc_probe()

2018-02-08 Thread Long Li
From: Long Li This patch backports upstream commit ca8dc694045e9aa248e9916e0f614deb0494cb3d for 4.14-stable. commit ca8dc694045e9aa248e9916e0f614deb0494cb3d: We should set the error code if fc_remote_port_add() fails. Cc: #v4.12+ Fixes: daf0cd445a21 ("scsi: storvsc: Add support for FC rport."

Re: [PATCH v1 2/2] clk: npcm: add NPCM7xx clock driver

2018-02-08 Thread Brendan Higgins
>> + >> + /* Define fixed clocks. >> +* Notice: the following clocks are fixed value on NPCM7XX and should >> +* not be changed. >> +* therefor they are not exposed to the dev tree . > > I am not convinced. The top level .dtsi is usually SoC specific. > > - CLKREF sho

Re: [PATCH v3 1/1] mm: page_alloc: skip over regions of invalid pfns on UMA

2018-02-08 Thread Eugeniu Rosca
Hello linux-mm community, Everyone of you might have and probably do have more important tasks in their queue, compared to the boot optimization discussed in this email chain. Still, this patch is important for our organization, our community and our suppliers. So, I still hope that we will be ab

Re: [PATCH 09/18] tracing: Add indexing of arguments for function based events

2018-02-08 Thread Steven Rostedt
On Fri, 9 Feb 2018 08:56:15 +0900 Namhyung Kim wrote: > On Thu, Feb 08, 2018 at 10:43:43AM -0500, Steven Rostedt wrote: > > On Thu, 8 Feb 2018 19:59:24 +0900 > > Namhyung Kim wrote: > > > > > > @@ -347,6 +361,8 @@ static long long get_arg(struct func_arg *arg, > > > > unsigned long val) > >

linux-next: status of the idr tree

2018-02-08 Thread Stephen Rothwell
Hi Willy, Just wondering if I should keep tracking the idr tree (git://git.infradead.org/users/willy/linux-dax.git#idr-4.11) which (unsuprisedly) hasn't been updated since March last year. If there is to be more work in this area, maybe you could create a for-next branch (or something else releas

Re: [PATCH 1/2] dt-bindings: Documentation for qcom,llcc

2018-02-08 Thread Channa
On 2018-02-08 08:52, Matt Sealey wrote: Hiya, On 25 January 2018 at 17:55, Channagoud Kadabi wrote: Documentation for last level cache controller device tree bindings, client bindings usage examples. [snippety snip] +- llcc-bank-off: + Usage: required + Value Type: + De

Re: linux-next: build failure after merge of the btrfs-kdave tree

2018-02-08 Thread Stephen Rothwell
Hi David, On Fri, 9 Feb 2018 00:48:46 +0100 David Sterba wrote: > > Right, I had fixed it in my local branch but did not push the update, > sorry. Current for-next, top commit 993b08a92e32 builds fine. Thanks. -- Cheers, Stephen Rothwell

RE: [kbuild-all] arch/x86/tools/insn_decoder_test: warning: ffffffff810005ac: 0f ff e9 ud0 %ecx, %ebp

2018-02-08 Thread Hao, Shun
Thanks Masami, so that explains why a lot of these warnings come out just after we upgrading to gcc-7.3 (now the objdump version is 2.30). Currently we've already ignore these warnings and won't send this report. >-Original Message- >From: kbuild-all [mailto:kbuild-all-boun...@lists.01.

Re: [PATCH 12/18] tracing: Add accessing direct address from function based events

2018-02-08 Thread Namhyung Kim
On Fri, Feb 02, 2018 at 06:05:10PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Allow referencing any address during the function based event. The syntax is > to use = For example: > > # echo 'do_IRQ(long total_forks=0xa2a4b4c0)' > function_events > # echo 1 > ev

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

2018-02-08 Thread Joe Perches
On Fri, 2018-02-02 at 13:18 -0800, Joe Perches wrote: > On Fri, 2018-02-02 at 09:40 -0600, Rob Herring wrote: > > Add SPDX license tag check based on the rules defined in > > Documentation/process/license-rules.rst. To summarize, SPDX license tags > > should be on the 1st line (or 2nd line in scrip

Re: [RESEND PATCH v3 1/2] sched/deadline: Add cpudl_maximum_dl() for clean-up

2018-02-08 Thread Byungchul Park
On 1/11/2018 6:07 PM, Peter Zijlstra wrote: Sorry for the huge delay on this, but I'll have to postpone further. Still busy with meltdown/spectre stuff. Do you have time to see these patches and another set, now? -- Thanks, Byungchul

Re: [PATCH -mm -v2] mm, swap, frontswap: Fix THP swap if frontswap enabled

2018-02-08 Thread Huang, Ying
Minchan Kim writes: > Hi Huang, > > On Thu, Feb 08, 2018 at 11:27:50PM +0800, huang ying wrote: >> On Wed, Feb 7, 2018 at 3:00 PM, Huang, Ying wrote: >> > From: Huang Ying >> > >> > It was reported by Sergey Senozhatsky that if THP (Transparent Huge >> > Page) and frontswap (via zswap) are both

Re: [PATCH 1/7] dt-bindings: soc: new driver for DaVinci genpd

2018-02-08 Thread Kevin Hilman
Bartosz Golaszewski writes: > 2018-02-07 22:47 GMT+01:00 David Lechner : >> On 02/07/2018 07:45 AM, Bartosz Golaszewski wrote: >>> >>> From: Bartosz Golaszewski >>> >>> Add a simple document for the DaVinci genpd driver. We use clock pm >>> exclusively hence no reg property. >>> >>> Signed-off-b

Re: [PATCH -next] meson-mx-socinfo: Make local function meson_mx_socinfo_init() static

2018-02-08 Thread Kevin Hilman
On Wed, Jan 10, 2018 at 6:19 AM, Wei Yongjun wrote: > Fixes the following sparse warnings: > > drivers/soc/amlogic/meson-mx-socinfo.c:107:12: warning: > symbol 'meson_mx_socinfo_init' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun Applied for v4.17, Kevin

Re: [PATCH -next] meson-gx-socinfo: make local function meson_gx_socinfo_init static

2018-02-08 Thread Kevin Hilman
Neil Armstrong writes: > On 10/01/2018 15:19, Wei Yongjun wrote: >> Fixes the following sparse warnings: >> >> drivers/soc/amlogic/meson-gx-socinfo.c:100:12: warning: >> symbol 'meson_gx_socinfo_init' was not declared. Should it be static? >> >> Signed-off-by: Wei Yongjun >> --- >> drivers/s

[PATCH v2] rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c

2018-02-08 Thread Matthias Kaehlcke
In _rtl92c_get_txpower_writeval_by_regulatory() the variable writeVal is assigned to itself in an if ... else statement, apparently only to document that the branch condition is handled and that a previously read value should be returned unmodified. The self-assignment causes clang to raise the fol

Re: [PATCH v2 1/1] mm: initialize pages on demand during boot

2018-02-08 Thread Pavel Tatashin
>> >> It would be nice to have a little comment explaining why READ_ONCE was >> needed. >> >> Would it still be needed if this code was moved into the locked region? > > > No, we would need to use READ_ONCE() if we grabbed deferred_zone_grow_lock > before this code. In fact I do not even think we s

Re: [PATCH 2/2] x86/mm/64: Add vsyscall page to /proc/kcore conditionally

2018-02-08 Thread Jia Zhang
Hi, Anybody else here who can give an attention on this review? Thanks, Jia On 2018/2/5 下午5:26, Jiri Olsa wrote: > On Tue, Jan 30, 2018 at 02:42:59PM +0800, Jia Zhang wrote: >> The vsyscall page should be visible only if >> vsyscall=emulate/native when dumping /proc/kcore. >> >> Signed-off-by: J

Re: [PATCH 12/18] tracing: Add accessing direct address from function based events

2018-02-08 Thread Steven Rostedt
On Fri, 9 Feb 2018 09:34:36 +0900 Namhyung Kim wrote: > > +Direct memory access > > + > > + > > +Function arguments are not the only thing that can be recorded from a > > function > > +based event. Memory addresses can also be examined. If there's a global > > variable > > +

Re: [PATCH v2] rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c

2018-02-08 Thread Larry Finger
On 02/08/2018 06:57 PM, Matthias Kaehlcke wrote: In _rtl92c_get_txpower_writeval_by_regulatory() the variable writeVal is assigned to itself in an if ... else statement, apparently only to document that the branch condition is handled and that a previously read value should be returned unmodified

Re: [PATCH 13/18] tracing: Add array type to function based events

2018-02-08 Thread Namhyung Kim
On Fri, Feb 02, 2018 at 06:05:11PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Add syntex to allow the user to create an array type. Brackets after the > type field will denote that this is an array type. For example: > > # echo 'SyS_open(x8[32] buf, x32 flags, x32 mode)'

Re: [PATCH] tools: libsubcmd: Drop the less hack that was inherited from Git.

2018-02-08 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 08, 2018 at 07:00:10PM -0500, Arvind Sankar escreveu: > We inherited this hack with the original code from the Git project. The > select call is invalid as the two fd_set pointers should not be aliased. > > We could fix it, but the Git project removed this hack in 2012 in commit > e832

Re: [PATCH v2] rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c

2018-02-08 Thread Guenter Roeck
On Thu, Feb 8, 2018 at 4:57 PM, Matthias Kaehlcke wrote: > In _rtl92c_get_txpower_writeval_by_regulatory() the variable writeVal > is assigned to itself in an if ... else statement, apparently only to > document that the branch condition is handled and that a previously read > value should be retu

Re: [PATCH v2] mm: hwpoison: disable memory error handling on 1GB hugepage

2018-02-08 Thread Naoya Horiguchi
On 02/08/2018 09:30 PM, Punit Agrawal wrote: > Horiguchi-san, > > Naoya Horiguchi writes: > >> Hi Punit, >> >> On Mon, Feb 05, 2018 at 03:05:43PM +, Punit Agrawal wrote: >>> Naoya Horiguchi writes: >>> > > [...] > You can easily reproduce this by calling madvise(MADV_HWPOISON) t

Re: [git pull] Input updates for v4.15-rc8

2018-02-08 Thread Dmitry Torokhov
On Thu, Feb 08, 2018 at 11:04:22AM +0100, Jiri Slaby wrote: > On 01/19/2018, 06:42 PM, Dmitry Torokhov wrote: > > Please pull from: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus > > > > to receive updates for the input subsystem. You will get: > > > ... > > -

Re: [PATCH 41/80] staging: lustre: lmv: separate master object with master stripe

2018-02-08 Thread NeilBrown
On Tue, Aug 16 2016, James Simmons wrote: > > +static inline bool > +lsm_md_eq(const struct lmv_stripe_md *lsm1, const struct lmv_stripe_md *lsm2) > +{ > + int idx; > + > + if (lsm1->lsm_md_magic != lsm2->lsm_md_magic || > + lsm1->lsm_md_stripe_count != lsm2->lsm_md_stripe_count

Re: [PATCH 2/6] nvme-pci: fix the freeze and quiesce for shutdown and reset case

2018-02-08 Thread jianchao.wang
Hi Keith Thanks for your precious time and kindly response. On 02/08/2018 11:15 PM, Keith Busch wrote: > On Thu, Feb 08, 2018 at 10:17:00PM +0800, jianchao.wang wrote: >> There is a dangerous scenario which caused by nvme_wait_freeze in >> nvme_reset_work. >> please consider it. >> >> nvme_reset

Re: [RFC] Warn the user when they could overflow mapcount

2018-02-08 Thread Daniel Micay
I think there are likely legitimate programs mapping something a bunch of times. Falling back to a global object -> count mapping (an rbtree / radix trie or whatever) with a lock once it hits saturation wouldn't risk breaking something. It would permanently leave the inline count saturated and jus

Re: [PATCH V2 0/6]nvme-pci: fixes on nvme_timeout and nvme_dev_disable

2018-02-08 Thread jianchao.wang
Hi Keith and Sagi Many thanks for your kindly response. That's really appreciated. On 02/09/2018 01:56 AM, Keith Busch wrote: > On Thu, Feb 08, 2018 at 05:56:49PM +0200, Sagi Grimberg wrote: >> Given the discussion on this set, you plan to respin again >> for 4.16? > > With the exception of mayb

Re: [PATCH RESEND v4] perf/core: Fix installing cgroup event into cpu

2018-02-08 Thread Lin Xiulei
2018-02-08 23:36 GMT+08:00 Jiri Olsa : > > On Thu, Feb 08, 2018 at 11:33:44AM +0800, linxiu...@gmail.com wrote: > > From: "leilei.lin" > > > > Do not install cgroup event into the CPU context and schedule it > > if the cgroup is not running on this CPU > > > > While there is no task of cgroup runn

Re: [PATCH 13/18] tracing: Add array type to function based events

2018-02-08 Thread Steven Rostedt
On Fri, 9 Feb 2018 10:17:45 +0900 Namhyung Kim wrote: > > + # echo 1 > events/functions/ip_rcv/enable > > + # cat trace > > +-0 [003] ..s3 219.813582: > > __netif_receive_skb_core->ip_rcv(skb=880118195e00, > > perm_addr=b4,b5,2f,ce,18,65) > > +-0 [003] ..s3 219.813595:

Re: [PATCH 41/80] staging: lustre: lmv: separate master object with master stripe

2018-02-08 Thread Oleg Drokin
> On Feb 8, 2018, at 8:39 PM, NeilBrown wrote: > > On Tue, Aug 16 2016, James Simmons wrote: my that’s an old patch > >> >> +static inline bool >> +lsm_md_eq(const struct lmv_stripe_md *lsm1, const struct lmv_stripe_md >> *lsm2) >> +{ >> +int idx; >> + >> +if (lsm1->lsm_md_magic !=

Re: [PATCH] ASoC: Intel: Skylake: make function skl_clk_round_rate static

2018-02-08 Thread Takashi Sakamoto
Hi, On Feb 8 2018 23:35, Colin King wrote: From: Colin Ian King The function skl_clk_round_rate is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: sound/soc/intel/skylake/skl-ssp-clk.c:250:6: warning: symbol 'skl_clk_round_rate' was no

[PATCH] irqchip: Use %px to print pointer value

2018-02-08 Thread Jaedon Shin
Since commit ad67b74d2469 ("printk: hash addresses printed with %p") pointers printed with %p are hashed. Use %px instead of %p to print pointer value. Signed-off-by: Jaedon Shin --- drivers/irqchip/irq-bcm7038-l1.c | 2 +- drivers/irqchip/irq-bcm7120-l2.c | 2 +- drivers/irqchip/irq-brcmstb-l2.

Re: [PATCH 03/12] i2c: qup: remove redundant variables for BAM SG count

2018-02-08 Thread Sricharan R
Hi Abhishek, On 2/3/2018 1:28 PM, Abhishek Sahu wrote: > The rx_nents and tx_nents are redundant. rx_buf and tx_buf can > be used for total number of SG entries. > > Signed-off-by: Abhishek Sahu > --- > drivers/i2c/busses/i2c-qup.c | 26 ++ > 1 file changed, 10 insertion

Re: [patch v1 4/4] platform/x86: mlx-platform: Add support for new Mellanox systems

2018-02-08 Thread Darren Hart
On Fri, Feb 02, 2018 at 08:45:48AM +, Vadim Pasternak wrote: > Add support for the next new Mellanox system types: msn274x, msn201x, > qmb7, sn34, sn37. The current members of these types are: Please break this up into one patch per system type, or a similar logical breakdown. -- Darren Hart

Re: [patch v1 0/4] mlx-platform: Add support for new Mellanox systems, code improvement, fixes for msn21xx system

2018-02-08 Thread Darren Hart
On Fri, Feb 02, 2018 at 08:45:44AM +, Vadim Pasternak wrote: > The patchset: > - adds defines for bus numbers, used for system topology description; > - fixes definition for power cables for system family msn21xx; > - introduces support for new Mellanox systems; > > Vadim Pasternak (4): > pl

Re: [PATCH v1 1/2] dt-binding: clock: document NPCM7xx clock DT bindings

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 10:22:54AM +0200, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton NPCM7xx clocks. > > Signed-off-by: Tomer Maimon > --- > .../bindings/clock/nuvoton,npcm7xx-clk.txt | 84 > ++ > 1 file changed, 84 insertions(+) > cre

Re: [PATCHv3] tlv320dac33: Add device tree bindings

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 09:24:45AM +0100, Pavel Machek wrote: > > This adds device tree bindings for tlv320dac33.c. > > Acked-by: Peter Ujfalusi > Signed-off-by: Pavel Machek Reviewed-by: Rob Herring

Re: [PATCH v1 1/2] dt-bindings/display/panel: otm8009a: Add optional power-supply property

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 10:45:31AM +0100, Philippe Cornu wrote: > Some boards use a dedicated voltage regulator for this panel. > Add & document this related optional power-supply property. > > Signed-off-by: Philippe Cornu > --- > Documentation/devicetree/bindings/display/panel/orisetech,otm800

Re: [PATCH] scsi: ufs-qcom: add number of lanes per direction

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 08:02:07PM +0800, Can Guo wrote: > From: Gilad Broner > > Different platforms may have different number of lanes for the UFS link. > Add parameter to device tree specifying how many lanes should be > configured for the UFS link. And don't print err message for clocks > tha

Re: [PATCH] ftrace: fix the file mode of graph tracer and stacktracer

2018-02-08 Thread Zhengyuan Liu
2018-02-08 23:21 GMT+08:00 Steven Rostedt : > On Thu, 8 Feb 2018 09:41:53 +0800 > Zhengyuan Liu wrote: > >> It's something looks weird that those files could be written by root >> but shows with no write permission by ll command. >> Chen LinX has sent a similar patch to fix >> graph function fil

Re: [PATCH 6/8] ASoC: samsung: i2s: Update clock-output-names property documentation

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 04:44:01PM +0100, Sylwester Nawrocki wrote: > The clock-output-names property is marked as deprecated. While at it, > #clock-cells property's value is corrected in the example snippet > and few typos are fixed. > > Signed-off-by: Sylwester Nawrocki > --- > .../devicetree/

Re: [PATCH 8/8] ASoC: samsung,tm2-audio DT binding documentation update

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 04:44:03PM +0100, Sylwester Nawrocki wrote: > This patch documents additional entries of the audio-codec and > i2s-controller properties required for the HDMI audio support. > > Signed-off-by: Sylwester Nawrocki > --- > .../devicetree/bindings/sound/samsung,tm2-audio.txt

Re: [PATCH v3 2/2] ASoC: ak5558: Add bindings for AK5558 ADC

2018-02-08 Thread Rob Herring
On Mon, Feb 05, 2018 at 07:01:55PM +0200, Daniel Baluta wrote: > Document the bindings for AK5558 ADC. > > Signed-off-by: Daniel Baluta > --- > Documentation/devicetree/bindings/sound/ak5558.txt | 22 > ++ > 1 file changed, 22 insertions(+) > create mode 100644 Documentatio

linux-next: Tree for Feb 9

2018-02-08 Thread Stephen Rothwell
Hi all, Please do not add any v4.17 material to your linux-next included branches until after v4.16-rc1 has been released. Changes since 20180208: The btrfs-kdave tree still had its build failure so I used the version from next-20180206. The vhost tree lost its build failure. The akpm tree

Re: [PATCH] ARM: dts: ls1021a: add quadspi node

2018-02-08 Thread Shawn Guo
On Thu, Feb 08, 2018 at 03:24:40PM +0100, Rasmus Villemoes wrote: > On 2018-02-05 09:03, Shawn Guo wrote: > > On Fri, Jan 26, 2018 at 03:20:14PM +0100, Rasmus Villemoes wrote: > >> Add a node to device tree repesenting the QuadSPI controller present on > >> LS1021a. Driver support has been present

Re: [PATCH 1/2] zsmalloc: introduce zs_huge_object() function

2018-02-08 Thread Sergey Senozhatsky
On (02/08/18 18:30), Mike Rapoport wrote: [..] > > > > +/* > > + * Check if the object's size falls into huge_class area. We must take > > + * ZS_HANDLE_SIZE into account and test the actual size we are going to > > + * use up. zs_malloc() unconditionally adds handle size before it performs > > +

Re: [PATCH v6 15/15] dt-bindings: cpufreq: Document operating-points-v2-krait-cpu

2018-02-08 Thread Rob Herring
On Tue, Feb 06, 2018 at 09:38:28AM +0530, Sricharan R wrote: > In Certain QCOM SoCs like ipq8064, apq8064, msm8960, msm8974 > that has KRAIT processors the voltage/current value of each OPP > varies based on the silicon variant in use. > operating-points-v2-krait-cpu specifies the phandle to nvmem

Re: [PATCH v2] ARM: dts: imx6ull: add Toradex Colibri iMX6ULL support

2018-02-08 Thread Shawn Guo
On Thu, Feb 08, 2018 at 10:25:47AM +0100, ste...@agner.ch wrote: > On 08.02.2018 08:47, Shawn Guo wrote: > > On Tue, Feb 06, 2018 at 05:49:03PM +0100, Stefan Agner wrote: > >> Add support for the Computer on Module Colibri iMX6ULL and its > >> Bluetooth/Wifi variant along with the development/evalu

Re: [v3] ARM: dts: imx: Add support for Advantech DMS-BA16

2018-02-08 Thread Shawn Guo
On Thu, Feb 08, 2018 at 11:24:53AM -0800, Yung-Ching LIN wrote: > Will correct the USB_OTG_ID pinmux setting in the v4. > Do you mind if I redefine reg_usb_otg_vbus node since we just started > using OTG host/device mode on this board ? Not at all. Feel free to change it. Shawn

Re: [PATCH v28 0/4] Virtio-balloon: support free page reporting

2018-02-08 Thread Wei Wang
On 02/09/2018 03:55 AM, Michael S. Tsirkin wrote: On Thu, Feb 08, 2018 at 05:50:16PM +0800, Wei Wang wrote: Details: Set up a Ping-Pong local live migration, where the guest ceaselessy migrates between the source and destination. Linux compilation, i.e. make bzImage -j4, is performed during the

Re: ipmi_si fails to get BMC ID

2018-02-08 Thread Chris Chiu
On Thu, Feb 8, 2018 at 11:53 PM, Corey Minyard wrote: > On 02/07/2018 09:01 PM, Chris Chiu wrote: >> >> Hi, >> We are working with a new desktop Acer Veriton Z4640G and get >> stumbled on failing to enter S3 suspend with kernel version 4.14 even >> the latest 4.15+. Here's the kernel log >> h

Re: [PATCH 41/80] staging: lustre: lmv: separate master object with master stripe

2018-02-08 Thread NeilBrown
On Thu, Feb 08 2018, Oleg Drokin wrote: >> On Feb 8, 2018, at 8:39 PM, NeilBrown wrote: >> >> On Tue, Aug 16 2016, James Simmons wrote: > > my that’s an old patch > >> ... >> >> Whoever converted it to "!strcmp()" inverted the condition. This is a >> perfect example of why I absolutely *loath

<    2   3   4   5   6   7   8   >