Applied "spi: imx: fix little-endian build" to the spi tree

2017-08-23 Thread Mark Brown
The patch spi: imx: fix little-endian build has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the

Re: [PATCH v3 2/5] intel_pstate: convert to use acpi_match_platform_list()

2017-08-23 Thread Kani, Toshimitsu
On Wed, 2017-08-23 at 17:46 +0200, Borislav Petkov wrote: > On Fri, Aug 18, 2017 at 01:46:41PM -0600, Toshi Kani wrote: > > Convert to use acpi_match_platform_list() for the platform check. > > There is no change in functionality. > > : > > Btw, why is that ACPI_SIG_FADT's description not "FADT"

Re: [PATCH v3] fbcon: add fbcon=margin: command line option

2017-08-23 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, August 18, 2017 02:19:28 PM David Lechner wrote: > On 08/18/2017 01:21 PM, Geert Uytterhoeven wrote: > > Hi David, > > > > On Tue, Aug 1, 2017 at 6:35 PM, David Lechner wrote: > >> This adds a new command line option to select the fbcon margin color. > >> > >> The motivation for

Re: [PATCH] usb: reducing an usb-port auto-resume latency.

2017-08-23 Thread Mathias Nyman
On 23.08.2017 17:30, Alan Stern wrote: On Wed, 23 Aug 2017, Mathias Nyman wrote: On 23.08.2017 09:18, anshuman.gu...@intel.com wrote: From: Anshuman Gupta This patch will improve the variable auto-resume latency of an usb-port. When xhci gets a port status change event interrupt due to PORT

Re: [PATCH v3 2/4] dmaengine: Add STM32 MDMA driver

2017-08-23 Thread Vinod Koul
On Tue, Aug 22, 2017 at 05:59:26PM +0200, Pierre Yves MORDRET wrote: > > > On 08/16/2017 06:47 PM, Vinod Koul wrote: > > On Wed, Jul 26, 2017 at 11:48:20AM +0200, Pierre-Yves MORDRET wrote: > > > >> +/* MDMA Channel x transfer configuration register */ > >> +#define STM32_MDMA_CTCR(x)

[PATCH v2 0/5] android: binder: move allocator metadata and add shrinker

2017-08-23 Thread Sherry Yang
This patch set moves internal kernel data in the binder driver out of mmap regions that is readable by user space. A shrinker is added to the driver to dynamically manage the memory used by binder transactions and only free pages when the system is under memory pressure. This patch set also adds te

Re: [PATCH V9 2/2] powerpc/nodes: Ensure enough nodes avail for operations

2017-08-23 Thread kbuild test robot
Hi Michael, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.13-rc6 next-20170823] [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/Michael-Bringmann/powerpc-numa-Update-CPU

Re: [PATCH v3] fbcon: add fbcon=margin: command line option

2017-08-23 Thread David Lechner
On 08/23/2017 10:56 AM, Bartlomiej Zolnierkiewicz wrote: Given the standard console palette contains 16 colors, why limit this to the first 8 colors, and not 0 to 15? Good question. I think in some of my previous attempts there was a 0x7 mask involved somewhere and this is a carryover from

Re: [PATCH v5 3/4] perf, tools: Add support for printing new mem_info encodings

2017-08-23 Thread Andi Kleen
> so if I find HITM with this flag set I should count it > as remote HITM then? something like attached.. untested You mean for c2c? Yes looks reasonable. -Andi > > thanks, > jirka > > --- > diff --git a/tools/perf/util/mem-events.c b/tools/perf/util/mem-events.c > index 06f5a3a4295c..65e22b9e

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-23 Thread Tim Chen
On 08/23/2017 07:49 AM, Liang, Kan wrote: >> On Tue, Aug 22, 2017 at 12:55 PM, Liang, Kan wrote: >>> So I propose testing the attached trivial patch. >>> >>> It doesn’t work. >>> The call stack is the same. >> >> So I would have expected the stack trace to be the same, and I would even >> exp

Re: gcc-8 objtool warnings

2017-08-23 Thread Josh Poimboeuf
On Wed, Aug 23, 2017 at 03:38:02PM +0200, Arnd Bergmann wrote: > On Wed, Aug 23, 2017 at 2:48 PM, Josh Poimboeuf wrote: > > On Wed, Aug 23, 2017 at 02:22:34PM +0200, Arnd Bergmann wrote: > >> ... > >> > >> : > >>0: e8 00 00 00 00 callq 5 > >>

Re: [PATCH v7 1/2] PCI: iproc: Retry request when CRS returned from EP

2017-08-23 Thread Oza Oza
On Wed, Aug 23, 2017 at 9:22 PM, Sinan Kaya wrote: > Hi Oza, > >> In working Enumuration case I get following: >> [9.125976] pci :00:00.0: bridge configuration invalid ([bus >> 00-00]), re-configuring >> [9.134267] where=0x0 val=0x0001 >> [9.146946] where=0x0 val=0x0001 >>

[PATCH] e1000e: changed some expensive calls of udelay to usleep_range

2017-08-23 Thread Matthew Tan
Calls to udelay are not preemtable by userspace so userspace applications experience a large (~200us) latency when running on core 0. Instead usleep_range can be used to be more friendly to userspace since it is preemtable. This is due to udelay using busy-wait loops while uslee

Re: [PATCH v4 00/10] make L2's kvm-clock stable, get rid of pvclock_gtod_copy in KVM

2017-08-23 Thread Paolo Bonzini
On 23/08/2017 14:45, Thomas Gleixner wrote: > So the real question is how to ensure that: > > 1) None of the update functions is in progress > > 2) The update is propagated via the existing mechanisms > > The whole live migration magic is orchestrated by qemu and the kernel. So > it's reason

[PATCH][pci-next] PCI: endpoint: fix incorrect end of table check in while loop

2017-08-23 Thread Colin King
From: Colin Ian King Currently, the while loop will iterate until a matching name is found or until the id pointer wraps around to NULL (the latter is incorrect). The end of a pci_epf_device_id table is terminated with zero'd entries for name and driver_data, so can change the while loop to iter

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-23 Thread Mel Gorman
On Tue, Aug 22, 2017 at 11:19:12AM -0700, Linus Torvalds wrote: > On Tue, Aug 22, 2017 at 10:23 AM, Liang, Kan wrote: > > > > Although the patch doesn't trigger watchdog, the spin lock wait time > > is not small (0.45s). > > It may get worse again on larger systems. > > Yeah, I don't think Mel's

Re: [PATCH] doc: coresight: correct usage for '/dev/cpu_dma_latency'

2017-08-23 Thread Kim Phillips
On Wed, 23 Aug 2017 15:23:18 +0800 Leo Yan wrote: > Cc: Kim Phillips > Reported-by: Kim Phillips Thanks; typically only the latter is needed. > Set latency request to /dev/cpu_dma_latency to disable all CPUs specific idle > -states (if latency = 0uS then disable all idle states): > -# echo "

[PATCH] selftests/timers: make loop consistent with array size

2017-08-23 Thread Benjamin Gaignard
clocksource_list array is defined as char [10][30] so to initialise it we only have to iterate 10 times. Signed-off-by: Benjamin Gaignard --- tools/testing/selftests/timers/clocksource-switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/clo

[PATCH] spi: pl022: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/spi/spi-pl022.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-p

[PATCH 0/7] PM / OPP: per OPP node clock support and imx7ulp cpufreq driver

2017-08-23 Thread Dong Aisheng
This patch series does three things: 1) Add platform specific set_clk function 2) Add per OPP node clock support 3) Add imx7ulp cpufreq driver support 3 is depends on 1 & 2. MX7ULP supports HSRUN mode (528 Mhz), RUN mode (413 Mhz) and VLPR mode (restricted to FIRC clock, usually 48 Mhz). This pat

[PATCH 2/7] dt-bindings: PM / OPP: add clocks per OPP node support

2017-08-23 Thread Dong Aisheng
It's used for platforms where different OPPs may use different clocks. With this extended binding, user could specify the correct clock for each OPP node. Cc: Viresh Kumar Cc: Nishanth Menon Cc: Stephen Boyd Cc: "Rafael J. Wysocki" Cc: Rob Herring Cc: Frank Rowand Cc: devicet...@vger.kernel.

[PATCH 6/7] cpufreq: make cpufreq_generic_init transition_latency default to CPUFREQ_ETERNAL

2017-08-23 Thread Dong Aisheng
If no valid transition_latency specified, let's make it default to CPUFREQ_ETERNAL which is consistent with its definition. This can save some of the same checkings like this: transition_latency = dev_pm_opp_get_max_transition_latency(cpu_dev); - if (!transition_latency) -

[PATCH 4/7] PM / OPP: use OPP node clock to set CPU frequency

2017-08-23 Thread Dong Aisheng
If OPP node has a valid clock, we use this corresponding OPP clock to set the device clock frequency instead of the default opp_table->clk which is shared by all OPPs. Cc: Viresh Kumar Cc: Nishanth Menon Cc: Stephen Boyd Cc: "Rafael J. Wysocki" Signed-off-by: Dong Aisheng --- drivers/base/po

[PATCH 5/7] PM / OPP: Add dev_pm_opp_get_cur_clk()

2017-08-23 Thread Dong Aisheng
User may need to know the current OPP clock for updating policy clk accordingly. e.g. cpufreq policy clock. This function does the work. Cc: Viresh Kumar Cc: Nishanth Menon Cc: Stephen Boyd Cc: "Rafael J. Wysocki" Signed-off-by: Dong Aisheng --- drivers/base/power/opp/core.c | 29 +++

[PATCH 7/7] cpufreq: add imx7ulp cpufreq driver

2017-08-23 Thread Dong Aisheng
MX7ULP supports HSRUN mode (528 Mhz), RUN mode (413 Mhz) and VLPR mode (restricted to FIRC clock, usually 48 Mhz). This patch adds the cpufreq driver support for HSRUN and RUN mode. When in different modes, the A7 core is using different clocks: RUN:clk run_divcore HSRUN: clk hsrun_divcore Th

[PATCH 3/7] PM / OPP: rename opp_table->clk to opp_table->cur_clk

2017-08-23 Thread Dong Aisheng
Since we now support per OPP clocks, we rename opp_table->clk to opp_table->cur_clk to make it less confusing as the opp_table->clk will become only represent the current clock of the current OPP on which the device is running. Cc: Viresh Kumar Cc: Nishanth Menon Cc: Stephen Boyd Cc: "Rafael J.

[PATCH 1/7] PM / OPP: Add platform specific set_clk function

2017-08-23 Thread Dong Aisheng
This is useful to support platforms which only the clk setting is different from the generic OPP set rate but others like voltage setting are still the same. Users can use this function to register a custom OPP set clk helper working in place of the default simple clk setting in the generic dev_pm

Re: [PATCH] drivers: video: Fix 80 character limit and remove unnecessary space

2017-08-23 Thread Bartlomiej Zolnierkiewicz
Hi, Please use a more descriptive patch subject, i.e. "fbdev: vgastate: fix checkpatch.pl reported warnings". Please also cc: fbdev mailing list (linux-fb...@vger.kernel.org on fbdev patches). On Monday, August 21, 2017 07:33:51 PM Himanshu Jha wrote: > Fixes the following checkpatch warnings:

[PATCH] gpio: pl061: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpio/gpio-pl061.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/

[PATCH] drm: pl111: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/pl111/pl111_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/pl111/pl111_drv.c

[PATCH] Input: ambakmi: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/serio/ambakmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/ambakmi.c b/drive

Re: [PATCH] scsi: lpfc: remove useless code in lpfc_sli4_bsg_link_diag_test

2017-08-23 Thread James Smart
On 8/22/2017 1:53 PM, Gustavo A. R. Silva wrote: Remove variable assignments. The value stored in local variable _rc_ is overwritten at line 2448:rc = lpfc_sli4_bsg_set_link_diag_state(phba, 0); before it can be used. Addresses-Coverity-ID: 1226935 Signed-off-by: Gustavo A. R. Silva --- This is

Re: [PATCH] seccomp: add missing semicolon

2017-08-23 Thread Kees Cook
On Wed, Aug 23, 2017 at 6:43 AM, Arnd Bergmann wrote: > We get a compile error without it, at least in some configurations: > > kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input > > Fixes: 8e5f1ad116df ("seccomp: Sysctl to display available actions") > Signed-off-by: Arnd Bergman

Re: [PATCH] scsi: lpfc: avoid false-positive gcc-8 warning

2017-08-23 Thread James Smart
On 8/23/2017 8:01 AM, Arnd Bergmann wrote: This is an interesting regression with gcc-8, showing a harmless warning for correct code: In file included from include/linux/kernel.h:13:0, ... from drivers/scsi/lpfc/lpfc_debugfs.c:23: include/linux/printk.h:301:2:

Re: [v5 2/4] mm, oom: cgroup-aware OOM killer

2017-08-23 Thread Roman Gushchin
Hi Johannes! Thank you for review! I do agree with most of the comments, and I will address them in v6. I'll post it soon. Please, find some comments below. On Tue, Aug 22, 2017 at 01:03:44PM -0400, Johannes Weiner wrote: > Hi Roman, > > great work! This looks mostly good to me now. Below are

Re: [PATCH v3 3/5] ghes_edac: add platform check to enable ghes_edac

2017-08-23 Thread Borislav Petkov
On Fri, Aug 18, 2017 at 01:46:42PM -0600, Toshi Kani wrote: > The ghes_edac driver was introduced in 2013 [1], but it has not > been enabled by any distro yet. This driver obtains error info > from firmware interfaces, which are not properly implemented on > many platforms, as the driver always em

Re: [PATCH][v2] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-23 Thread Rafael J. Wysocki
On Wed, Aug 23, 2017 at 5:44 AM, Chen Yu wrote: > On Tue, Aug 22, 2017 at 02:55:39PM +0200, Rafael J. Wysocki wrote: >> On Tuesday, August 22, 2017 5:20:02 AM CEST Chen Yu wrote: >> > There is a problem that when counting the pages for creating >> > the hibernation snapshot will take significant a

Re: [PATCH][v3] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-23 Thread Rafael J. Wysocki
On Wed, Aug 23, 2017 at 5:47 AM, Chen Yu wrote: > There is a problem that when counting the pages for creating > the hibernation snapshot will take significant amount of > time, especially on system with large memory. Since the counting > job is performed with irq disabled, this might lead to NMI

[GIT PULL] arm64: Late fixes for 4.13

2017-08-23 Thread Will Deacon
Hi Linus, Please pull these late arm64 fixes for 4.13. They fix very early boot failures with KASLR where the early mapping of the kernel is incorrect, so the failure mode looks like a hang with no output. There's also a signal-handling fix when a uaccess routine faults with a fatal signal pending

Re: [RFC GIT PULL rcu/next] RCU/hotplug fix

2017-08-23 Thread Jeffrey Hugo
On 8/15/2017 2:43 AM, Ingo Molnar wrote: * Paul E. McKenney wrote: Hello, Ingo, This pull request is for an RCU change that permits waiting for grace periods started by CPUs late in the process of going offline. Lack of this capability is causing failures: http://lkml.kernel.org/r/db9c91f6

[PATCH] dmaengine: pl08x: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/dma/amba-pl08x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amb

Re: [RFC/PATCH v2] arm64: define MODULES_VADDR by module_alloc_base

2017-08-23 Thread Will Deacon
On Tue, Aug 15, 2017 at 05:09:26PM +0800, Miles Chen wrote: > After the kernel ASLR, the module virtual address is moved to > [module_alloc_base, module_alloc_base + MODULES_VSIZE). > However, the MODULES_VADDR is still defined as a constant and functions > like is_vmalloc_or_module_addr() and dump

[PATCH] dmaengine: pl330: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/dma/pl330.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index

[PATCH] mmc: mmci: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/mmc/host/mmci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/

Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac

2017-08-23 Thread Florian Fainelli
On 08/23/2017 12:49 AM, Maxime Ripard wrote: > Hi Florian, > > On Tue, Aug 22, 2017 at 11:35:01AM -0700, Florian Fainelli wrote: > So I think what you are saying is either impossible or engineering-wise > a very stupid design, like using an external MAC with a discrete PHY > connected

[PATCH] watchdog: sp805: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/watchdog/sp805_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/sp805_wdt.c b/drivers

[GIT PULL 3/3] ARM: dts: exynos: Changes for v4.14

2017-08-23 Thread Krzysztof Kozlowski
Hi, Just one commit. If needed you can also cherry-pick it directly. Based on top of previous pull request. Best regards, Krzysztof The following changes since commit 9d2770b8e49a1726310e706ae23b52c83b33a986: ARM: dts: exynos: Remove num-slots from exynos platforms (2017-07-18 07:14:22 +020

[GIT PULL 1/3] soc: samsung: exynos for v4.14

2017-08-23 Thread Krzysztof Kozlowski
Hi, Just one commit. If needed you can also cherry-pick it directly. Best regards, Krzysztof The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux

[GIT PULL 2/3] ARM: exynos: Changes for v4.14

2017-08-23 Thread Krzysztof Kozlowski
Hi, Just one commit. If needed you can also cherry-pick it directly. Based on top of previous pull request. Best regards, Krzysztof The following changes since commit f991ce429a420dbb42b3e4b5a47490c84390d7e1: ARM: s3c24xx: make H1940BT depend on RFKILL (2017-07-20 20:26:24 +0200) are availa

Re: [PATCH v2 0/2] KVM: SVM: Virtual GIF

2017-08-23 Thread Paolo Bonzini
On 23/08/2017 16:57, Janakarajan Natarajan wrote: > This patchset adds support for the Virtual GIF (vGIF) feature. This > feature allows the STGI and CLGI instructions to be executed in the > Guest Mode and not require a #VMEXIT. With this, virtual interrupts > can be controlled in the Guest Mode w

RE: [PATCH] ACPI, APEI, EINJ: Subtract any matching Register Region from Trigger resources

2017-08-23 Thread Ghannam, Yazen
> -Original Message- > From: Luck, Tony [mailto:tony.l...@intel.com] > Sent: Tuesday, August 22, 2017 12:03 PM > To: Ghannam, Yazen > Cc: linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; > r...@rjwysocki.net; l...@kernel.org; linux-e...@vger.kernel.org; Borislav > Petkov > Subjec

Re: [PATCH] seccomp: add missing semicolon

2017-08-23 Thread Tyler Hicks
On 08/23/2017 11:20 AM, Kees Cook wrote: > On Wed, Aug 23, 2017 at 6:43 AM, Arnd Bergmann wrote: >> We get a compile error without it, at least in some configurations: >> >> kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input >> >> Fixes: 8e5f1ad116df ("seccomp: Sysctl to display a

[PATCH] mailbox: arm_mhu: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/mailbox/arm_mhu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/arm_mhu.c b/drivers/mailb

[PATCH] mailbox: pl320: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/mailbox/pl320-ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/pl320-ipc.c b/drivers/m

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-23 Thread Oleg Nesterov
Peter, I am all confused and I am still trying to understand your email. In particular, because I no longer understand the lockdep annotations in workqueue.c, it turns out I forgot everything... On 08/22, Peter Zijlstra wrote: > > I am however slightly puzzled by the need of flush_work() to take Q

Re: [PATCH 4/5] ARC: AXS103: DTS: Set cpu frequency explicitly via dts

2017-08-23 Thread Vineet Gupta
On 08/23/2017 04:24 AM, Eugeniy Paltsev wrote: Given that you added a generic feature as part of 1/5 - do other platforms abilis/nps need corresponding fixups as this one ! Actually no. If cpu 0 node don't have "cpu-freq" property we simply print cpu frequency and don't try to change it. So we c

Re: [RFC v2 2/4] iommu/arm-smmu-v3: Add tlbi_on_map option

2017-08-23 Thread Will Deacon
Hi Eric, On Wed, Aug 23, 2017 at 02:36:53PM +0200, Auger Eric wrote: > On 23/08/2017 12:25, Will Deacon wrote: > > On Tue, Aug 22, 2017 at 10:09:15PM +0300, Michael S. Tsirkin wrote: > >> On Fri, Aug 18, 2017 at 05:49:42AM +0300, Michael S. Tsirkin wrote: > >>> On Thu, Aug 17, 2017 at 05:34:25PM +

Re: [PATCH v3] net: stmmac: Delete dead code for MDIO registration

2017-08-23 Thread Florian Fainelli
On 08/23/2017 01:50 AM, Romain Perier wrote: > This code is no longer used, the logging function was changed by commit > fbca164776e4 ("net: stmmac: Use the right logging functi"). It was > previously showing information about the type if the IRQ, if it's polled, > ignored or a normal interrupt. As

[PATCH] serial: pl010: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/tty/serial/amba-pl010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/amba-pl010.c b/d

[PATCH] serial: pl011: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/tty/serial/amba-pl011.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/amba-pl011.c b/d

Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to nmi handler

2017-08-23 Thread Andy Lutomirski
To avoid further wasting time solving this wrong: NAK. pt_regs is the actual interrupted state, not some oddly sanitized version thereof. NMI isn't even the only way you can have a weird pt_regs like this. It seems that some older kernels contain bugs where they incorrectly assume that regs->

Re: [PATCH 2/2] tracing: Fix kmemleak in set_trigger_filter

2017-08-23 Thread Steven Rostedt
On Wed, 23 Aug 2017 10:41:55 -0400 Steven Rostedt wrote: > * On success, returns 0 and *@filterp points to the new filter. On > * failure, returns -errno and *@filterp may point to %NULL or to a new > * filter. In the latter case, the returned filter contains error > * information if @set_s

Re: [PATCH] ACPI, APEI, EINJ: Subtract any matching Register Region from Trigger resources

2017-08-23 Thread Luck, Tony
On Wed, Aug 23, 2017 at 04:37:43PM +, Ghannam, Yazen wrote: > > -Original Message- > > From: Luck, Tony [mailto:tony.l...@intel.com] > > Maybe you should add the other instruction types that make sense here > > (ACPI_EINJ_READ_REGISTER, ACPI_EINJ_READ_REGISTER_VALUE and > > ACPI_EINJ_WR

[v6 3/4] mm, oom: introduce oom_priority for memory cgroups

2017-08-23 Thread Roman Gushchin
Introduce a per-memory-cgroup oom_priority setting: an integer number within the [-1, 1] range, which defines the order in which the OOM killer selects victim memory cgroups. OOM killer prefers memory cgroups with larger priority if they are populated with eligible tasks. The oom_priority

[v6 1/4] mm, oom: refactor the oom_kill_process() function

2017-08-23 Thread Roman Gushchin
The oom_kill_process() function consists of two logical parts: the first one is responsible for considering task's children as a potential victim and printing the debug information. The second half is responsible for sending SIGKILL to all tasks sharing the mm struct with the given victim. This co

[v6 2/4] mm, oom: cgroup-aware OOM killer

2017-08-23 Thread Roman Gushchin
Traditionally, the OOM killer is operating on a process level. Under oom conditions, it finds a process with the highest oom score and kills it. This behavior doesn't suit well the system with many running containers: 1) There is no fairness between containers. A small container with few large pr

[v6 4/4] mm, oom, docs: describe the cgroup-aware OOM killer

2017-08-23 Thread Roman Gushchin
Update cgroups v2 docs. Signed-off-by: Roman Gushchin Cc: Michal Hocko Cc: Vladimir Davydov Cc: Johannes Weiner Cc: Tetsuo Handa Cc: David Rientjes Cc: Tejun Heo Cc: kernel-t...@fb.com Cc: cgro...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux...@kv

[v6 0/4] cgroup-aware OOM killer

2017-08-23 Thread Roman Gushchin
This patchset makes the OOM killer cgroup-aware. v6: - Renamed oom_control.chosen to oom_control.chosen_task - Renamed oom_kill_all_tasks to oom_kill_all - Per-node NR_SLAB_UNRECLAIMABLE accounting - Several minor fixes and cleanups - Docs updated v5: - Rebased on top of Michal Hocko'

Re: [kernel-hardening] [PATCH v5 04/10] arm64: Add __flush_tlb_one()

2017-08-23 Thread Tycho Andersen
Hi Mark, On Mon, Aug 14, 2017 at 05:50:47PM +0100, Mark Rutland wrote: > That said, is there any reason not to use flush_tlb_kernel_range() > directly? So it turns out that there is a difference between __flush_tlb_one() and flush_tlb_kernel_range() on x86: flush_tlb_kernel_range() flushes all th

Re: [PATCH V6] perf: Add PERF_SAMPLE_PHYS_ADDR

2017-08-23 Thread Stephane Eranian
On Wed, Aug 23, 2017 at 7:39 AM, Peter Zijlstra wrote: > On Wed, Aug 23, 2017 at 04:33:08PM +0200, Peter Zijlstra wrote: >> > @@ -6145,6 +6183,9 @@ void perf_prepare_sample(struct perf_event_header >> > *header, >> > >> > header->size += size; >> > } >> > + >> > + if (sample_typ

Re: [PATCH v2 1/1] cavium: Add firmware for CNN55XX crypto driver.

2017-08-23 Thread Kyle McMartin
On Fri, Jun 23, 2017 at 04:22:54PM +0530, Srikanth Jampala wrote: > This patchset adds the firmware for CNN55XX cryto driver, > supports Symmetric crypto operations. > > The version of the firmware is v07. > > Signed-off-by: Srikanth Jampala applied, sorry for the delay, i was on holidays. --k

Re: [kernel-hardening] [PATCH v5 04/10] arm64: Add __flush_tlb_one()

2017-08-23 Thread Mark Rutland
On Wed, Aug 23, 2017 at 10:58:42AM -0600, Tycho Andersen wrote: > Hi Mark, > > On Mon, Aug 14, 2017 at 05:50:47PM +0100, Mark Rutland wrote: > > That said, is there any reason not to use flush_tlb_kernel_range() > > directly? > > So it turns out that there is a difference between __flush_tlb_one(

Re: [GIT PULL] workqueue fixes for v4.13-rc3

2017-08-23 Thread Tejun Heo
Hello, Geert. On Wed, Aug 23, 2017 at 04:47:41PM +0200, Geert Uytterhoeven wrote: > Some code is mixing up multiple memory nodes with multiple cpu nodes. > M68k uses DISCONTIGMEM, but not NUMA (no SMP): > > config NEED_MULTIPLE_NODES > def_bool y > depends on DISCONTIGMEM ||

Upgrade Your Email Account.

2017-08-23 Thread Email Spam Threat Management
Dear,Email Account User, We are closing down some Email Accounts due to recent spamming activities and no upgrade/no update on the Accounts kindly confirm your Email Account Active to avoid closing your Email Account. Please kindly click on the link http://www.smartsurvey.co.uk/s/P70AE/ and c

Re: [PATCH net] sctp: Avoid out-of-bounds reads from address storage

2017-08-23 Thread Marcelo Ricardo Leitner
On Wed, Aug 23, 2017 at 01:27:13PM +0200, Stefano Brivio wrote: > inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info() copy > sizeof(sockaddr_storage) bytes to fill in sockaddr structs used > to export diagnostic information to userspace. > > However, the memory allocated to store sockaddr i

Re: [kernel-hardening] [PATCH v5 04/10] arm64: Add __flush_tlb_one()

2017-08-23 Thread Tycho Andersen
On Wed, Aug 23, 2017 at 06:04:43PM +0100, Mark Rutland wrote: > On Wed, Aug 23, 2017 at 10:58:42AM -0600, Tycho Andersen wrote: > > Hi Mark, > > > > On Mon, Aug 14, 2017 at 05:50:47PM +0100, Mark Rutland wrote: > > > That said, is there any reason not to use flush_tlb_kernel_range() > > > directly

Re: [PATCH 0/2] net: Fix crashes due to activity during suspend

2017-08-23 Thread Florian Fainelli
On 08/23/2017 04:45 AM, Geert Uytterhoeven wrote: > Hi Florian, > > On Tue, Aug 22, 2017 at 8:49 PM, Florian Fainelli > wrote: >> On 08/22/2017 11:37 AM, Geert Uytterhoeven wrote: >>> If an Ethernet device is used while the device is suspended, the system may >>> crash. >>> >>> E.g. on sh73a0/kz

[PATCH] vfio: platform: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/vfio/platform/vfio_amba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vfio/platform/vfio_amba.c

[PATCH] i2c: nomadik: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/i2c/busses/i2c-nomadik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-nomadik.c b

Re: [PATCH v7 1/2] perf/core: use rb trees for pinned/flexible groups

2017-08-23 Thread Alexey Budankov
On 23.08.2017 14:17, Alexander Shishkin wrote: > Alexey Budankov writes: > >> @@ -3091,61 +3231,55 @@ static void cpu_ctx_sched_out(struct >> perf_cpu_context *cpuctx, >> } >> >> static void >> -ctx_pinned_sched_in(struct perf_event_context *ctx, >> -struct perf_cpu_context *

[PATCH v7 3/5] dt-bindings: List devicetree binding for the CCU of Allwinner A10

2017-08-23 Thread Priit Laes
Allwinner A10 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Reviewed-by: Chen-Yu Tsai Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/b

[PATCH v7 1/5] clk: sunxi-ng: Add sun4i/sun7i CCU driver

2017-08-23 Thread Priit Laes
Introduce a clock controller driver for sun4i A10 and sun7i A20 series SoCs. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/Kconfig | 13 +- drivers/clk/sunxi-ng/Makefile |1 +- drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 1456 ++- drivers/c

[PATCH v7 0/5] ARM: sunxi: Convert sun4i/sun7i series SoCs to sunxi-ng CCU

2017-08-23 Thread Priit Laes
Hi, This serie brings A10 (sun4i) and A20 (sun7i) SoCs into the sunxi-ng world. With this patchset we now support all the clocks in sun4i/sun7i SoCs. In order to make cross-tree merges bisectable, changes to device trees are currently using clock index as numbers instead of defines. Changes from

[PATCH v7 4/5] ARM: sun7i: Convert to CCU

2017-08-23 Thread Priit Laes
Convert sun7i-a20.dtsi to new CCU driver. Tested on Cubietruck. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20.dtsi | 719 +++- 1 file changed, 84 insertions(+), 635 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.

[PATCH v7 5/5] ARM: sun4i: Convert to CCU

2017-08-23 Thread Priit Laes
Convert sun4i-a10.dtsi to new CCU driver. Tested on Gemei G9 tablet. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10.dtsi | 646 +++- 1 file changed, 73 insertions(+), 573 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i

[PATCH v7 2/5] dt-bindings: List devicetree binding for the CCU of Allwinner A20

2017-08-23 Thread Priit Laes
Allwinner A20 is now driven by sunxi-ng CCU driver. Add devicetree binding for it. Acked-by: Rob Herring Reviewed-by: Chen-Yu Tsai Signed-off-by: Priit Laes --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/b

Re: [v5 2/4] mm, oom: cgroup-aware OOM killer

2017-08-23 Thread Johannes Weiner
Hi, On Wed, Aug 23, 2017 at 05:20:31PM +0100, Roman Gushchin wrote: > On Tue, Aug 22, 2017 at 01:03:44PM -0400, Johannes Weiner wrote: > > > + css_task_iter_start(&memcg->css, 0, &it); > > > + while ((task = css_task_iter_next(&it))) { > > > + /* > > > + * If there are no tasks, o

[PATCH] video: ARM CLCD: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/video/fbdev/amba-clcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/amba-clcd.c b/d

Re: [PATCH 2/2] mmc: sdhci-msm: Enable delay circuit calibration clocks

2017-08-23 Thread Bjorn Andersson
On Tue 22 Aug 03:45 PDT 2017, Ulf Hansson wrote: > [...] > > > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c > > index 71e01cbc38b6..7b47906ba447 100644 > > --- a/drivers/mmc/host/sdhci-msm.c > > +++ b/drivers/mmc/host/sdhci-msm.c > > @@ -131,7 +131,7 @@ struct sdhci_ms

Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to nmi handler

2017-08-23 Thread oliver yang
2017-08-23 23:20 GMT+08:00 Josh Poimboeuf : > On Wed, Aug 23, 2017 at 10:19:02PM +0800, oliver yang wrote: >> 2017-08-23 1:51 GMT+08:00 Josh Poimboeuf : >> > On Tue, Aug 22, 2017 at 05:09:19PM +, yang oliver wrote: >> >> From: Yong Yang >> >> >> >> While NMI interrupts the very beginning of SY

[PATCH v2] fbdev: vgastate: fix line over 80 character and remove unnecessary space

2017-08-23 Thread Himanshu Jha
Fixes the following checkpatch warnings: WARNING: line over 80 characters WARNING: space prohibited between function name and open parenthesis '(' WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Himanshu Jha --- drivers/video/vgastate.c | 10 +

Re: [PATCH v2 1/2] fault-inject: Restore support for task-independent fault injection

2017-08-23 Thread Bart Van Assche
On Wed, 2017-08-23 at 09:10 +0900, Akinobu Mita wrote: > 2017-08-23 8:00 GMT+09:00 Bart Van Assche : > > Certain faults should be injected independent of the context > > in which these occur. Commit e41d58185f14 made it impossible to > > inject faults independent of their context. Restore support f

[PATCH] ALSA: aaci: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/arm/aaci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 4140b1b.

Re: [PATCH] x86/nmi/64: avoid passing user space rsp of pt_regs to nmi handler

2017-08-23 Thread oliver yang
2017-08-24 0:51 GMT+08:00 Andy Lutomirski : > To avoid further wasting time solving this wrong: NAK. pt_regs is the actual > interrupted state, not some oddly sanitized version thereof. NMI isn't even > the only way you can have a weird pt_regs like this. > > It seems that some older kernels co

Re: [PATCH] ASoC: rt5677: Reintroduce I2C device IDs

2017-08-23 Thread Tom Rini
On Wed, Aug 23, 2017 at 05:29:33PM +0300, Andy Shevchenko wrote: > On Tue, 2017-08-22 at 21:51 -0400, Tom Rini wrote: > > Not all devices with ACPI and this combination of sound devices will > > have the required information provided via ACPI.  Reintroduce the I2C > > device ID to restore sound fu

Re: [PATCH v2 08/19] perf, tools: Expression parser enhancements for metrics

2017-08-23 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:23PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Enhance the expression parser for more complex metric formulas. > > - Support python style IF ELSE operators > - Add an #SMT_On magic variable for formulas that depend on the SMT > status. > > Example: 4 *( CPU_C

Re: [RESEND PATCH 1/1] arm64: dts: Add Variscite DART-SD410 Evaluation board dts

2017-08-23 Thread Leonid Segal
Hello, Thank you very much for the tips. I have updated the documentation and schematics of our web site. I also tried to implement all other fixes, but seems that I cannot file the git you are talking about. The patches i sent were done to: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/li

Re: [PATCH v2] ARM: vdso: Define vdso_{start,end} as array

2017-08-23 Thread Nathan Lynch
Arnd Bergmann writes: > gcc-8 correctly points out that reading four bytes from a pointer to a > 'char' variable is wrong > > arch/arm/kernel/vdso.c: In function 'vdso_init': > arch/arm/kernel/vdso.c:200:6: error: '__builtin_memcmp_eq' reading 4 bytes > from a region of size 1 [-Werror=stringop-

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-23 Thread Peter Zijlstra
On Wed, Aug 23, 2017 at 06:39:03PM +0200, Oleg Nesterov wrote: > Peter, I am all confused and I am still trying to understand your email. > In particular, because I no longer understand the lockdep annotations in > workqueue.c, it turns out I forgot everything... Yeah, that happens :/ > On 08/22,

Re: [PATCH 2/2] fpga: altera-cvp: register attribute groups using ops

2017-08-23 Thread Alan Tull
On Tue, Aug 22, 2017 at 3:23 PM, Alan Tull wrote: > On Tue, Aug 22, 2017 at 10:53 AM, Alan Tull wrote: On second thought, this patch is probably not really helpful as it changes the path of the existing sysfs file from /sys/bus/pci/drivers/altera-cvp/chkcfg to /sys/class/fpga_manager/fpga*/ch

<    1   2   3   4   5   6   7   8   9   >