[GIT PULL 4/4] ARM: defconfig: exynos: Defconfig for v4.11

2017-01-13 Thread Krzysztof Kozlowski
The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-4.11 for you to fetch changes up to 74b0ee757

[PATCH 2/8] x86/platform/UV: Fix 2 socket config problem

2017-01-13 Thread Mike Travis
A UV4 chassis with only 2 sockets configured can unexpectedly target the wrong UV hub. Fix the problem by limiting the minimum size of a partition to 4 sockets even if only 2 are configured. Signed-off-by: Mike Travis Acked-by: Dimitri Sivanich Reviewed-by: Russ Anderson --- arch/x86/kernel/a

[PATCH 6/8] x86/platform/UV: Verify NMI action is valid, default is standard

2017-01-13 Thread Mike Travis
Verify that the NMI action being set is valid. The default NMI action changes from the non-standard 'kdb' to the more standard 'dump'. Signed-off-by: Mike Travis Acked-by: Dimitri Sivanich Reviewed-by: Russ Anderson Reviewed-by: Alex Thorlton --- Note: this patch fails checkpatch with the fol

Re: [PATCH RFC] hv_utils: implement Hyper-V PTP source

2017-01-13 Thread Olaf Hering
On Fri, Jan 13, Vitaly Kuznetsov wrote: > + hv_ptp_clock = ptp_clock_register(&ptp_hyperv_info, NULL); > + if (IS_ERR(hv_ptp_clock)) { Should that be IS_ERR_OR_NULL to catch "!IS_REACHABLE(CONFIG_PTP_1588_CLOCK)"? Olaf signature.asc Description: PGP signature

Re: [PATCHSET v6] blk-mq scheduling framework

2017-01-13 Thread Jens Axboe
On 01/13/2017 04:04 AM, Hannes Reinecke wrote: > On 01/13/2017 09:15 AM, Hannes Reinecke wrote: >> On 01/11/2017 10:39 PM, Jens Axboe wrote: >>> Another year, another posting of this patchset. The previous posting >>> was here: >>> >>> https://www.spinics.net/lists/kernel/msg2406106.html >>> >>> (y

[PATCH] elevator: add fall through comment

2017-01-13 Thread Geliang Tang
Add fall through comment for ELEVATOR_INSERT_SORT_MERGE. Signed-off-by: Geliang Tang --- block/elevator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/elevator.c b/block/elevator.c index 40f0c04..6db8f89 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -638,6 +638,7 @@ void _

[PATCH 7/8] x86/platform/UV: Initialize PCH GPP_D_0 NMI Pin to be NMI source

2017-01-13 Thread Mike Travis
The initialize PCH NMI I/O function is separate and may be moved to BIOS for security reasons. This function detects whether the PCH NMI config has already been done and if not, it will then initialize the PCH here. Signed-off-by: Mike Travis Acked-by: Dimitri Sivanich Reviewed-by: Russ Anderso

[PATCH] writeback: use rb_entry()

2017-01-13 Thread Geliang Tang
To make the code clearer, use rb_entry() instead of container_of() to deal with rbtree. Signed-off-by: Geliang Tang --- mm/backing-dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 3bfed5ab..ffb77a1 100644 --- a/mm/backing-dev

[PATCH] block: use list_entry_rq

2017-01-13 Thread Geliang Tang
Use list_entry_rq() instead of open-coding it. Signed-off-by: Geliang Tang --- block/blk-core.c | 4 ++-- block/blk-mq.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 61ba08c..3c254d9 100644 --- a/block/blk-core.c +++ b/blo

[GIT PULL 2/4] ARM: dts: exynos: DT for v4.11

2017-01-13 Thread Krzysztof Kozlowski
Hi, Few improvements and Exynos4412 DTSI removal. This pulls external dependecy from clock tree (one clock commit). Best regards, Krzysztof The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) are available in the git repos

Re: [PATCH 8/9] serdev: add a tty port controller driver

2017-01-13 Thread Rob Herring
On Fri, Jan 13, 2017 at 9:04 AM, Andy Shevchenko wrote: > On Thu, 2017-01-12 at 10:01 -0600, Rob Herring wrote: >> On Sat, Jan 7, 2017 at 8:11 AM, Andy Shevchenko >> wrote: >> > On Fri, 2017-01-06 at 10:26 -0600, Rob Herring wrote: >> > > Add a serdev controller driver for tty ports. >> > > >> >

Re: [PATCH v2 6/6] arm: dts: mt2701: Add thermal device node.

2017-01-13 Thread Matthias Brugger
On 13/01/17 09:42, Erin Lo wrote: From: Dawei Chien Add thermal controller device nodes for MT2701. Signed-off-by: Dawei Chien Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 43 +++ 1 file changed, 43 insertions(+) diff --git a/arch/arm

Re: [PATCH v2 1/6] arm: dts: mt2701: Add spi device node

2017-01-13 Thread Matthias Brugger
On 13/01/17 09:42, Erin Lo wrote: From: Leilk Liu Add spi device node for MT2701. Signed-off-by: Leilk Liu Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701-evb.dts | 50 arch/arm/boot/dts/mt2701.dtsi| 39 +++ 2 fi

Re: [PATCH v2 3/6] arm: dts: mt2701: Add nand device node

2017-01-13 Thread Matthias Brugger
On 13/01/17 09:42, Erin Lo wrote: From: Xiaolei Li Add mt2701 nand device node, include nfi and bch ecc. Signed-off-by: Xiaolei Li Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 22 ++ 1 file changed, 22 insertions(+) Applied to v4.10-next/dts32 diff -

Re: [PATCH v2 4/6] arm: dts: mt2701: Add auxadc device node.

2017-01-13 Thread Matthias Brugger
On 13/01/17 09:42, Erin Lo wrote: From: Zhiyong Tao Add auxadc device node for MT2701. Signed-off-by: Zhiyong Tao Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701-evb.dts | 4 arch/arm/boot/dts/mt2701.dtsi| 9 + 2 files changed, 13 insertions(+) Applied to v4.10-nex

Re: [PATCH v3 16/24] media: Add i.MX media core driver

2017-01-13 Thread Philipp Zabel
Am Freitag, den 06.01.2017, 18:11 -0800 schrieb Steve Longerbeam: > Add the core media driver for i.MX SOC. > > Signed-off-by: Steve Longerbeam > --- > Documentation/media/v4l-drivers/imx.rst | 443 ++ > drivers/staging/media/Kconfig | 2 + > drivers/stagi

[PATCH 8/8] x86/platform/UV: Insure uv_system_init is called when necessary

2017-01-13 Thread Mike Travis
Move the check to whether this is a UV system that needs initialization from is_uv_system() to the internal uv_system_init() function. This is because on a UV system without a HUB the is_uv_system() returns false. But we still need some specific UV system initialization. See the uv_system_init()

[PATCH 3/8] x86/platform/UV: Add Support for UV4 Hubless systems

2017-01-13 Thread Mike Travis
Add recognition and support for UV4 hubless systems. Signed-off-by: Mike Travis Acked-by: Dimitri Sivanich Reviewed-by: Russ Anderson --- arch/x86/include/asm/uv/uv.h |2 ++ arch/x86/kernel/apic/x2apic_uv_x.c | 33 +++-- 2 files changed, 33 insertions(+)

[PATCH 0/8] x86/platform/UV: UV Update PatchSet 2

2017-01-13 Thread Mike Travis
Second UV Update PatchSet containing: * Fix the panic where KEXEC'd kernel does not have access to EFI runtime mappings. * Fix the panic with 2 socket configs. * Recognition and initialization of UV Hubless systems. * Addition of UV Hubless support for RMC system NMI comm

[PATCH 4/8] x86/platform/UV: Add Support for UV4 Hubless NMIs

2017-01-13 Thread Mike Travis
Merge new UV Hubless NMI support into existing UV NMI handler. Signed-off-by: Mike Travis Acked-by: Dimitri Sivanich Reviewed-by: Russ Anderson --- arch/x86/include/asm/uv/uv_hub.h |3 arch/x86/kernel/apic/x2apic_uv_x.c |2 arch/x86/platform/uv/uv_nmi.c | 185

Re: [PATCH] pinctrl: Initialize pinctrl_dev.node

2017-01-13 Thread Linus Walleij
On Thu, Jan 12, 2017 at 5:03 PM, Thierry Reding wrote: > From: Thierry Reding > > The struct pinctrl_dev's node field is not properly set up, which means > the .prev and .next fields will be NULL. That's not something that the > linked list code can deal with, so extra care must be taken when us

Re: [PATCH v4 0/4] Application Data Integrity feature introduced by SPARC M7

2017-01-13 Thread Rob Gardner
On 01/13/2017 07:48 AM, Khalid Aziz wrote: On 01/12/2017 06:31 PM, Rob Gardner wrote: On 01/12/2017 05:22 PM, Khalid Aziz wrote: On 01/12/2017 10:53 AM, Dave Hansen wrote: On 01/12/2017 08:50 AM, Khalid Aziz wrote: 2. Any shared page that has ADI protection enabled on it, must stay ADI prote

Re: [patch 2/3] KVM: x86: add KVM_HC_CLOCK_OFFSET hypercall

2017-01-13 Thread Radim Krcmar
2017-01-13 10:01-0200, Marcelo Tosatti: > Add a hypercall to retrieve the host realtime clock > and the TSC value used to calculate that clock read. > > Used to implement clock synchronization between > host and guest. > > Signed-off-by: Marcelo Tosatti > > --- > Documentation/virtual/kvm/hype

Re: [PATCH v5] arm64: dts: mt8173: add mmsel clocks for 4K support

2017-01-13 Thread Matthias Brugger
On 12/01/17 05:50, Daniel Kurtz wrote: Hi Matthias, (Trying again to send plain text email)... On Thu, Aug 4, 2016 at 10:57 AM, Bibby Hsieh wrote: To support HDMI 4K resolution, mmsys need clcok mm_sel to be 400MHz. The board .dts file should override the clock rate property with the highe

[PATCH 1/8] x86/platform/UV: Fix panic with missing UVsystab support

2017-01-13 Thread Mike Travis
Fix the panic where KEXEC'd kernel does not have access to EFI runtime mappings. This may cause the extended UVsystab to not be available. The solution is to revert to non-UV mode and continue with limited capabilities. Signed-off-by: Mike Travis Acked-by: Dimitri Sivanich Reviewed-by: Russ And

[PATCH 3/3] rtc: stm32: use 32-bit cast for BIT() macro

2017-01-13 Thread Arnd Bergmann
Using the ~ operator on a BIT() constant results in a large 'unsigned long' constant that won't fit into an 'unsigned int' function argument on 64-bit architectures, resulting in a harmless build warning in x86 allmodconfig: drivers/rtc/rtc-stm32.c: In function 'stm32_rtc_probe': drivers/rtc/rtc-s

Re: [PATCH v2 3/6] pinctrl: Add a possibility to configure pins from a gpiolib based drivers

2017-01-13 Thread Linus Walleij
On Thu, Jan 12, 2017 at 10:22 AM, Mika Westerberg wrote: > Hmm, looking at users of .set_debounce() I can see that the debounce > time can be quite large. For example some signals which are connected to > physical push-buttons may need > 64ms debounce time. > > However, the current pinconfig valu

Re: [PATCH] arm64: dts: mt8173: Fix cpu_thermal cooling-maps contributions

2017-01-13 Thread Matthias Brugger
On 13/01/17 03:30, Daniel Kurtz wrote: According to [0], the contribution field for each cooling-device express their relative power efficiency. Higher weights express higher power efficiency. Weighting is relative such that if each cooling device has a weight of 1 they are considered equal. T

[no subject]

2017-01-13 Thread David Howells
Nicolas Dichtel wrote: > This header file is exported, thus move it to uapi. Exported how? > +#ifdef __INT32_TYPE__ > +#undef __INT32_TYPE__ > +#define __INT32_TYPE__ int > +#endif > + > +#ifdef __UINT32_TYPE__ > +#undef __UINT32_TYPE__ > +#define __UINT32_TYPE__ unsigned int

Re: [PATCH RFC] hv_utils: implement Hyper-V PTP source

2017-01-13 Thread Vitaly Kuznetsov
Olaf Hering writes: > On Fri, Jan 13, Vitaly Kuznetsov wrote: > >> +hv_ptp_clock = ptp_clock_register(&ptp_hyperv_info, NULL); >> +if (IS_ERR(hv_ptp_clock)) { > > Should that be IS_ERR_OR_NULL to catch "!IS_REACHABLE(CONFIG_PTP_1588_CLOCK)"? > Oh, yes. I missed the case when CONFIG_PTP_1

Re: [PATCH RFC] hv_utils: implement Hyper-V PTP source

2017-01-13 Thread Vitaly Kuznetsov
Richard Cochran writes: >> +struct ptp_clock_info ptp_hyperv_info = { >> +.name = "hyperv", >> +.enable = hv_ptp_enable, >> +.gettime64 = hv_ptp_gettime, > > The code in drivers/ptp/ptp_clock.c calls > > .adjfreq (or adjfine) > .adjtime > .sett

Re: VME: devices not removed after commit 050c3d52cc7

2017-01-13 Thread Paul Gortmaker
[Adding Martyn to Cc] [VME: devices not removed after commit 050c3d52cc7] On 13/01/2017 (Fri 11:03) Stefano Babic wrote: > Hi, > > I have updated a custom VME device driver (mainly based on vme_user.c) > to 4.9 (previously it was for 3.14-). > > I see that VME device drivers cannot be loaded a

Re: [patch 1/3] KVM: x86: provide realtime host clock via vsyscall notifiers

2017-01-13 Thread Konrad Rzeszutek Wilk
On Fri, Jan 13, 2017 at 04:18:04PM +0100, Radim Krcmar wrote: > 2017-01-13 10:01-0200, Marcelo Tosatti: > > Expose the realtime host clock and save the TSC value > > used for the clock calculation. > > > > Signed-off-by: Marcelo Tosatti > > > > --- > > arch/x86/kvm/x86.c | 38

[PATCH 1/3] rtc: stm32: remove __exit annotation on remove callback

2017-01-13 Thread Arnd Bergmann
The remove function can be called at runtime for a manual 'unbind' operation and must not be left out from a built-in driver, as kbuild complains: `stm32_rtc_remove' referenced in section `.data.stm32_rtc_driver' of drivers/rtc/rtc-stm32.o: defined in discarded section `.exit.text' of drivers/rt

[PATCH] Kbuild: use cc-disable-warning consistently for maybe-uninitialized

2017-01-13 Thread Arnd Bergmann
In commit a76bcf557ef4 ("Kbuild: enable -Wmaybe-uninitialized warning for "make W=1""), I reverted another change that happened to fix a problem with old compilers, and now we get this report again with old compilers (prior to gcc-4.8) and GCOV enabled: cc1: warnings being treated as errors

Re: irq domain hierarchy vs. chaining w/ PCI MSI-X...

2017-01-13 Thread Linus Walleij
Looping in Marc Zyngier, sorry for top posting but he needs a copy of the whole nice mail. Yours, Linus Walleij On Thu, Jan 12, 2017 at 11:35 PM, David Daney wrote: > Hi Thomas, > > I am trying to figure out how to handle this situation: > > handle_level_irq() >

[PATCH 2/3] rtc: stm32: fix building without CONFIG_OF

2017-01-13 Thread Arnd Bergmann
The new driver has a stray #ifdef in it that causes a build error: drivers/rtc/rtc-stm32.c:718:21: error: 'stm32_rtc_of_match' undeclared here (not in a function); did you mean 'stm32_rtc_pm_ops'? As the #ifdef serves no purpose here, let's just remove it. Fixes: 4e64350f42e2 ("rtc: add STM32 R

Re: [PATCHSET v6] blk-mq scheduling framework

2017-01-13 Thread Jens Axboe
On 01/13/2017 08:33 AM, Hannes Reinecke wrote: > On 01/13/2017 04:23 PM, Jens Axboe wrote: >> On 01/13/2017 04:04 AM, Hannes Reinecke wrote: >>> On 01/13/2017 09:15 AM, Hannes Reinecke wrote: On 01/11/2017 10:39 PM, Jens Axboe wrote: > Another year, another posting of this patchset. The pr

Re: [PATCHSET v6] blk-mq scheduling framework

2017-01-13 Thread Hannes Reinecke
On 01/13/2017 04:23 PM, Jens Axboe wrote: > On 01/13/2017 04:04 AM, Hannes Reinecke wrote: >> On 01/13/2017 09:15 AM, Hannes Reinecke wrote: >>> On 01/11/2017 10:39 PM, Jens Axboe wrote: Another year, another posting of this patchset. The previous posting was here: https://www.s

Re: [PATCH] pinctrl: core: Fix regression caused by delayed work for hogs

2017-01-13 Thread Linus Walleij
On Wed, Jan 11, 2017 at 11:13 PM, Tony Lindgren wrote: > Commit df61b366af26 ("pinctrl: core: Use delayed work for hogs") caused a > regression at least with sh-pfc that is also a GPIO controller as > noted by Geert Uytterhoeven . > > As the original pinctrl_register() has issues calling pin cont

[PATCH] mwifiex: fix uninitialized variable access in pcie_remove

2017-01-13 Thread Arnd Bergmann
Checking the firmware status from PCIe register only works if the register is available, otherwise we end up with random behavior: drivers/net/wireless/marvell/mwifiex/pcie.c: In function 'mwifiex_pcie_remove': drivers/net/wireless/marvell/mwifiex/pcie.c:585:5: error: 'fw_status' may be used unin

[PATCH] netfilter: ipt_CLUSTERIP: fix build error without procfs

2017-01-13 Thread Arnd Bergmann
We can't access c->pde if CONFIG_PROC_FS is disabled: net/ipv4/netfilter/ipt_CLUSTERIP.c: In function 'clusterip_config_find_get': net/ipv4/netfilter/ipt_CLUSTERIP.c:147:9: error: 'struct clusterip_config' has no member named 'pde' This moves the check inside of another #ifdef. Fixes: 6c5d5cfbe

[no subject]

2017-01-13 Thread David Howells
> -header-y += msr-index.h I see it on my desktop as /usr/include/asm/msr-index.h and it's been there at least four years - and as such it's part of the UAPI. I don't think you can remove it unless you can guarantee there are no userspace users. David

[PATCH] slub: Trace free objects at KERN_INFO

2017-01-13 Thread Daniel Thompson
Currently when trace is enabled (e.g. slub_debug=T,kmalloc-128 ) the trace messages are mostly output at KERN_INFO. However the trace code also calls print_section() to hexdump the head of a free object. This is hard coded to use KERN_ERR, meaning the console is deluged with trace messages even if

Re: [PATCH] tpm_tis: override reported C and D timeouts for Atmel 3203

2017-01-13 Thread Jarkko Sakkinen
On Thu, Jan 12, 2017 at 10:37:31PM +0100, Maciej S. Szmigiero wrote: > On 12.01.2017 21:20, Jarkko Sakkinen wrote: > > On Thu, Jan 12, 2017 at 09:09:33PM +0100, Maciej S. Szmigiero wrote: > >> Hi Jason, > >> > >> On 12.01.2017 19:42, Jason Gunthorpe wrote: > (..) > >>> Can you also add a check for

Re: [PATCH 3/3] rtc: stm32: use 32-bit cast for BIT() macro

2017-01-13 Thread Russell King - ARM Linux
On Fri, Jan 13, 2017 at 04:32:53PM +0100, Arnd Bergmann wrote: > -#define PWR_CR_DBP BIT(8) > +#define PWR_CR_DBP (u32)BIT(8) Shouldn't that have parens around it as it's no longer a simple expression. -- RMK's Patch system: http://www.armlinux.org.uk/develope

Re: getting oom/stalls for ltp test cpuset01 with latest/4.9 kernel

2017-01-13 Thread Michal Hocko
On Fri 13-01-17 10:06:14, Vlastimil Babka wrote: [...] > >From 9f041839401681f2678edf5040c851d11963c5fe Mon Sep 17 00:00:00 2001 > From: Vlastimil Babka > Date: Fri, 13 Jan 2017 10:01:26 +0100 > Subject: [PATCH] mm, page_alloc: fix race with cpuset update or removal > > Changelog and S-O-B TBD. >

Re: [PATCH] tpm_tis: rename TPM_TIS_ITPM_POSSIBLE to TPM_TIS_ITPM_WORKAROUND

2017-01-13 Thread Jarkko Sakkinen
On Thu, Jan 12, 2017 at 11:04:11PM +0100, Maciej S. Szmigiero wrote: > Rename TPM_TIS_ITPM_POSSIBLE to TPM_TIS_ITPM_WORKAROUND since it gives a > better idea what this flag actually does. > > Suggested-by: Jason Gunthorpe > Signed-off-by: Maciej S. Szmigiero Reviewed-by: Jarkko Sakkinen /Jark

Re: [PATCH] mfd: axp20x: Add AXP288 volatile registers.

2017-01-13 Thread Christian Mauderer
Am 13.01.2017 um 15:01 schrieb Lee Jones: > On Wed, 11 Jan 2017, Christian Mauderer wrote: > >> The axp288_fuelgauge driver and some other axp288_xxx are using a number >> of the registers of the chip that are changed by hardware (for example >> charge level). Because these registers are not marke

Re: [PATCH 8/9] serdev: add a tty port controller driver

2017-01-13 Thread Andy Shevchenko
On Fri, 2017-01-13 at 09:28 -0600, Rob Herring wrote: > On Fri, Jan 13, 2017 at 9:04 AM, Andy Shevchenko > wrote: > > On Thu, 2017-01-12 at 10:01 -0600, Rob Herring wrote: > > > On Sat, Jan 7, 2017 at 8:11 AM, Andy Shevchenko > > > wrote: > > > > On Fri, 2017-01-06 at 10:26 -0600, Rob Herring wro

Re: [patch 3/3] PTP: add kvm PTP driver

2017-01-13 Thread Radim Krcmar
2017-01-13 10:01-0200, Marcelo Tosatti: > Add a driver with gettime method returning hosts realtime clock. > This allows Chrony to synchronize host and guest clocks with > high precision (see results below). > > chronyc> sources > MS Name/IP address Stratum Poll Reach LastRx Last sample >

Re: [PATCH] cxgb4: Remove redundant memset before memcpy

2017-01-13 Thread Tobias Klauser
On 2017-01-13 at 10:52:49 +0100, Shyam Saini wrote: > The region set by the call to memset, immediately overwritten by the > subsequent call to memcpy and thus makes the memset redundant > > Signed-off-by: Shyam Saini > --- > drivers/net/ethernet/chelsio/cxgb4/sched.c | 3 --- > 1 file changed

Re: [PATCH 3/3] rtc: stm32: use 32-bit cast for BIT() macro

2017-01-13 Thread Amelie DELAUNAY
Hi Arnd, On 01/13/2017 04:32 PM, Arnd Bergmann wrote: Using the ~ operator on a BIT() constant results in a large 'unsigned long' constant that won't fit into an 'unsigned int' function argument on 64-bit architectures, resulting in a harmless build warning in x86 allmodconfig: drivers/rtc/rtc-

Re: [PATCHSET v6] blk-mq scheduling framework

2017-01-13 Thread Hannes Reinecke
On 01/13/2017 04:34 PM, Jens Axboe wrote: > On 01/13/2017 08:33 AM, Hannes Reinecke wrote: [ .. ] >> Ah, indeed. >> There is an ominous udev rule here, trying to switch to 'deadline'. >> >> # cat 60-ssd-scheduler.rules >> # do not edit this file, it will be overwritten on update >> >> ACTION!="add"

Re: [patch 1/3] KVM: x86: provide realtime host clock via vsyscall notifiers

2017-01-13 Thread Marcelo Tosatti
On Fri, Jan 13, 2017 at 10:41:10AM -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Jan 13, 2017 at 04:18:04PM +0100, Radim Krcmar wrote: > > 2017-01-13 10:01-0200, Marcelo Tosatti: > > > Expose the realtime host clock and save the TSC value > > > used for the clock calculation. > > > > > > Signed-of

Re: [patch 2/3] KVM: x86: add KVM_HC_CLOCK_OFFSET hypercall

2017-01-13 Thread Marcelo Tosatti
On Fri, Jan 13, 2017 at 04:31:58PM +0100, Radim Krcmar wrote: > 2017-01-13 10:01-0200, Marcelo Tosatti: > > Add a hypercall to retrieve the host realtime clock > > and the TSC value used to calculate that clock read. > > > > Used to implement clock synchronization between > > host and guest. > >

Re: [PATCH v4 0/4] Application Data Integrity feature introduced by SPARC M7

2017-01-13 Thread Khalid Aziz
On 01/13/2017 08:29 AM, Rob Gardner wrote: On 01/13/2017 07:48 AM, Khalid Aziz wrote: On 01/12/2017 06:31 PM, Rob Gardner wrote: On 01/12/2017 05:22 PM, Khalid Aziz wrote: On 01/12/2017 10:53 AM, Dave Hansen wrote: On 01/12/2017 08:50 AM, Khalid Aziz wrote: 2. Any shared page that has ADI pr

Re: [PATCHSET v6] blk-mq scheduling framework

2017-01-13 Thread Jens Axboe
On 01/13/2017 08:59 AM, Hannes Reinecke wrote: > On 01/13/2017 04:34 PM, Jens Axboe wrote: >> On 01/13/2017 08:33 AM, Hannes Reinecke wrote: > [ .. ] >>> Ah, indeed. >>> There is an ominous udev rule here, trying to switch to 'deadline'. >>> >>> # cat 60-ssd-scheduler.rules >>> # do not edit this f

Re: [PATCH v3 1/8] arm: put types.h in uapi

2017-01-13 Thread Nicolas Dichtel
Please, do not remove the email subject when you reply. I restore it to ease the thread follow-up. Le 13/01/2017 à 16:36, David Howells a écrit : > Nicolas Dichtel wrote: > >> This header file is exported, thus move it to uapi. > > Exported how? It is listed in include/uapi/asm-generic/Kbuild.a

Re: [PATCHSET v6] blk-mq scheduling framework

2017-01-13 Thread Jens Axboe
On 01/13/2017 09:00 AM, Jens Axboe wrote: > On 01/13/2017 08:59 AM, Hannes Reinecke wrote: >> On 01/13/2017 04:34 PM, Jens Axboe wrote: >>> On 01/13/2017 08:33 AM, Hannes Reinecke wrote: >> [ .. ] Ah, indeed. There is an ominous udev rule here, trying to switch to 'deadline'. #

Re: [PATCH 3/3] rtc: stm32: use 32-bit cast for BIT() macro

2017-01-13 Thread Alexandre Belloni
On 13/01/2017 at 15:52:29 +, Russell King - ARM Linux wrote : > On Fri, Jan 13, 2017 at 04:32:53PM +0100, Arnd Bergmann wrote: > > -#define PWR_CR_DBP BIT(8) > > +#define PWR_CR_DBP (u32)BIT(8) > > Shouldn't that have parens around it as it's no longer a simple

Re: [PATCH] mfd: ab8500-sysctrl: Handle probe deferral

2017-01-13 Thread Lee Jones
On Fri, 13 Jan 2017, Linus Walleij wrote: > In the current boot, clients making use of the AB8500 sysctrl > may be probed before the ab8500-sysctrl driver. This gives them > -EINVAL, but should rather give -EPROBE_DEFER. > > Before this, the abx500 clock driver didn't probe properly, > and as a r

[RFC PATCH v2 07/10] perf: Directly pass PERF_AUX_* flags to perf_aux_output_end

2017-01-13 Thread Will Deacon
In preparation for adding additional flags to perf AUX records, allow the flags for a session to be passed directly to perf_aux_output_end, rather than extend the function to take a bool for each one. Signed-off-by: Will Deacon --- arch/x86/events/intel/bts.c | 11 ++

[RFC PATCH v2 08/10] perf/core: Add PERF_AUX_FLAG_COLLISION to report colliding samples

2017-01-13 Thread Will Deacon
The ARM SPE architecture permits an implementation to ignore a sample if the sample is due to be taken whilst another sample is already being produced. In this case, it is desirable to report the collision to userspace, as they may want to lower the sample period. This patch adds a PERF_AUX_FLAG_C

[RFC PATCH v2 01/10] arm64: cpufeature: allow for version discrepancy in PMU implementations

2017-01-13 Thread Will Deacon
Perf already supports multiple PMU instances for heterogeneous systems, so there's no need to be strict in the cpufeature checking, particularly as the PMU extension is optional in the architecture. Acked-by: Mark Rutland Reviewed-by: Suzuki K Poulose Signed-off-by: Will Deacon --- arch/arm64/

[RFC PATCH v2 04/10] arm64: head.S: Enable EL1 (host) access to SPE when entered at EL2

2017-01-13 Thread Will Deacon
The SPE architecture requires each exception level to enable access to the SPE controls for the exception level below it, since additional context-switch logic may be required to handle the buffer safely. This patch allows EL1 (host) access to the SPE controls when entered at EL2. Cc: Marc Zyngie

[RFC PATCH v2 00/10] Add support for the ARMv8.2 Statistical Profiling Extension

2017-01-13 Thread Will Deacon
Hello, This is RFCv2 of the patches originally posted here: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/476450.html Changes since RFCv1 include: * Use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL * Remove unused CPP macro * Added tags for the first couple of patches

[RFC PATCH v2 10/10] dt-bindings: Document devicetree binding for ARM SPE

2017-01-13 Thread Will Deacon
This patch documents the devicetree binding in use for ARM SPE. Cc: Mark Rutland Cc: Rob Herring Signed-off-by: Will Deacon --- Documentation/devicetree/bindings/arm/spe-pmu.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/ar

[RFC PATCH v2 09/10] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-01-13 Thread Will Deacon
The ARMv8.2 architecture introduces the optional Statistical Profiling Extension (SPE). SPE can be used to profile a population of operations in the CPU pipeline after instruction decode. These are either architected instructions (i.e. a dynamic instruction trace) or CPU-specific uops and the choi

[RFC PATCH v2 05/10] genirq: export irq_get_percpu_devid_partition to modules

2017-01-13 Thread Will Deacon
Any modular driver using cluster-affine PPIs needs to be able to call irq_get_percpu_devid_partition so that it can enable the IRQ on the correct subset of CPUs. This patch exports the symbol so that it can be called from within a module. Cc: Marc Zyngier Cc: Thomas Gleixner Signed-off-by: Will

Re: [PATCH] printk: Correctly handle preemption in console_unlock()

2017-01-13 Thread Steven Rostedt
On Fri, 13 Jan 2017 14:15:21 +0100 Petr Mladek wrote: > --- > This is related to the thread > https://lkml.kernel.org/r/201612261954.fje69201.oflvtfjsqfo...@i-love.sakura.ne.jp > > kernel/printk/printk.c | 25 - > 1 file changed, 12 insertions(+), 13 deletions(-) > > di

[RFC PATCH v2 06/10] perf/core: Export AUX buffer helpers to modules

2017-01-13 Thread Will Deacon
Perf PMU drivers using AUX buffers cannot be built as modules unless the AUX helpers are exported. This patch exports perf_aux_output_{begin,end,skip} and perf_get_aux to modules. Cc: Peter Zijlstra Signed-off-by: Will Deacon --- kernel/events/ring_buffer.c | 4 1 file changed, 4 insertio

[RFC PATCH v2 02/10] arm64: cpufeature: Don't enforce system-wide SPE capability

2017-01-13 Thread Will Deacon
The statistical profiling extension (SPE) is an optional feature of ARMv8.1 and is unlikely to be supported by all of the CPUs in a heterogeneous system. This patch updates the cpufeature checks so that such systems are not tainted as unsupported. Acked-by: Mark Rutland Reviewed-by: Suzuki Poulo

Re: [patch 1/3] KVM: x86: provide realtime host clock via vsyscall notifiers

2017-01-13 Thread Marcelo Tosatti
On Fri, Jan 13, 2017 at 04:18:04PM +0100, Radim Krcmar wrote: > 2017-01-13 10:01-0200, Marcelo Tosatti: > > Expose the realtime host clock and save the TSC value > > used for the clock calculation. > > > > Signed-off-by: Marcelo Tosatti > > > > --- > > arch/x86/kvm/x86.c | 38

[RFC PATCH v2 03/10] arm64: KVM: Save/restore the host SPE state when entering/leaving a VM

2017-01-13 Thread Will Deacon
The SPE buffer is virtually addressed, using the page tables of the CPU MMU. Unusually, this means that the EL0/1 page table may be live whilst we're executing at EL2 on non-VHE configurations. When VHE is in use, we can use the same property to profile the guest behind its back. This patch adds t

Re: [PATCH v4 0/4] Application Data Integrity feature introduced by SPARC M7

2017-01-13 Thread Dave Hansen
On 01/13/2017 07:29 AM, Rob Gardner wrote: > so perhaps ADI should simply be disallowed for memory mapped to > files, and this particular complication can be avoided. Thoughts? What's a "file" from your perspective? In Linux, shared memory is a file. hugetlbfs is done with files. Many databases

Re: [PATCH v3 4/8] x86: stop exporting msr-index.h to userland

2017-01-13 Thread Nicolas Dichtel
Le 13/01/2017 à 16:43, David Howells a écrit : >> -header-y += msr-index.h > > I see it on my desktop as /usr/include/asm/msr-index.h and it's been there at > least four years - and as such it's part of the UAPI. I don't think you can > remove it unless you can guarantee there are no userspace us

Re: [PATCH v3 3/5] arm64: Create and use __tlbi_dsb() macros

2017-01-13 Thread Will Deacon
On Fri, Jan 13, 2017 at 10:12:36AM -0500, Christopher Covington wrote: > On 01/12/2017 11:58 AM, Will Deacon wrote: > > On Wed, Jan 11, 2017 at 09:41:16AM -0500, Christopher Covington wrote: > >> +#define __tlbi_asm_dsb(as, op, attr, ...) do { > >>\ > >> +

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-13 Thread Marek Vasut
On 01/13/2017 04:12 PM, Matthias Brugger wrote: > > > On 13/01/17 15:17, Boris Brezillon wrote: >> On Fri, 13 Jan 2017 15:13:29 +0800 >> Guochun Mao wrote: >> >>> Add Mediatek nor flash node. >>> >>> Signed-off-by: Guochun Mao >>> --- >>> arch/arm/boot/dts/mt2701-evb.dts | 25 +++

Re: irq domain hierarchy vs. chaining w/ PCI MSI-X...

2017-01-13 Thread Marc Zyngier
Thanks Linus for looping me in. On 12/01/17 22:35, David Daney wrote: > Hi Thomas, > > I am trying to figure out how to handle this situation: > >handle_level_irq() >+---+ handle_fasteoi_irq() >| PCIe hosted

Re: [RFC/PATCH] ftrace: Allow to change size of function graph filters

2017-01-13 Thread Steven Rostedt
On Fri, 13 Jan 2017 13:22:43 +0900 Namhyung Kim wrote: > It's currently fixed to 32 and it ignores when user gives a pattern > which match to functions more than the size. So filtering like all > system calls or many functions with common prefix cannot be set all. > Not sure this is right though

Re: [PATCH v3 1/8] arm: put types.h in uapi

2017-01-13 Thread Russell King - ARM Linux
On Fri, Jan 13, 2017 at 05:01:01PM +0100, Nicolas Dichtel wrote: > Please, do not remove the email subject when you reply. I restore it to > ease the thread follow-up. I mentioned it to David, and he says it's because the long list of recipients is breaking his mailer. I've already posed the ques

Re: [PATCH linux v1 1/2] Documentation: dt-bindings: Document bindings for ASPEED AST2400/AST2500 pwm and fan tach controller device driver

2017-01-13 Thread Rob Herring
On Mon, Jan 09, 2017 at 01:59:34PM -0800, Jaghathiswari Rankappagounder Natarajan wrote: > This binding provides interface for adding values related to ASPEED > AST2400/2500 PWM and Fan tach controller support. > The PWM controller can support upto 8 PWM output ports. > The Fan tach controller can

Re: [patch 1/3] KVM: x86: provide realtime host clock via vsyscall notifiers

2017-01-13 Thread Radim Krcmar
2017-01-13 13:34-0200, Marcelo Tosatti: > On Fri, Jan 13, 2017 at 04:18:04PM +0100, Radim Krcmar wrote: >> 2017-01-13 10:01-0200, Marcelo Tosatti: >> > Expose the realtime host clock and save the TSC value >> > used for the clock calculation. >> > >> > Signed-off-by: Marcelo Tosatti >> > >> > --

Re: VME: devices not removed after commit 050c3d52cc7

2017-01-13 Thread Stefano Babic
Hi Paul, On 13/01/2017 16:39, Paul Gortmaker wrote: > [Adding Martyn to Cc] > Sorry, I forgot to run get_maintainer before posting :-) > [VME: devices not removed after commit 050c3d52cc7] On 13/01/2017 (Fri 11:03) > Stefano Babic wrote: > >> Hi, >> >> I have updated a custom VME device drive

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-13 Thread Boris Brezillon
On Fri, 13 Jan 2017 17:13:55 +0100 Marek Vasut wrote: > On 01/13/2017 04:12 PM, Matthias Brugger wrote: > > > > > > On 13/01/17 15:17, Boris Brezillon wrote: > >> On Fri, 13 Jan 2017 15:13:29 +0800 > >> Guochun Mao wrote: > >> > >>> Add Mediatek nor flash node. > >>> > >>> Signed-off-by: G

Re: [tpmdd-devel] [PATCH RFC v2 3/5] tpm: infrastructure for TPM spaces

2017-01-13 Thread Jarkko Sakkinen
On Thu, Jan 12, 2017 at 12:38:52PM -0800, James Bottomley wrote: > On Thu, 2017-01-12 at 19:46 +0200, Jarkko Sakkinen wrote: > > +static int tpm2_map_response(struct tpm_chip *chip, u32 cc, u8 *rsp, > > size_t len) > > +{ > > + struct tpm_space *space = &chip->work_space; > > + u32 phan

Re: [tpmdd-devel] [PATCH RFC v2 3/5] tpm: infrastructure for TPM spaces

2017-01-13 Thread Jarkko Sakkinen
On Thu, Jan 12, 2017 at 05:17:23PM -0800, James Bottomley wrote: > On Thu, 2017-01-12 at 19:46 +0200, Jarkko Sakkinen wrote: > > @@ -189,6 +190,12 @@ struct tpm_chip *tpm_chip_alloc(struct device > > *pdev, > > chip->cdev.owner = THIS_MODULE; > > chip->cdev.kobj.parent = &chip->dev.kobj; >

Re: [PATCH 02/37] PCI: dwc: designware: Add new *ops* for cpu addr fixup

2017-01-13 Thread Joao Pinto
Hi Kishon, Às 10:25 AM de 1/12/2017, Kishon Vijay Abraham I escreveu: > Some platforms (like dra7xx) require only the least 28 bits of the > corresponding 32 bit CPU address to be programmed in the address > translation unit. This modified address is stored in io_base/mem_base/ > cfg0_base/cfg1_b

Re: [PATCH 04/37] PCI: dwc: designware: Move the register defines to designware header file

2017-01-13 Thread Joao Pinto
Às 10:25 AM de 1/12/2017, Kishon Vijay Abraham I escreveu: > No functional change. Move the register defines and other macros from > pcie-designware.c to pcie-designware.h. This is in preparation to > split the pcie-designware.c file into designware core file and host > specific file. > > While a

Re: [PATCH v3 1/8] arm: put types.h in uapi

2017-01-13 Thread David Howells
Russell King - ARM Linux wrote: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > > Le 13/01/2017 =C3=A0 16:36, David Howells a =C3=A9crit : > > > Nicolas Dichtel wrote: > > >=20 > > >> This header file is exported, thus move it to uapi. > >

Re: [PATCH RESEND 1/2] memory: aemif: allow passing device lookup table as platform data

2017-01-13 Thread Santosh Shilimkar
Hi Greg, On 1/13/2017 2:00 AM, Bartosz Golaszewski wrote: TI aemif driver creates its own subnodes of the device tree in order to guarantee that all child devices are probed after the AEMIF timing parameters are configured. Some devices (e.g. da850) use struct of_dev_auxdata for clock lookup bu

Re: [PATCH] soc: dove: constify reset_control_ops structures

2017-01-13 Thread Gregory CLEMENT
Hi Sebastian, On lun., janv. 09 2017, Bhumika Goyal wrote: > Declare reset_control_ops as const as they are only stored in the ops > field of a reset_controller_dev structure. This field is of type const > struct reset_control_ops *, so reset_control_ops structures having this > property can b

Re: [PATCH v2 3/6] pinctrl: Add a possibility to configure pins from a gpiolib based drivers

2017-01-13 Thread Mika Westerberg
On Fri, Jan 13, 2017 at 04:36:42PM +0100, Linus Walleij wrote: > On Thu, Jan 12, 2017 at 10:22 AM, Mika Westerberg > wrote: > > > Hmm, looking at users of .set_debounce() I can see that the debounce > > time can be quite large. For example some signals which are connected to > > physical push-but

Re: [PATCH] platform/x86: Add IMS/ZII SCU driver

2017-01-13 Thread Andy Shevchenko
On Wed, Jan 11, 2017 at 11:26 PM, Florian Fainelli wrote: > From: Guenter Roeck > > This patch adds support for the IMS (now Zodiac Inflight Innovations) > SCU Generation 1/2/3 platform driver. This driver registers all the > on-module peripherals: Ethernet switches (Broadcom or Marvell), I2C to

Re: [PATCH 06/37] PCI: dwc: Rename cfg_read/cfg_write to read/write

2017-01-13 Thread Joao Pinto
Hi, Às 10:25 AM de 1/12/2017, Kishon Vijay Abraham I escreveu: > No functional change. dw_pcie_cfg_read/dw_pcie_cfg_write doesn't do > anything specific to access configuration space. It can be just renamed > to dw_pcie_read/dw_pcie_write and used to read/write data to dbi space. > This is in pre

Re: [PATCH 08/10] blk-mq-sched: add framework for MQ capable IO schedulers

2017-01-13 Thread Bart Van Assche
On Fri, 2017-01-13 at 12:15 +0100, Hannes Reinecke wrote: > On 01/11/2017 10:40 PM, Jens Axboe wrote: > > This adds a set of hooks that intercepts the blk-mq path of > > allocating/inserting/issuing/completing requests, allowing > > us to develop a scheduler within that framework. > > > > We reuse

Re: [PATCH v3 4/8] x86: stop exporting msr-index.h to userland

2017-01-13 Thread Borislav Petkov
On Fri, Jan 13, 2017 at 05:08:34PM +0100, Nicolas Dichtel wrote: > Le 13/01/2017 à 16:43, David Howells a écrit : > >> -header-y += msr-index.h > > > > I see it on my desktop as /usr/include/asm/msr-index.h and it's been there > > at > > least four years - and as such it's part of the UAPI. I do

Re: [PATCH] ARM: mv78xx0: fix possible PCI buffer overflow

2017-01-13 Thread Gregory CLEMENT
Hi Arnd, On mer., janv. 11 2017, Arnd Bergmann wrote: > gcc-7.0 reports a potential array overflow: > > arch/arm/mach-mv78xx0/pcie.c: In function 'mv78xx0_pcie_preinit': > arch/arm/mach-mv78xx0/pcie.c:81:4: error: output may be truncated before the > last format character [-Werror=format-trun

Re: [PATCH 10/37] PCI: dwc: designware: Fix style errors in pcie-designware.c

2017-01-13 Thread Joao Pinto
Às 10:25 AM de 1/12/2017, Kishon Vijay Abraham I escreveu: > No functional change. Fix all checkpatch warnings and check errors > in pcie-designware.c > > Signed-off-by: Kishon Vijay Abraham I > --- > drivers/pci/dwc/pcie-designware.c | 42 > ++--- > 1 file cha

<    1   2   3   4   5   6   7   8   9   >