linux-next: Tree for Nov 22

2016-11-22 Thread Stephen Rothwell
Hi all, News: The powerpc allyesconfig build (with KALLSYMS_EXTRA_PASS=1) now works for the first time in many years. Changes since 20161117: The rockchip tree gained a conflict against the arm-soc tree. The arm64 tree gained a conflict against Linus' tree. The net-next tree gained conflicts a

Re: Regression: Failed boots bisected to 4cd13c21b207 "softirq: Let ksoftirqd do its job"

2016-11-22 Thread Brian Starkey
Hi, On Fri, Nov 18, 2016 at 01:40:43AM +0100, Thomas Gleixner wrote: Brian, On Thu, 17 Nov 2016, Brian Starkey wrote: No joy with this patch :-( I had to add an ioaddr argument because apparently that macro depends on local context (yuck...), but it doesn't help my issue. FWIW I don't see an

Re: [PATCH 1/2] kdb: Properly synchronize vkdb_printf() calls with other CPUs

2016-11-22 Thread Petr Mladek
On Mon 2016-11-07 10:07:36, Daniel Thompson wrote: > On 21/10/16 13:50, Petr Mladek wrote: > >kdb_printf_lock does not prevent other CPUs from entering the critical > >section because it is ignored when KDB_STATE_PRINTF_LOCK is set. > > > >The problematic situation might look like: > > > > ... > >

Re: linux-next: manual merge of the audit tree with Linus' tree

2016-11-22 Thread Richard Guy Briggs
On 2016-11-22 16:29, Stephen Rothwell wrote: > Hi Paul, Hi Stephen, > Today's linux-next merge of the audit tree got a conflict in: > > include/uapi/linux/audit.h > > between commit: > > 7ff89ac608d9 ("audit: add exclude filter extension to feature bitmap") > > from Linus' tree and commit

Re: [RESEND PATCH 1/3] ARM: davinci: da830: Handle vbus with a regulator

2016-11-22 Thread Sekhar Nori
On Monday 21 November 2016 10:23 PM, Axel Haslam wrote: > static __init void da830_evm_usb_init(void) > { > @@ -145,23 +123,13 @@ static __init void da830_evm_usb_init(void) > return; > } > > - ret = gpio_request(ON_BD_USB_DRV, "ON_BD_USB_DRV"); > - if (ret) { > -

[PATCH V3 0/2] pinctrl: tegra: Add support for IO pad control

2016-11-22 Thread Laxman Dewangan
NVIDIA Tegra124 and later SoCs support the multi-voltage level and low power state of some of its IO pads. The IO pads can work in the voltage of the 1.8V and 3.3V of IO power rail sources. When IO interface are not used then IO pads can be configure in low power state to reduce the power from tha

[PATCH V3 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-22 Thread Laxman Dewangan
NVIDIA Tegra124 and later SoCs support the multi-voltage level and low power state of some of its IO pads. The IO pads can work in the voltage of the 1.8V and 3.3V of IO voltage from IO power rail sources. When IO interfaces are not used then IO pads can be configure in low power state to reduce th

Re: [RFC][PATCH 2/7] kref: Add kref_read()

2016-11-22 Thread Peter Zijlstra
On Mon, Nov 21, 2016 at 03:12:33PM -0500, David Windsor wrote: > On Mon, Nov 21, 2016 at 2:27 PM, Reshetova, Elena > wrote: > >> On Mon, Nov 21, 2016 at 04:49:15PM +0100, Peter Zijlstra wrote: > >> > > Speaking of non-fitting patterns. This one is quite common in > >> > > networking code for refco

[PATCH V3 1/2] pinctrl: tegra: Add DT binding for io pads control

2016-11-22 Thread Laxman Dewangan
NVIDIA Tegra124 and later SoCs support the multi-voltage level and low power state of some of its IO pads. The IO pads can work in the voltage of the 1.8V and 3.3V of IO voltage from IO power rail sources. When IO interfaces are not used then IO pads can be configure in low power state to reduce th

Re: [RESEND PATCH 2/3] ARM: davinci: hawk: Remove vbus and over current gpios

2016-11-22 Thread Sekhar Nori
On Monday 21 November 2016 10:23 PM, Axel Haslam wrote: > The hawk board VBUS is fixed to a 5v source, and the over > current pin is actually not connected to the SoC. > > Do not reseve these gpios for OHCI as they are not related > to usb. > > Signed-off-by: Axel Haslam As discussed over the M

Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available

2016-11-22 Thread David Howells
Dave Chinner wrote: > No. Just provide a 64 bit high resoultion field, and define it to > contain nanoseconds. When we need higher resolution to be exported > to userspace, we use a /feature flag/ to indicate that is contains > something like attoseconds or the like. That sounds suspiciously lik

[PATCH 2/3] bus: da8xx-mstpri: drop the call to of_flat_dt_get_machine_name()

2016-11-22 Thread Bartosz Golaszewski
In order to avoid a section mismatch use of_machine_get_compatible() instead of of_flat_dt_get_machine_name() when printing the error message. Signed-off-by: Bartosz Golaszewski --- drivers/bus/da8xx-mstpri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/da8xx-m

[PATCH 0/3] ARM: da8xx: fix section mismatch in new drivers

2016-11-22 Thread Bartosz Golaszewski
Sekhar noticed there's a section mismatch in the da8xx-mstpri and da8xx-ddrctl drivers. This is caused by calling of_flat_dt_get_machine_name() which has an __init annotation. This series addresses this issue by introducing a new function that allows to retrieve the compatible property of the root

Re: [RESEND PATCH 3/3] ARM: davinci: remove ohci platform usage

2016-11-22 Thread Sekhar Nori
On Monday 21 November 2016 10:23 PM, Axel Haslam wrote: > As all users of ohci platform data have been converted > to use a regulator, we dont need to pass platform > data to register the ohci device anymore. > > Signed-off-by: Axel Haslam This looks good to me. Thanks, Sekhar

[PATCH 3/3] memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name()

2016-11-22 Thread Bartosz Golaszewski
In order to avoid a section mismatch use of_machine_get_compatible() instead of of_flat_dt_get_machine_name() when printing the error message. Signed-off-by: Bartosz Golaszewski --- drivers/memory/da8xx-ddrctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/d

[PATCH 1/3] of: base: add support to get machine compatible string

2016-11-22 Thread Bartosz Golaszewski
Add a function allowing to retrieve the compatible string of the root node of the device tree. Signed-off-by: Bartosz Golaszewski --- drivers/of/base.c | 22 ++ include/linux/of.h | 6 ++ 2 files changed, 28 insertions(+) diff --git a/drivers/of/base.c b/drivers/of/bas

Re: [PATCH 4/6] efi: Get the secure boot status

2016-11-22 Thread Lukas Wunner
On Tue, Nov 22, 2016 at 12:32:01AM +, David Howells wrote: > Get the firmware's secure-boot status in the kernel boot wrapper and stash > it somewhere that the main kernel image can find. That's a bit terse. You could write here that you're moving the existing ARM function to generic stub cod

Re: [PATCH] HID: lg: fix noderef.cocci warnings

2016-11-22 Thread Jiri Kosina
On Mon, 21 Nov 2016, Benjamin Tissoires wrote: > > Generated by: scripts/coccinelle/misc/noderef.cocci > > > > CC: Benjamin Tissoires > > Signed-off-by: Fengguang Wu > > --- > > > > hid-lg.c |6 -- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > --- a/drivers/hid/hid-lg.c

Re: [PATCH v2] mfd: twl-core: make driver DT only

2016-11-22 Thread Baruch Siach
Hi Nicolae, On Tue, Nov 22, 2016 at 12:21:30PM +0200, Nicolae Rosia wrote: > All users are DT-only and it makes no sense to keep > unused code which also prevents further cleanups. > > Signed-off-by: Nicolae Rosia > --- > Changes in v2: > Increased audience in CC list > > drivers/mfd/Kconfig

[GIT PULL V2] Thermal SoC management updates for v4.10-rc1 #1

2016-11-22 Thread Eduardo Valentin
Hello Rui, Please considering pull the following driver fixes for 4.10-rc1. This is now base on your current master. The following changes since commit b58ec8b5824717875b844a9e8cc62fc6eb5fd289: Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2016-11-07 10

Re: [PATCH 4/6] efi: Get the secure boot status

2016-11-22 Thread Ard Biesheuvel
On 22 November 2016 at 10:44, Lukas Wunner wrote: > On Tue, Nov 22, 2016 at 12:32:01AM +, David Howells wrote: >> Get the firmware's secure-boot status in the kernel boot wrapper and stash >> it somewhere that the main kernel image can find. > > That's a bit terse. You could write here that y

Re: [Qemu-devel] [PATCH] drm: update MAINTAINERS for qemu drivers (bochs, cirrus, qxl, virtio-gpu)

2016-11-22 Thread Thomas Huth
On 22.11.2016 10:58, Gerd Hoffmann wrote: > Changes: > * add myself as maintainer, so patches land in my inbox. > * add qemu-devel mailing list. > * add drm-qemu git repo. > * flip bochs and qxl status to "Maintained". > > Signed-off-by: Gerd Hoffmann > --- > MAINTAINERS | 14 --

Re: [PATCHv11 2/3] usb: USB Type-C connector class

2016-11-22 Thread Heikki Krogerus
Hi Greg, On Mon, Nov 21, 2016 at 03:45:06PM +0100, Greg KH wrote: > > We could allocate an extra structure for the partner when > > typec_connect() is called, but we would do that just for the sake of > > having something to free in the release hook. It would not be useful > > for anything. It wou

Re: [GIT PULL] Immutable branch between MFD, ARM and LED due for the v4.10 merge window

2016-11-22 Thread Jacek Anaszewski
On 11/21/2016 01:58 PM, Lee Jones wrote: ARM and LED Maintainers, The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mf

Re: [PATCH 1/3] of: base: add support to get machine compatible string

2016-11-22 Thread Sudeep Holla
On 22/11/16 10:41, Bartosz Golaszewski wrote: Add a function allowing to retrieve the compatible string of the root node of the device tree. Rob has queued [1] and it's in -next today. You can reuse that if you are planning to target this for v4.11 or just use open coding in your driver for

Re: [Patch v7 0/7] microblaze/PowerPC: Move irq-xilinx to irqchip

2016-11-22 Thread Marc Zyngier
On 14/11/16 12:13, Zubair Lutfullah Kakakhel wrote: > Hi, > > This patch series moves the Xilinx interrupt controller driver out > of arch/microblaze to drivers/irqchip and then cleans it up a bit. > And then removes another implementation of the driver in arch/powerpc. > > This effort results in

Re: [PATCH v2] mfd: twl-core: make driver DT only

2016-11-22 Thread Nicolae Rosia
Hi, On Tue, Nov 22, 2016 at 12:45 PM, Baruch Siach wrote: > Hi Nicolae, > > > Can struct twl4030_platform_data declaration be removed now from > include/linux/i2c/twl.h? > > baruch > Yes, I have the patches ready and plan on doing that in the next cycle. I have been sending multiple patches to co

[PATCH v2 1/2] powerpc: initial stack protector (-fstack-protector) support

2016-11-22 Thread Christophe Leroy
Partialy copied from commit c743f38013aef ("ARM: initial stack protector (-fstack-protector) support") This is the very basic stuff without the changing canary upon task switch yet. Just the Kconfig option and a constant canary value initialized at boot time. Cc: Nicolas Pitre Signed-off-by: Ch

[PATCH v2 0/2] powerpc: stack protector (-fstack-protector) support

2016-11-22 Thread Christophe Leroy
Add HAVE_CC_STACKPROTECTOR to powerpc. This is copied from ARM. Christophe Leroy (2): powerpc: initial stack protector (-fstack-protector) support powerpc/32: stack protector: change the canary value per task arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/stackpro

Re: [PATCH 2/2] pci: Don't set RCB bit in LNKCTL if the upstream bridge hasn't

2016-11-22 Thread Johannes Thumshirn
On Mon, Nov 21, 2016 at 10:53:52AM -0600, Bjorn Helgaas wrote: > On Wed, Nov 16, 2016 at 12:11:58PM -0600, Bjorn Helgaas wrote: > > Hi Johannes, [...] > > > > If you get a chance, collect the /proc/iomem contents, too. That's > > not for this bug; it's because I'm curious about the > > > > E

Re: [PATCH 1/3] of: base: add support to get machine compatible string

2016-11-22 Thread Bartosz Golaszewski
2016-11-22 11:53 GMT+01:00 Sudeep Holla : > > > On 22/11/16 10:41, Bartosz Golaszewski wrote: >> >> Add a function allowing to retrieve the compatible string of the root >> node of the device tree. >> > > Rob has queued [1] and it's in -next today. You can reuse that if you > are planning to target

[PATCH v2 2/2] powerpc/32: stack protector: change the canary value per task

2016-11-22 Thread Christophe Leroy
Partially copied from commit df0698be14c66 ("ARM: stack protector: change the canary value per task") A new random value for the canary is stored in the task struct whenever a new task is forked. This is meant to allow for different canary values per task. On powerpc, GCC expects the canary valu

Re: [PATCH 1/3] of: base: add support to get machine compatible string

2016-11-22 Thread Bartosz Golaszewski
2016-11-22 11:57 GMT+01:00 Bartosz Golaszewski : > 2016-11-22 11:53 GMT+01:00 Sudeep Holla : >> >> >> On 22/11/16 10:41, Bartosz Golaszewski wrote: >>> >>> Add a function allowing to retrieve the compatible string of the root >>> node of the device tree. >>> >> >> Rob has queued [1] and it's in -ne

linux-next: bad commits in the security tree

2016-11-22 Thread Stephen Rothwell
Hi James, I noticed that there are some commits in the security tree that have no Signed-off-by from the committer (Casey Schaufler). -- Cheers, Stephen Rothwell

Re: [PATCH 1/3] thermal: handle get_temp() errors properly

2016-11-22 Thread Eduardo Valentin
On Tue, Nov 22, 2016 at 03:52:25PM +0800, Zhang Rui wrote: > Hi, Brian, > > On Fri, 2016-11-18 at 21:30 -0800, Brian Norris wrote: > > Hi, > > > > On Fri, Nov 18, 2016 at 07:41:59PM -0800, Eduardo Valentin wrote: > > > > > > On Fri, Nov 18, 2016 at 03:52:55PM -0800, Brian Norris wrote: > > > >

Re: [PATCH] cpufreq: schedutil: add up/down frequency transition rate limits

2016-11-22 Thread Patrick Bellasi
On 22-Nov 10:27, Vincent Guittot wrote: > On 21 November 2016 at 15:37, Juri Lelli wrote: > > On 21/11/16 15:17, Peter Zijlstra wrote: > >> On Mon, Nov 21, 2016 at 01:53:08PM +, Juri Lelli wrote: > >> > On 21/11/16 13:26, Peter Zijlstra wrote: > >> > >> > > So the limited decay would be the do

Re: [tpmdd-devel] [PATCH RFC 2/2] tpm: refactor tpm2_get_tpm_pt to tpm2_getcap_cmd

2016-11-22 Thread Jarkko Sakkinen
On Tue, Nov 22, 2016 at 02:38:21PM +0530, Nayna wrote: > > > On 11/18/2016 09:43 PM, Jarkko Sakkinen wrote: > > On Fri, Nov 18, 2016 at 05:42:01PM +0530, Nayna wrote: > > > > > > > > > On 11/17/2016 11:12 PM, Jarkko Sakkinen wrote: > > > > On Thu, Nov 17, 2016 at 05:20:36PM +0530, Nayna wrote:

Re: [PATCH 1/3] of: base: add support to get machine compatible string

2016-11-22 Thread Sudeep Holla
On 22/11/16 10:57, Bartosz Golaszewski wrote: 2016-11-22 11:53 GMT+01:00 Sudeep Holla : On 22/11/16 10:41, Bartosz Golaszewski wrote: Add a function allowing to retrieve the compatible string of the root node of the device tree. Rob has queued [1] and it's in -next today. You can reuse

[PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-22 Thread Arnd Bergmann
This adds an asm/asm-prototypes.h header for ARM to fix the broken symbol versioning for symbols exported from assembler files. I couldn't find the correct prototypes for the compiler builtins, so I went with the fake 'void f(void)' prototypes that we had before, restoring the state before they we

[PATCH 2/2] ARM: move mmiocpy/mmioset exports to io.c

2016-11-22 Thread Arnd Bergmann
The prototypes for mmioset/mmiocpy are intentionally hidden inside of inline functions, which breaks the EXPORT_SYMBOL statements when symbol versioning is enabled. This moves the two exports from the files that implement the code into the kernel/io.c file, adding another local declaration there.

Re: [Patch v7 0/7] microblaze/PowerPC: Move irq-xilinx to irqchip

2016-11-22 Thread Zubair Lutfullah Kakakhel
Hi, On 11/22/2016 10:55 AM, Marc Zyngier wrote: On 14/11/16 12:13, Zubair Lutfullah Kakakhel wrote: Hi, This patch series moves the Xilinx interrupt controller driver out of arch/microblaze to drivers/irqchip and then cleans it up a bit. And then removes another implementation of the driver in

[PATCH] drm: Add support for extracting sync signal drive edge from videomode

2016-11-22 Thread Peter Ujfalusi
The sync in some panels needs to be driven by different edge of the pixel clock compared to data. This is reflected by the DISPLAY_FLAGS_SYNC_(POS|NEG)EDGE in videmode flags. Add similar similar definitions for bus_flags and convert the sync drive edge via drm_bus_flags_from_videomode(). Signed-of

Re: [tip:ras/core] x86/mce/AMD: Add system physical address translation for AMD Fam17h

2016-11-22 Thread Borislav Petkov
On Mon, Nov 21, 2016 at 01:03:54PM +0100, Ingo Molnar wrote: > So this commit is still sick with the attached config: > > arch/x86/built-in.o: In function `umc_normaddr_to_sysaddr': > (.text+0x65238): undefined reference to `amd_df_indirect_read' > ... > Makefile:962: recipe for target 'vm

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2016-11-22 Thread Jon Hunter
On 16/11/16 12:53, Rafael J. Wysocki wrote: > On Wed, Nov 16, 2016 at 11:48 AM, Jon Hunter wrote: >> Hi Kevin, Ulf, >> >> On 03/11/16 14:20, Jon Hunter wrote: >>> >>> On 11/10/16 10:15, Jon Hunter wrote: >>> >>> ... >>> >>> Second, another way of seeing this is: Depending on the current >

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-22 Thread Arnd Bergmann
On Sunday, November 20, 2016 5:22:48 PM CET Russell King - ARM Linux wrote: > - not touching: > arch/arm/lib/csumpartialcopy.S > arch/arm/lib/csumpartialcopygeneric.S > arch/arm/lib/csumpartialcopyuser.S > > other than that, it's doing the same thing. > > I think Arnd's ch

[PATCH] binder: replace kzalloc with kmem_cache

2016-11-22 Thread Ganesh Mahendran
This patch use kmem_cache to allocate/free binder objects. It will have better memory efficiency. And we can also get object usage details in /sys/kernel/slab/* for futher analysis. Signed-off-by: Ganesh Mahendran --- drivers/android/binder.c | 127 ++

Re: [PATCH V5 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-11-22 Thread John Garry
+ We'll try and test this on our platform. Cheers, John On 21/11/2016 22:35, Tyler Baicar wrote: When a memory error, CPU error, PCIe error, or other type of hardware error that's covered by RAS occurs, firmware should populate the shared GHES memory location with the proper GHES structures to

Re: [PATCH RESEND] sched/rt: Change rt_nr_running to rt_queued in the comment

2016-11-22 Thread Daniel Bristot de Oliveira
On 11/19/2016 04:13 AM, T.Zhou wrote: > The code actually checks rt_queued not rt_nr_running > in pick_next_task_rt(), so change the corresponding > comment. > > Signed-off-by: T.Zhou Acked-by: Daniel Bristot de Oliveira -- Daniel

Re: [PATCH v6 4/9] tpm: drop tpm1_chip_register(/unregister)

2016-11-22 Thread Jarkko Sakkinen
On Mon, Nov 14, 2016 at 05:00:51AM -0500, Nayna Jain wrote: > Check for TPM2 chip in tpm_sysfs_add_device, tpm_bios_log_setup and > tpm_bios_log_teardown in order to make code flow cleaner and to enable > to implement TPM 2.0 support later on. This is partially derived from > the commit by Nayna Ja

Re: [PATCH] ARCv2: MCIP: Deprecate setting of affinity in Device Tree

2016-11-22 Thread Marc Zyngier
Hi Yuriy, On 14/11/16 14:35, Yuriy Kolerov wrote: > Hi Marc, > >> -Original Message- >> From: Marc Zyngier [mailto:marc.zyng...@arm.com] >> Sent: Friday, November 11, 2016 6:29 PM >> To: Yuriy Kolerov ; linux-snps- >> a...@lists.infradead.org >> Cc: vineet.gup...@synopsys.com; alexey.brod

Re: [PATCH 1/2] powerpc: initial stack protector (-fstack-protector) support

2016-11-22 Thread Christophe LEROY
Le 17/11/2016 à 12:05, Michael Ellerman a écrit : Hi Michael, I took your comments into account in v2. Shame on me, I forgot to add the list of changes from v1 to v2 in the commit log. Christophe Christophe Leroy writes: diff --git a/arch/powerpc/include/asm/stackprotector.h b/arch/po

Re: [PATCH v6 3/9] tpm: replace dynamically allocated bios_dir with a static array

2016-11-22 Thread Jarkko Sakkinen
On Mon, Nov 14, 2016 at 05:00:50AM -0500, Nayna Jain wrote: > This commit is based on a commit by Nayna Jain. Replaced dynamically > allocated bios_dir with a static array as the size is always constant. > > Suggested-by: Jason Gunthorpe > Signed-off-by: Nayna Jain > Signed-off-by: Jarkko Sakkin

[PATCH] ARC: axs10x: really enable ARC PGU

2016-11-22 Thread Alexey Brodkin
Up until now we had ARC PGU not enabled in axs10x defconfigs trying to not bloat kernel image again with yet another drivers and subsystems. This change configures ARC PGU (as well as DRM bits it depends on) to be built as a module and so those who need LCD screen to work on axs10x may bundle buil

Re: [PATCH] powerpc/xmon: Fix data-breakpoint

2016-11-22 Thread Michael Ellerman
Ravi Bangoria writes: > Xmon data-breakpoint feature is broken. > > Whenever there is a watchpoint match occurs, hw_breakpoint_handler will > be called by do_break via notifier chains mechanism. If watchpoint is > registered by xmon, hw_breakpoint_handler won't find any associated > perf_event an

Re: [PATCH v3] clkdev: Detect errors in clk_hw_register_clkdev() for mass registration

2016-11-22 Thread Geert Uytterhoeven
On Mon, Oct 31, 2016 at 10:31 AM, Geert Uytterhoeven wrote: > On Mon, Oct 31, 2016 at 10:22 AM, Russell King - ARM Linux > wrote: >> On Fri, Oct 21, 2016 at 09:02:38AM +0200, Geert Uytterhoeven wrote: >>> Unlike clk_register_clkdev(), clk_hw_register_clkdev() doesn't check for >>> passed error ob

Re: [RFC PATCH v3 13/20] x86: DMA support for memory encryption

2016-11-22 Thread Borislav Petkov
On Tue, Nov 15, 2016 at 12:29:35PM -0600, Tom Lendacky wrote: > > Makes sense, but I think at least a dmesg warning here > > might be a good idea. > > Good idea. Should it be a warning when it is first being set up or > a warning the first time the bounce buffers need to be used. Or maybe > both

[PATCH] ARM64: dts: meson-gxl: Add support for Nexbox A95X

2016-11-22 Thread Neil Armstrong
The Nexbox A95X exists with a Meson GXBB (S905) Soc or a Meson GXL SoC (S905X). Add the S905X variant which uses the internal PHY instead of an external PHY. --- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/aml

[PATCH v2] powerpc/32: Discard ffs() function and use builtin_ffs instead

2016-11-22 Thread Christophe Leroy
With the ffs() function as defined in arch/powerpc/include/asm/bitops.h GCC will not optimise the code in case of constant parameter, as shown by the small exemple below. int ffs_test(void) { return 4 << ffs(31); } c000b8f4 : c000b8f4: 38 00 00 01 li r0,1 c000b8f8: 38

Re: [PATCH v5 6/6] i2c: use an IRQ to report Host Notify events, not alert

2016-11-22 Thread Wolfram Sang
On Mon, Nov 21, 2016 at 11:52:48AM +0100, Benjamin Tissoires wrote: > Hi Wolfram, > > On Nov 07 2016 or thereabouts, Wolfram Sang wrote: > > On Thu, Oct 13, 2016 at 02:10:40PM +0200, Benjamin Tissoires wrote: > > > The current SMBus Host Notify implementation relies on .alert() to > > > relay its

Re: [PATCH V2 0/4] soc/tegra: pmc: Add support for IO pad configuration and sub-driver

2016-11-22 Thread Laxman Dewangan
Thierry, On Wednesday 09 November 2016 06:39 PM, Laxman Dewangan wrote: Tegra SoC support the configutaion of IO pads to multi-level voltage and low power state. The conifguration is done via pictrl framework and the io pad driver in pinctrl frameowrk uses the APIs from pmc to access PMC registe

Re: [PATCH] powerpc/xmon: Fix data-breakpoint

2016-11-22 Thread Ravi Bangoria
Thanks Michael, On Tuesday 22 November 2016 05:03 PM, Michael Ellerman wrote: > Ravi Bangoria writes: > >> Xmon data-breakpoint feature is broken. >> >> Whenever there is a watchpoint match occurs, hw_breakpoint_handler will >> be called by do_break via notifier chains mechanism. If watchpoint is

[PATCH V6 1/2] PCI/ACPI: Provide acpi_get_rc_resources() for ARM64 platform

2016-11-22 Thread Dongdong Liu
The acpi_get_rc_resources() is used to get the RC register address that can not be described in MCFG. It takes the _HID&segment to look for and returns the RC address resource. Use PNP0C02 devices to describe such RC address resource. Use _UID to match segment to tell which root bus the PNP0C02 res

[PATCH V6 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-11-22 Thread Dongdong Liu
PCIe controller in Hip05/HIP06/HIP07 SoCs is not ECAM compliant. It is non ECAM only for the RC bus config space;for any other bus underneath the root bus we support ECAM access. Add specific quirks for PCI config space accessors.This involves: 1. New initialization call hisi_pcie_init() to obtain

[PATCH V6 0/2] Add ACPI support for HiSilicon SoCs Host Controllers

2016-11-22 Thread Dongdong Liu
This patchset adds ACPI support for the HiSilicon Hip05/Hip06/Hip07 SoC PCIe controllers. The two patches respectively: - provides the common function acpi_get_rc_resources() for ARM64 platform. - adds the HiSilicon ACPI specific quirks. This patchset is based on branch p

net/udp: bug in skb_pull_rcsum

2016-11-22 Thread Andrey Konovalov
Hi, I've got the following error report while fuzzing the kernel with syzkaller. A reproducer is attached. On commit 9c763584b7c8911106bb77af7e648bef09af9d80 (4.9-rc6, Nov 20). [ cut here ] kernel BUG at net/core/skbuff.c:3029! invalid opcode: [#1] SMP KASAN Modules

[PATCH v2 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2016-11-22 Thread Vivek Gautam
This patch series adds couple of PHY drivers for Qualcomm chipsets. a) qcom-qusb2 phy driver: that provides High Speed USB functionality. b) qcom-qmp phy driver: that is a combo phy providing support for USB3, PCIe and UFS controllers.[1] The patches are based on next branch of linux-phy tree.

[PATCH v2 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2016-11-22 Thread Vivek Gautam
PHY transceiver driver for QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller present on Qualcomm chipsets. Signed-off-by: Vivek Gautam --- Changes since v1: - removed reference to clk_enabled/pwr_enabled. - moved clock and regulator enable code to phy_power_on/off(

[PATCH v2 1/4] dt-bindings: phy: Add support for QUSB2 phy

2016-11-22 Thread Vivek Gautam
Qualcomm chipsets have QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller. Adding dt binding information for the same. Signed-off-by: Vivek Gautam --- Changes since v1: - New patch, forked out of the original driver patch: "phy: qcom-qusb2: New driver for QUSB2 PH

[PATCH v2 3/4] dt-bindings: phy: Add support for QMP phy

2016-11-22 Thread Vivek Gautam
Qualcomm chipsets have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Acked-by: Rob Herring --- Changes since v1: - New patch, forked out of the original driver patch: "phy:

[PATCH v2 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2016-11-22 Thread Vivek Gautam
Qualcomm SOCs have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Add a new driver, based on generic phy framework, for this phy controller. Signed-off-by: Vivek Gautam Tested-by: Srinivas Kandagatla --- Changes since v1: - Fixed missing mutex_unlo

Re: [PATCH 0/5] usb: dwc2: fix parameter handling

2016-11-22 Thread Felipe Balbi
Hi, John Youn writes: > On 11/20/2016 1:26 PM, Stefan Wahren wrote: >> This patch series fixes several parameter handling issues >> found on bcm2835 in gadget mode. It's based on Felipe's USB next. >> >> Stefan Wahren (5): >> usb: dwc2: Do not set host parameter in peripheral mode >> usb: d

Re: [PATCH] ARM: dts: da850-lcdk: fix mmc card detect polarity

2016-11-22 Thread Sekhar Nori
On Monday 21 November 2016 09:11 PM, Axel Haslam wrote: > The polarity of the card detect pin is inverted. > > Change it to reflect the right polarity for the board > which is ACTIVE_LOW. > > Signed-off-by: Axel Haslam Applied to v4.10/dt Thanks, Sekhar

Re: [PATCH 2/2] kdb: Call vkdb_printf() from vprintk_default() only when wanted

2016-11-22 Thread Petr Mladek
On Sun 2016-10-23 22:23:43, Sergey Senozhatsky wrote: > On (10/21/16 14:50), Petr Mladek wrote: > [..] > > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > > index d5e397315473..db73e33811e7 100644 > > --- a/kernel/printk/printk.c > > +++ b/kernel/printk/printk.c > > @@ -1941,7 +1941,

Re: [PATCH 1/3] of: base: add support to get machine compatible string

2016-11-22 Thread Sekhar Nori
On Tuesday 22 November 2016 04:36 PM, Sudeep Holla wrote: > > > On 22/11/16 10:57, Bartosz Golaszewski wrote: >> 2016-11-22 11:53 GMT+01:00 Sudeep Holla : >>> >>> >>> On 22/11/16 10:41, Bartosz Golaszewski wrote: Add a function allowing to retrieve the compatible string of the root

Re: [PATCH] SMB2: Fix share type handling

2016-11-22 Thread Aurélien Aptel
Christophe JAILLET writes: > Knowing that, with the current code, the SMB2_SHARE_TYPE_PRINT case can > never trigger and printer share would be interpreted as disk share. I've checked the SMB2 specs ([MS-SMB2] 3.2.5.5), I can confirm these are the 3 only options. No upper bits are supposed to be

Re: [PATCH 5/5] usb: dwc2: fix kernel-doc for dwc2_set_param

2016-11-22 Thread Felipe Balbi
Hi, Stefan Wahren writes: > Since there is no parameter @value replace it with @legacy. > > Fixes: 05ee799f202 ("usb: dwc2: Move gadget settings into core_params") > Signed-off-by: Stefan Wahren > --- > drivers/usb/dwc2/params.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > di

Re: [PATCH] ipv6:ipv6_pinfo dereferenced after NULL check

2016-11-22 Thread Hannes Frederic Sowa
On 22.11.2016 07:27, Manjeet Pawar wrote: > From: Rohit Thapliyal > > np checked for NULL and then dereferenced. It should be modified > for NULL case. > > Signed-off-by: Rohit Thapliyal > Signed-off-by: Manjeet Pawar > --- > net/ipv6/ip6_output.c | 9 + > 1 file changed, 5 insertions

Re: [PATCH] spi: spi-ti-qspi: reinit of completion variable

2016-11-22 Thread Mark Brown
On Tue, Nov 22, 2016 at 12:54:06PM +0530, prahlad venkata wrote: > Did anybody got chance to review this patch? > I feel this is a trivial yet required fix. Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and s

[tip:ras/core] x86/mce/AMD: Add system physical address translation for AMD Fam17h

2016-11-22 Thread tip-bot for Yazen Ghannam
Commit-ID: f5382de9d4b1d67cc858c49fa6077720621576ea Gitweb: http://git.kernel.org/tip/f5382de9d4b1d67cc858c49fa6077720621576ea Author: Yazen Ghannam AuthorDate: Thu, 17 Nov 2016 17:57:27 -0500 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:30:16 +0100 x86/mce/AMD: Add system ph

[tip:sched/urgent] sched/autogroup: Do not use autogroup->tg in zombie threads

2016-11-22 Thread tip-bot for Oleg Nesterov
Commit-ID: 8e5bfa8c1f8471aa4a2d30be631ef2b50e10abaf Gitweb: http://git.kernel.org/tip/8e5bfa8c1f8471aa4a2d30be631ef2b50e10abaf Author: Oleg Nesterov AuthorDate: Mon, 14 Nov 2016 19:46:12 +0100 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:33:43 +0100 sched/autogroup: Do not us

[tip:perf/urgent] perf/x86/intel/uncore: Allow only a single PMU/box within an events group

2016-11-22 Thread tip-bot for Peter Zijlstra
Commit-ID: 033ac60c7f21f9996a0fab2fd04f334afbf77b33 Gitweb: http://git.kernel.org/tip/033ac60c7f21f9996a0fab2fd04f334afbf77b33 Author: Peter Zijlstra AuthorDate: Fri, 18 Nov 2016 13:53:54 +0100 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:36:59 +0100 perf/x86/intel/uncore: Al

[tip:perf/urgent] perf/x86/intel: Cure bogus unwind from PEBS entries

2016-11-22 Thread tip-bot for Peter Zijlstra
Commit-ID: b8000586c90b4804902058a38d3a59ce5708e695 Gitweb: http://git.kernel.org/tip/b8000586c90b4804902058a38d3a59ce5708e695 Author: Peter Zijlstra AuthorDate: Thu, 17 Nov 2016 18:17:31 +0100 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:36:58 +0100 perf/x86/intel: Cure bogu

[tip:sched/urgent] sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task()

2016-11-22 Thread tip-bot for Oleg Nesterov
Commit-ID: 18f649ef344127ef6de23a5a4272dbe2fdb73dde Gitweb: http://git.kernel.org/tip/18f649ef344127ef6de23a5a4272dbe2fdb73dde Author: Oleg Nesterov AuthorDate: Mon, 14 Nov 2016 19:46:09 +0100 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:33:42 +0100 sched/autogroup: Fix autog

[tip:locking/core] locking/spinlocks, s390: Implement vcpu_is_preempted(cpu)

2016-11-22 Thread tip-bot for Christian Borntraeger
Commit-ID: 760928c0dafc7d0faf0c0248e28e16d4c8dc7ad6 Gitweb: http://git.kernel.org/tip/760928c0dafc7d0faf0c0248e28e16d4c8dc7ad6 Author: Christian Borntraeger AuthorDate: Wed, 2 Nov 2016 05:08:32 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:06 +0100 locking/spinlocks,

[tip:locking/core] sched/core: Introduce the vcpu_is_preempted(cpu) interface

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: d9345c65eb7930ac6755cf593ee7686f4029ccf4 Gitweb: http://git.kernel.org/tip/d9345c65eb7930ac6755cf593ee7686f4029ccf4 Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:28 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:05 +0100 sched/core: Introduce the vcpu

[tip:locking/core] locking/core, powerpc: Implement vcpu_is_preempted(cpu)

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: 41946c86876ea6a3e8857182356e6d76dbfe7fb6 Gitweb: http://git.kernel.org/tip/41946c86876ea6a3e8857182356e6d76dbfe7fb6 Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:31 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:06 +0100 locking/core, powerpc: Impleme

Re: [PATCH V6 1/2] PCI/ACPI: Provide acpi_get_rc_resources() for ARM64 platform

2016-11-22 Thread Tomasz Nowicki
Hi Dongdong, On 22.11.2016 13:08, Dongdong Liu wrote: The acpi_get_rc_resources() is used to get the RC register address that can not be described in MCFG. It takes the _HID&segment to look for and returns the RC address resource. Use PNP0C02 devices to describe such RC address resource. Use _UI

[tip:locking/core] locking/core, x86/paravirt: Implement vcpu_is_preempted(cpu) for KVM and Xen guests

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: 446f3dc8cc0af59259c6c8b898726fae7ed2c055 Gitweb: http://git.kernel.org/tip/446f3dc8cc0af59259c6c8b898726fae7ed2c055 Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:33 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:07 +0100 locking/core, x86/paravirt: Im

[tip:locking/core] kvm: Introduce kvm_write_guest_offset_cached()

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: 4ec6e863625625a54f527464ab91ce1a1cb16c42 Gitweb: http://git.kernel.org/tip/4ec6e863625625a54f527464ab91ce1a1cb16c42 Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:34 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:07 +0100 kvm: Introduce kvm_write_guest

[PATCH 1/5] thermal: rockchip: improve conversion error messages

2016-11-22 Thread Caesar Wang
From: Brian Norris These error messages don't give much information about what went wrong. It would be nice, for one, to see what invalid temperature was being requested when conversion fails. It's also good to return an error when we can't handle a conversion properly. While we're at it, fix th

[tip:locking/core] Documentation/virtual/kvm: Support the vCPU preemption check

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: 3dd3e0ce7989b645eee0174b17f5095e187c7f28 Gitweb: http://git.kernel.org/tip/3dd3e0ce7989b645eee0174b17f5095e187c7f28 Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:38 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:09 +0100 Documentation/virtual/kvm: Sup

[PATCH 5/5] thermal: rockchip: handle the set_trips without the trip points.

2016-11-22 Thread Caesar Wang
In some cases, some sensors didn't need the trip points, the set_trips will return {-INT_MAX, INT_MAX} to trigger thermal alarm. Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/thermal/rockchip_thermal.

[PATCH 4/5] thermal: rockchip: optimize the conversion table

2016-11-22 Thread Caesar Wang
In order to support the valid temperature can conver to analog value. The rockchip thermal has not supported the all valid temperature. For example: In some cases, we need adjust the trip point. $cd /sys/class/thermal/thermal_zone* echo 68000 > trip_point_0_temp That will report the error message

[tip:locking/core] locking/osq: Break out of spin-wait busy waiting loop for a preempted vCPU in osq_lock()

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: 5aff60a191e579ae00ae5ca6ce16c13b687bc8a3 Gitweb: http://git.kernel.org/tip/5aff60a191e579ae00ae5ca6ce16c13b687bc8a3 Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:29 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:10 +0100 locking/osq: Break out of spin

[PATCH 2/5] thermal: rockchip: don't pass table structs by value

2016-11-22 Thread Caesar Wang
From: Brian Norris This driver passes struct chip_tsadc_table by value throughout; this is inefficient, and AFAICT, there is no reason for it. Let's pass pointers instead. Signed-off-by: Brian Norris Reviewed-by: Caesar Wang Tested-by: Caesar Wang --- Changes: - The original Brian posted on

[tip:locking/core] x86/kvm: Support the vCPU preemption check

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: 0b9f6c4615c993d2b552e0d2bd1ade49b56e5beb Gitweb: http://git.kernel.org/tip/0b9f6c4615c993d2b552e0d2bd1ade49b56e5beb Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:35 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:08 +0100 x86/kvm: Support the vCPU pree

[PATCH 0/5] thermal: rockchip: optimization to improve the driver

2016-11-22 Thread Caesar Wang
There are five patches posted for upstream. 89267b5 thermal: rockchip: improve conversion error messages a0b5649 thermal: rockchip: don't pass table structs by value bceed92 thermal: rockchip: fixes invalid temperature case 30be6d0 thermal: rockchip: optimize the conversion table 35636e9 thermal: r

[tip:locking/core] x86/kvm: Support the vCPU preemption check

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: 1885aa7041c9e801e5d5b093b9dad38937ca37f6 Gitweb: http://git.kernel.org/tip/1885aa7041c9e801e5d5b093b9dad38937ca37f6 Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:36 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:08 +0100 x86/kvm: Support the vCPU pree

[tip:locking/core] locking/mutex: Break out of expensive busy-loop on {mutex,rwsem}_spin_on_owner() when owner vCPU is preempted

2016-11-22 Thread tip-bot for Pan Xinhui
Commit-ID: 05ffc951392df57edecc2519327b169210c3df75 Gitweb: http://git.kernel.org/tip/05ffc951392df57edecc2519327b169210c3df75 Author: Pan Xinhui AuthorDate: Wed, 2 Nov 2016 05:08:30 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:10 +0100 locking/mutex: Break out of ex

[tip:locking/core] x86/xen: Support the vCPU preemption check

2016-11-22 Thread tip-bot for Juergen Gross
Commit-ID: de7689cf8f3820b34088da3b22ce1a548dda2fc5 Gitweb: http://git.kernel.org/tip/de7689cf8f3820b34088da3b22ce1a548dda2fc5 Author: Juergen Gross AuthorDate: Wed, 2 Nov 2016 05:08:37 -0400 Committer: Ingo Molnar CommitDate: Tue, 22 Nov 2016 12:48:09 +0100 x86/xen: Support the vCPU p

<    1   2   3   4   5   6   7   8   9   10   >