Re: [PATCH 1/2] clocksource/drivers: Unify the names to timer-* format

2018-09-24 Thread Uwe Kleine-König
On Mon, Sep 24, 2018 at 06:15:17AM +0200, Daniel Lezcano wrote: > In order to make some housekeeping in the directory, this patch renames > drivers to the timer-* format in order to unify their names. > > There is no functional changes. > > Signed-off-by: Daniel Lezcano > --- > MAINTAINERS

Re: [PATCH v8 4/5] clk: imx: add imx composite clock

2018-09-24 Thread Sascha Hauer
Hi Abel, On Fri, Sep 21, 2018 at 03:11:33PM +0300, Abel Vesa wrote: > Since a lot of clocks on imx8 are formed by a mux, gate, predivider and > divider, the idea here is to combine all of those into one composite clock, > but we need to deal with both predivider and divider at the same time and >

Re: [PATCH v3 2/2] remoteproc: qcom: Introduce Non-PAS ADSP PIL driver

2018-09-24 Thread Rohit Kumar
for reporting. Checked this warning. This is a core driver issue fixed with https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/base/core.c?h=next-20180924=2ec16150179888b81717d1d3ce84e634f4736af2  device_del+0x84/0x29c  platform_device_del+0x2c/0x88

RE: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-09-24 Thread Naga Sureshkumar Relli
Hi Boris & Miquel, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Saturday, September 22, 2018 1:43 PM > To: Miquel Raynal > Cc: Naga Sureshkumar Relli ; rich...@nod.at; > dw...@infradead.org; > computersforpe...@gmail.com;

Re: [PATCH v6 0/3] Harden spectrev2 userspace-userspace protection

2018-09-24 Thread Jiri Kosina
On Sat, 22 Sep 2018, Thomas Gleixner wrote: > Lunch and coffee indeed made brain work better. The simple solution was way > too obvious. Ah, cool, I like it a lot. Do you want me to fold this into v7, or are you on it already? Thanks, -- Jiri Kosina SUSE Labs

Re: [PATCH 0/9] HID: intel ISH: Cleanup patches

2018-09-24 Thread Jiri Kosina
On Tue, 11 Sep 2018, Srinivas Pandruvada wrote: > This series is a cleanup series only and help to abstract client API. > > There are no functional changes. > > Even Xu (6): > hid: intel-ish-hid: ishtp: add helper function for driver data get/set > hid: intel-ish-hid: use helper function

Re: [PATCH v7 4/7] edac: synopsys: Add macro defines for ZynqMP DDRC

2018-09-24 Thread Borislav Petkov
On Mon, Sep 17, 2018 at 07:55:02PM +0530, Manish Narani wrote: > Add macro defines for ZynqMP DDR controller. These macros will be used > for ZyqnMP ECC operations. > > Signed-off-by: Manish Narani > --- > drivers/edac/synopsys_edac.c | 168 > +++ > 1

Re: [PATCH] ARM: dts: exynos: Add CD and WP pins to Odroid XU SD card

2018-09-24 Thread Marek Szyprowski
Hi Krzysztof, On 2018-09-21 23:03, Krzysztof Kozlowski wrote: > Defining card-detect and write-protect GPIO pins in Odroid XU SD Card > does not change anything from functional point of view - dw-mmc driver > was reading the state from registers. Adding cd-gpios and wp-gpios > properties changes

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-24 Thread David Howells
Christian Brauner wrote: > Ok, understood. What about passing the different attrs as a struct? > > struct mount_attr { > unsigned int attr_cmd, > unsigned int attr_values, > unsigned int attr_mask, > > }; > > mount_setattr(int dfd, const char *path, unsigned int

Re: [PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 12:06:13PM +0530, Silesh C V wrote: > Hello Greg, > On Mon, Sep 24, 2018 at 10:48 AM Greg Kroah-Hartman > wrote: > > > > On Mon, Sep 24, 2018 at 10:05:55AM +0530, Silesh C V wrote: > > > Some drivers need to find the device on a bus having a specific firmware > > > node.

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-24 Thread Bartosz Golaszewski
niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > Some users want to introduce device tree support to the mockup driver. > Let's make it easier by switching to using generic device properties. > The driver stays compatible with previous use cases and after this > conversion there'll

Re: [RFC/PATCH 2/5] device property: introduce notion of subnodes for legacy boards

2018-09-24 Thread Heikki Krogerus
On Fri, Sep 21, 2018 at 04:33:36PM -0700, Dmitry Torokhov wrote: > On Thu, Sep 20, 2018 at 01:16:48PM +0300, Heikki Krogerus wrote: > > On Wed, Sep 19, 2018 at 10:13:26AM -0700, Dmitry Torokhov wrote: > > > > > diff --git a/drivers/base/pset_property.c > > > > > b/drivers/base/pset_property.c > >

Re: [PATCH] clk: tegra: Fix an infinite loop when clock rate is zero

2018-09-24 Thread Peter De Schrijver
On Fri, Sep 21, 2018 at 06:00:37PM -0400, ryang wrote: > Calling clk_set_rate or clk_round_rate will lock up the kernel when the > rate is zero. This avoids the infinite loop and uses a slightly more > optimized p divider calculation. > Acked-By: Peter De Schrijver At some point we should also

Re: [PATCH RESEND 0/6] arm64: add support for generic cpu vulnerabilities

2018-09-24 Thread Mian Yousaf Kaukab
On Mon, Sep 17, 2018 at 02:35:08PM +0100, Will Deacon wrote: > On Wed, Sep 05, 2018 at 11:25:33AM +0200, Mian Yousaf Kaukab wrote: > > On Mon, Aug 27, 2018 at 04:33:04PM +0200, Mian Yousaf Kaukab wrote: > > > GENERIC_CPU_VULNERABILITIES provide a common way to figure out if a > > > system is

Re: [PATCH v10 25/26] KVM: s390: CPU model support for AP virtualization

2018-09-24 Thread David Hildenbrand
On 22/09/2018 01:31, Tony Krowiak wrote: > On 09/12/2018 03:43 PM, Tony Krowiak wrote: >> From: Tony Krowiak >> >> Introduces a new CPU model feature and two CPU model >> facilities to support AP virtualization for KVM guests. >> >> CPU model feature: >> >> The KVM_S390_VM_CPU_FEAT_AP feature

Re: [PATCH 00/15] tools/lib/traceevent: Namespace updates to make traceevent into a library

2018-09-24 Thread Steven Rostedt
On Sun, 23 Sep 2018 20:56:26 +0200 Jiri Olsa wrote: > > Steven, > is there still something left to rename, or we can start moving it into > public rpm? > We're testing it as a external library, and we did find something. Did you get this patch?

RE: [PATCH 1/4] soc/fsl/qbman: Check if CPU is offline when initializing portals

2018-09-24 Thread Madalin-cristian Bucur
> -Original Message- > From: Li Yang [mailto:leoyang...@nxp.com] > Sent: Saturday, September 22, 2018 1:15 AM > To: Madalin-cristian Bucur > Subject: Re: [PATCH 1/4] soc/fsl/qbman: Check if CPU is offline when > initializing portals > > On Thu, Sep 20, 2018 at 10:09 AM Madalin Bucur >

[PATCH 1/2] arm64: dts: marvell: armada-cp110: change the PPv2 IRQ names

2018-09-24 Thread Antoine Tenart
This patch changes the PPv2 IRQ names in the CP110 device tree to match a corresponding change in the Marvell PPv2 driver. The reason this was updated is the IRQ where names after Tx/Rx interrupts, but this is not true and can be configured. A following patch will add more of them and the names

[PATCH 2/2] arm64: dts: marvell: armada-cp110: describe more PPv2 interrupts

2018-09-24 Thread Antoine Tenart
This patch describes 3 additional interrupts per PPv2 port. Those interrupts will be used later in future versions of the Marvell PPv2 driver, and now the device tree description matches the hardware capabilities. Signed-off-by: Antoine Tenart --- arch/arm64/boot/dts/marvell/armada-cp110.dtsi |

Re: [PATCH v2] HID: logitech: fix a used uninitialized GCC warning

2018-09-24 Thread Jiri Kosina
On Thu, 13 Sep 2018, zhong jiang wrote: > Fix the following compile warning: > > drivers/hid/hid-logitech-hidpp.c: In function 'hi_res_scroll_enable': > drivers/hid/hid-logitech-hidpp.c:2714:54: warning: 'multiplier' may be used > uninitialized in this function [-Wmaybe-uninitialized] >

Re: linux-next: manual merge of the akpm-current tree with the arm64 tree

2018-09-24 Thread Catalin Marinas
Hi Stephen, On Mon, Sep 24, 2018 at 02:38:53PM +1000, Stephen Rothwell wrote: > diff --cc arch/arm64/Kconfig > index da5e6f085561,f8a618a292f4.. > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@@ -785,7 -786,8 +785,8 @@@ config ARCH_FLATMEM_ENABL > def_bool !NUMA > >

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-24 Thread Thomas Petazzoni
Hello, On Mon, 24 Sep 2018 12:02:33 +0200, Jan Kundrát wrote: > is there a proper patch for this? I've just verified that 4.19-rc5 won't > boot for me either. Thomas' quick patch applies and makes the problem go > away. I was waiting for a quick review from Russell on my proposal, but since

Re: [PATCH v10 00/26] guest dedicated crypto adapters

2018-09-24 Thread Christian Borntraeger
FWIW, assuming that review comments for v10 will be addresses in v11, I plan to add the upcoming v11 to a topic branch and will merge that after 2 or 3 days after v11 in kvms390/next. In the future the vfio-ap driver will likely be handled by Martins s390 tree, so I guess it makes sense for him

Re: [PATCH V4 00/27] C-SKY(csky) Linux Kernel Port

2018-09-24 Thread Geert Uytterhoeven
Hi Arnd, On Fri, Sep 21, 2018 at 7:19 AM Arnd Bergmann wrote: > On Thu, Sep 20, 2018 at 10:52 AM Palmer Dabbelt wrote: > > On Fri, 14 Sep 2018 07:37:20 PDT (-0700), ren_...@c-sky.com wrote: > > > On Wed, Sep 12, 2018 at 04:30:36PM +0200, Arnd Bergmann wrote: > > >> On Wed, Sep 12, 2018 at 3:25

Re: [PATCH v5] ARM: mvebu: use dt_fixup to provide fallback for enable-method

2018-09-24 Thread Chris Packham
On 24/09/18 21:54, Olof Johansson wrote: > On Fri, Sep 21, 2018 at 12:05:48PM +0200, Gregory CLEMENT wrote: >> Hi Chris, >> >> On jeu., juil. 26 2018, Chris Packham >> wrote: >> >>> We need to maintain backwards compatibility with device trees that don't >>> define an enable method. At the

Re: [PATCH 1/2] clocksource/drivers: Unify the names to timer-* format

2018-09-24 Thread Uwe Kleine-König
On Mon, Sep 24, 2018 at 08:31:26AM +0200, Daniel Lezcano wrote: > On 24/09/2018 08:28, Uwe Kleine-König wrote: > > On Mon, Sep 24, 2018 at 06:15:17AM +0200, Daniel Lezcano wrote: > >> In order to make some housekeeping in the directory, this patch renames > >> drivers to the timer-* format in

Re: [PATCH] printk: inject caller information into the body of message

2018-09-24 Thread Tetsuo Handa
On 2018/09/19 20:02, Tetsuo Handa wrote: > On 2018/09/14 21:22, Sergey Senozhatsky wrote: >> The "SMP-safe" comment becomes a bit tricky when pr_line is used with a >> static buffer. Either we need to require synchronization - umm... and >> document it - or to provide some means of synchronization

Re: [PATCH 1/2] gpiolib: Fix missing updates of bitmap index

2018-09-24 Thread Linus Walleij
On Mon, Sep 24, 2018 at 1:52 AM Janusz Krzysztofik wrote: > In new code introduced by commit b17566a6b08b ("gpiolib: Implement fast > processing path in get/set array"), bitmap index is not updated with > next found zero bit position as it should while skipping over pins > already processed via

Re: [PATCH v10 03/26] KVM: s390: refactor crypto initialization

2018-09-24 Thread David Hildenbrand
On 22/09/2018 01:18, Tony Krowiak wrote: > On 09/12/2018 03:42 PM, Tony Krowiak wrote: >> From: Tony Krowiak >> >> This patch refactors the code that initializes and sets up the >> crypto configuration for a guest. The following changes are >> implemented via this patch: >> >> 1. Prior to the

Re: [PATCH] tools: Remove conflicting BITS_PER_LONG define

2018-09-24 Thread Alexander Sverdlin
Hello Arnaldo, Em Wed, Sep 12, 2018 at 07:02:32PM +0200, Alexander Sverdlin escreveu: > CC .../tools/objtool/builtin-check.o > ... > In file included from > .../tools/arch/x86/include/uapi/asm/bitsperlong.h:11:0, > from

[REVIEW][PATCH 15/15] signal/arm64: Use send_sig_fault where appropriate

2018-09-24 Thread Eric W. Biederman
Signed-off-by: "Eric W. Biederman" --- arch/arm64/kernel/fpsimd.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c index 58c53bc96928..5ebe73b69961 100644 --- a/arch/arm64/kernel/fpsimd.c +++

[REVIEW][PATCH 11/15] signal/arm64: Add and use arm64_force_sig_mceerr as appropriate

2018-09-24 Thread Eric W. Biederman
Add arm64_force_sig_mceerr for consistency with arm64_force_sig_fault, and use it in the one location that can take advantage of it. This removes the fiddly filling out of siginfo before sending a signal reporting an memory error to userspace. Signed-off-by: "Eric W. Biederman" ---

[REVIEW][PATCH 12/15] signal/arm64: Remove arm64_force_sig_info

2018-09-24 Thread Eric W. Biederman
The function has no more callers so remove it. Signed-off-by: "Eric W. Biederman" --- arch/arm64/include/asm/traps.h | 1 - arch/arm64/kernel/traps.c | 6 -- 2 files changed, 7 deletions(-) diff --git a/arch/arm64/include/asm/traps.h b/arch/arm64/include/asm/traps.h index

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-24 Thread Christian Brauner
On Mon, Sep 24, 2018 at 07:50:38AM +0100, David Howells wrote: > Christian Brauner wrote: > > > Ok, understood. What about passing the different attrs as a struct? > > > > struct mount_attr { > > unsigned int attr_cmd, > > unsigned int attr_values, > > unsigned int

[PATCH] Revert "uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name"

2018-09-24 Thread Lubomir Rintel
This changes UAPI, breaking iwd and libell: ell/key.c: In function 'kernel_dh_compute': ell/key.c:205:38: error: 'struct keyctl_dh_params' has no member named 'private'; did you mean 'dh_private'? struct keyctl_dh_params params = { .private = private,

Re: [PATCH v2 4/5] staging: vc04_services: Surround complex macros

2018-09-24 Thread Dan Carpenter
On Sun, Sep 23, 2018 at 03:06:19PM +0100, Aymen Qader wrote: > This patch fixes the checkpatch.pl error: > > ERROR: Macros with complex values should be enclosed in parentheses > > in the interface/vchi directory > > Signed-off-by: Aymen Qader > --- >

RE: [PATCH v7 2/7] edac: synps: Add platform specific structures for ddrc controller

2018-09-24 Thread Manish Narani
Hi Boris, Thanks for the review. > -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Friday, September 21, 2018 2:37 PM > To: Manish Narani > Cc: robh...@kernel.org; mark.rutl...@arm.com; mche...@kernel.org; > Michal Simek ; leoyang...@nxp.com; >

Re: [PATCH v2 0/5] staging: vc04_services: Fix checkpatch.pl errors

2018-09-24 Thread Dan Carpenter
On Sun, Sep 23, 2018 at 03:06:15PM +0100, Aymen Qader wrote: > v2: Added cover letter correctly > We weren't super stressed that the cover letter threading was wrong. We're not ogres. Anyway, just fixup the last two and resend a v3. regards, dan carpenter

Re: [PATCH v3 2/2] remoteproc: qcom: Introduce Non-PAS ADSP PIL driver

2018-09-24 Thread Rohit Kumar
Thanks Sibi for reviewing. On 9/22/2018 1:11 AM, Sibi Sankar wrote: Hi Rohit, On 2018-09-03 17:22, Rohit kumar wrote: This adds Non PAS ADSP PIL driver for Qualcomm Technologies Inc SoCs. Added initial support for SDM845 with ADSP bootup and shutdown operation handled from Application

Re: [GIT PULL] UBIFS fixes for 4.19-rc4

2018-09-24 Thread Peter Rosin
I fredags, den 21 september 2018, 15:53:42 CEST skrev Greg KH: > On Fri, Sep 21, 2018 at 11:33:15AM +0200, Richard Weinberger wrote: >> Greg, >> >> The following changes since commit ae596de1a0c8c2c924dc99d23c026259372ab234: >> >> Compiler Attributes: naked can be shared (2018-09-20 15:23:58

Re: [RESEND PATCH v3 2/2] PCI: meson: add the Amlogic Meson PCIe controller driver

2018-09-24 Thread Gustavo Pimentel
Hi Hanjie, On 21/09/2018 07:03, Hanjie Lin wrote: > From: Yue Wang > > The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare > PCI core. This patch adds the driver support for Meson PCIe controller. > > Signed-off-by: Yue Wang > Signed-off-by: Hanjie Lin > --- >

Re: [PATCH] staging: rtl8188eu, rtl8723bs: fix spelling mistake "evet" -> "event"

2018-09-24 Thread Dan Carpenter
It's better to just delete these. regards, dan carpenter

Re: [PATCH 04/13] iommu/io-pgtable-arm-v7s: Extend MediaTek 4GB mode

2018-09-24 Thread Yong Wu
On Thu, 2018-09-20 at 18:31 +0100, Robin Murphy wrote: > On 03/09/18 07:01, Yong Wu wrote: > > MediaTek extend the arm v7s descriptor to support the dram over 4GB. > > > > In the mt2712 and mt8173, it's called "4GB mode", the physical address > > is from 0x4000_ to 0x1_3fff_, but from EMI

Re: [PATCH V2] hid: hid-core: Fix a sleep-in-atomic-context bug in __hid_request()

2018-09-24 Thread Jiri Kosina
On Thu, 13 Sep 2018, Jia-Ju Bai wrote: > hid_alloc_report_buf() has to be called with GFP_ATOMIC in > __hid_request(), because there are the following callchains > leading to __hid_request() being an atomic context: > > picolcd_send_and_wait (acquire a spinlock) > hid_hw_request >

Re: [PATCH v7 7/7] edac: synopsys: Add Error Injection support for ZynqMP DDRC

2018-09-24 Thread Borislav Petkov
On Mon, Sep 17, 2018 at 07:55:05PM +0530, Manish Narani wrote: > Add support for Error Injection for ZynqMP DDRC IP. For injecting > errors, the Row, Column, Bank, Bank Group and Rank bits positions are > determined via Address Map registers of Synopsys DDRC. > > Signed-off-by: Manish Narani >

Re: [PATCH v5] ARM: mvebu: use dt_fixup to provide fallback for enable-method

2018-09-24 Thread Olof Johansson
On Fri, Sep 21, 2018 at 12:05:48PM +0200, Gregory CLEMENT wrote: > Hi Chris, > > On jeu., juil. 26 2018, Chris Packham > wrote: > > > We need to maintain backwards compatibility with device trees that don't > > define an enable method. At the same time we want the device tree to be > > able

Re: [PATCH v2 5/5] staging: vc04_services: Remove spaces after '*'

2018-09-24 Thread Dan Carpenter
On Sun, Sep 23, 2018 at 03:06:20PM +0100, Aymen Qader wrote: > This patch fixes the checkpatch.pl error: > > ERROR: "foo * bar" should be "foo* bar" It should be "foo *bar". > > in the interface/vchi directory > > Signed-off-by: Aymen Qader > --- >

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-24 Thread Jan Kundrát
What about something like the below. I tested it, including the error case by forcing an -EPROBE_DEFER. The new pci_unmap_io() is modeled after pci_unmap_iospace(). Actually, I would prefer to use pci_remap_iospace() and pci_unmap_iospace() but for now this API doesn't allow overloading the

Re: [RFCv2 00/48] perf tools: Add threads to record command

2018-09-24 Thread Alexey Budankov
Hi, On 23.09.2018 22:30, Jiri Olsa wrote: > On Fri, Sep 21, 2018 at 09:13:08AM +0300, Alexey Budankov wrote: > > SNIP > >> Events: >> cpu/period=P,event=0x3c/Duk;CPU_CLK_UNHALTED.THREAD >> cpu/period=P,umask=0x3/Duk;CPU_CLK_UNHALTED.REF_TSC >> cpu/period=P,event=0xc0/Duk;INST_RETIRED.ANY >>

Re: [GIT PULL] UBIFS fixes for 4.19-rc4

2018-09-24 Thread Greg KH
On Mon, Sep 24, 2018 at 09:11:55AM +0200, Peter Rosin wrote: > I fredags, den 21 september 2018, 15:53:42 CEST skrev Greg KH: > > On Fri, Sep 21, 2018 at 11:33:15AM +0200, Richard Weinberger wrote: > >> Greg, > >> > >> The following changes since commit > >>

Re: [RESEND PATCH v3 2/2] serial: uartps: Change uart ID port allocation

2018-09-24 Thread Geert Uytterhoeven
Hi Michal, On Thu, Sep 20, 2018 at 1:42 PM Michal Simek wrote: > For IPs which have alias algorightm all the time using that alias and > minor number. It means serial20 alias ends up as ttyPS20. > > If alias is not setup for probed IP instance the first unused position is > used but that needs

Re: [PATCH] usb: typec: tcpm: Fix APDO PPS order checking to be based on voltage

2018-09-24 Thread Heikki Krogerus
On Fri, Sep 21, 2018 at 04:04:11PM +0100, Adam Thomson wrote: > Current code mistakenly checks against max current to determine > order but this should be max voltage. This commit fixes the issue > so order is correctly determined, thus avoiding failure based on > a higher voltage PPS APDO having

Re: [PATCH] framewarn: expand KASAN_EXTRA exception to KASAN

2018-09-24 Thread Dmitry Vyukov
On Sat, Sep 22, 2018 at 4:56 PM, Arnd Bergmann wrote: > On Fri, Sep 21, 2018 at 2:45 AM Dmitry Vyukov wrote: >> >> On Fri, Sep 21, 2018 at 11:25 AM, Andrey Ryabinin >> wrote: >> > On 09/21/2018 04:50 AM, Andy Lutomirski wrote: >> >> This patch seems reasonable, but you emailed the wrong people

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-24 Thread Ard Biesheuvel
On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: > > On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: > > > > On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: > > > On 20 September 2018 at 14:31, Florian Fainelli > > > wrote: > > >> On 09/20/2018 02:04 PM, Ard Biesheuvel wrote: > > >>> On

Re: [PATCH v10 11/26] s390: vfio-ap: implement mediated device open callback

2018-09-24 Thread David Hildenbrand
> /** > - * Verify that the AP instructions are available on the guest. This is > indicated > - * via the KVM_S390_VM_CPU_FEAT_AP CPU model feature. > + * Verify that the AP instructions are being interpreted by firmware > for the > + * guest. This is indicated by the kvm->arch.crypto.apie

Re: [PATCH V4 00/27] C-SKY(csky) Linux Kernel Port

2018-09-24 Thread Arnd Bergmann
On Mon, Sep 24, 2018 at 9:21 AM Geert Uytterhoeven wrote: > > Hi Arnd, > > On Fri, Sep 21, 2018 at 7:19 AM Arnd Bergmann wrote: > > On Thu, Sep 20, 2018 at 10:52 AM Palmer Dabbelt wrote: > > > On Fri, 14 Sep 2018 07:37:20 PDT (-0700), ren_...@c-sky.com wrote: > > > > On Wed, Sep 12, 2018 at

[REVIEW][PATCH 00/15] signal/arm64: siginfo cleanups

2018-09-24 Thread Eric W. Biederman
This is the continuation of my work to sort out signaling of exceptions with siginfo. The old signal sending functions by taking a siginfo argument resulted in their callers having to deal with the fiddly nature of siginfo directly. In small numbers of callers this is not a problem but in the

[REVIEW][PATCH 10/15] signal/arm64: Add and use arm64_force_sig_fault where appropriate

2018-09-24 Thread Eric W. Biederman
Wrap force_sig_fault with a helper that calls arm64_show_signal and call arm64_force_sig_fault where appropraite. Signed-off-by: Eric W. Biederman --- arch/arm64/include/asm/traps.h | 1 + arch/arm64/kernel/debug-monitors.c | 11 +++ arch/arm64/kernel/ptrace.c | 11

[REVIEW][PATCH 09/15] signal/arm64: Only call set_thread_esr once in do_page_fault

2018-09-24 Thread Eric W. Biederman
This code is truly common between the signal sending cases so share it. Signed-off-by: Eric W. Biederman --- arch/arm64/mm/fault.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c index ab85533e2255..959c4a565c8e 100644 ---

Re: [PATCH] staging: greybus: control.c: fixed some coding style issues

2018-09-24 Thread Johan Hovold
On Thu, Sep 20, 2018 at 10:38:28PM +1000, Aaron Williams wrote: > fixed some "Alignment should match open parenthesis" checks. Note that this is not something that is mandated by the kernel coding style, but rather a preference of the authors of checkpatch (and the check is only enabled when the

[REVIEW][PATCH 07/15] signal/arm64: Expand __do_user_fault and remove it

2018-09-24 Thread Eric W. Biederman
Not all of the signals passed to __do_user_fault can be handled the same way so expand the now tiny __do_user_fault in it's callers and remove it. Signed-off-by: "Eric W. Biederman" --- arch/arm64/mm/fault.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git

[REVIEW][PATCH 08/15] signal/arm64: Only perform one esr_to_fault_info call in do_page_fault

2018-09-24 Thread Eric W. Biederman
As this work is truly common between all of the signal sending cases there is no need to repeat it between the different cases. Signed-off-by: Eric W. Biederman --- arch/arm64/mm/fault.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/mm/fault.c

Re: [PATCH 1/2] clocksource/drivers: Unify the names to timer-* format

2018-09-24 Thread Daniel Lezcano
On 24/09/2018 08:28, Uwe Kleine-König wrote: > On Mon, Sep 24, 2018 at 06:15:17AM +0200, Daniel Lezcano wrote: >> In order to make some housekeeping in the directory, this patch renames >> drivers to the timer-* format in order to unify their names. >> >> There is no functional changes. >> >>

Re: [PATCH 4.9 069/101] ubi: fastmap: Correctly handle interrupted erasures in EBA

2018-09-24 Thread Richard Weinberger
Lars, Am Sonntag, 23. September 2018, 15:49:42 CEST schrieb Lars Persson: > Hi Richard > > Sorry, I assumed this omission from -stable was a mistake. > > The timing for our boot increased from 45 seconds to 55 seconds on one > chip and 42 seconds to 48 seconds on another chip. The regression

[PATCH v2 1/2] iio: adc: at91: fix acking DRDY irq on simple conversions

2018-09-24 Thread Eugen Hristev
When doing simple conversions, the driver did not acknowledge the DRDY irq. If this irq status is not acked, it will be left pending, and as soon as a trigger is enabled, the irq handler will be called, it doesn't know why this status has occurred because no channel is pending, and then it will go

Re: [PATCH] memory_hotplug: Free pages as higher order

2018-09-24 Thread Arun KS
On 2018-09-21 21:12, Dan Williams wrote: On Fri, Sep 21, 2018 at 2:40 AM Arun KS wrote: When free pages are done with higher order, time spend on coalescing pages by buddy allocator can be reduced. With section size of 256MB, hot add latency of a single section shows improvement from 50-60 ms

[PATCH v2 2/2] iio: adc: at91: fix wrong channel number in triggered buffer mode

2018-09-24 Thread Eugen Hristev
When channels are registered, the hardware channel number is not the actual iio channel number. This is because the driver is probed with a certain number of accessible channels. Some pins are routed and some not, depending on the description of the board in the DT. Because of that, channels

Re: [PATCH] clk: tegra: Return the exact clock rate from clk_round_rate

2018-09-24 Thread Peter De Schrijver
On Fri, Sep 21, 2018 at 06:01:49PM -0400, ryang wrote: > The current behavior is that clk_round_rate would return the same clock > rate passed to it for valid PLL configurations. This change will return > the exact rate the PLL will provide in accordance with clk API. > > Signed-off-by: ryang >

[PATCH RT] tty: serial: pl011: fix warning about uninitialized variable

2018-09-24 Thread Kurt Kanzenbach
Silence the following gcc warning: drivers/tty/serial/amba-pl011.c: In function ‘pl011_console_write’: ./include/linux/spinlock.h:260:3: warning: ‘flags’ may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \

[REVIEW][PATCH 04/15] signal/arm64: Factor set_thread_esr out of __do_user_fault

2018-09-24 Thread Eric W. Biederman
This pepares for sending signals with something other than arm64_force_sig_info. Signed-off-by: "Eric W. Biederman" --- arch/arm64/mm/fault.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c index

[REVIEW][PATCH 03/15] signal/arm64: Factor out arm64_show_signal from arm64_force_sig_info

2018-09-24 Thread Eric W. Biederman
Filling in siginfo is error prone and so it is wise to use more specialized helpers to do that work. Factor out the arm specific unhandled signal reporting from the work of delivering a signal so the code can be modified to use functions that take the information to fill out siginfo as

[REVIEW][PATCH 01/15] signal/arm64: Push siginfo generation into arm64_notify_die

2018-09-24 Thread Eric W. Biederman
Instead of generating a struct siginfo before calling arm64_notify_die pass the signal number, tne sicode and the fault address into arm64_notify_die and have it call force_sig_fault instead of force_sig_info to let the generic code generate the struct siginfo. This keeps code passing just the

[REVIEW][PATCH 02/15] signal/arm64: Remove unneeded tsk parameter from arm64_force_sig_info

2018-09-24 Thread Eric W. Biederman
Every caller passes in current for tsk so there is no need to pass tsk. Instead make tsk a local variable initialized to current. Signed-off-by: "Eric W. Biederman" --- arch/arm64/include/asm/traps.h | 3 +-- arch/arm64/kernel/debug-monitors.c | 2 +- arch/arm64/kernel/ptrace.c | 2

[REVIEW][PATCH 05/15] signal/arm64: Consolidate the two hwpoison cases in do_page_fault

2018-09-24 Thread Eric W. Biederman
These two cases are practically the same and use siginfo differently from the other signals sent from do_page_fault. So consolidate them to make future changes easier. Signed-off-by: "Eric W. Biederman" --- arch/arm64/mm/fault.c | 14 +++--- 1 file changed, 7 insertions(+), 7

[PATCH net-next 2/2] net: mvpp2: use round-robin scheduling for TX queues on the same CPU

2018-09-24 Thread Maxime Chevallier
This commit allows each TXQ to be picked in a round-robin fashion by the PPv2 transmit scheduling mechanism. This is opposed to the default behaviour that prioritizes the highest numbered queues. Suggested-by: Yan Markman Signed-off-by: Maxime Chevallier ---

[REVIEW][PATCH 06/15] signal/arm64: For clarity separate the 3 signal sending cases in do_page_fault

2018-09-24 Thread Eric W. Biederman
It gets easy to confuse what is going on when some code is shared and some not so stop sharing the trivial bits of signal generation to make future updates easier to understand. Signed-off-by: "Eric W. Biederman" --- arch/arm64/mm/fault.c | 13 + 1 file changed, 9 insertions(+), 4

[PATCH] objtool: Link with -lz

2018-09-24 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
This should fix the following when statically linking host tools: gcc .../tools/objtool/objtool-in.o -lelf .../tools/objtool/libsubcmd.a -static -o .../tools/objtool/objtool .../bin/ld: .../sys-root/lib/libelf.a(elf_compress.o): in function `__libelf_compress': .../libelf/elf_compress.c:113:

Re: [PATCH 1/3] x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code

2018-09-24 Thread Andy Shevchenko
On Sun, Sep 23, 2018 at 04:45:08PM +0200, Hans de Goede wrote: > On some BYT/CHT systems the SoC's P-Unit shares the I2C bus with the > kernel. The P-Unit has a semaphore for the PMIC bus which we can take to > block it from accessing the shared bus while the kernel wants to access it. > >

Re: AMD Athlon bogus performance value causing RCU stalls?

2018-09-24 Thread Thomas Gleixner
On Sun, 23 Sep 2018, Rob Prowel wrote: > On 09/23/18 17:19, Thomas Gleixner wrote: > > It's in the 4.18.8 stable kernel, which should be available from your > > fedora repo anytime soon. > > > Will check with the newer kernel when it's available but please do double > check if this problem might

Re: [PATCH 1/2] iio: adc: at91: fix acking DRDY irq on simple conversions

2018-09-24 Thread Eugen Hristev
On 22.09.2018 13:31, Jonathan Cameron wrote: On Thu, 20 Sep 2018 15:40:37 +0300 Eugen Hristev wrote: When doing simple conversions, the driver did not acknowledge the DRDY irq. If this irq is not acked, it will be left pending, and as soon as a trigger is enabled, the irq handler will be

Re: [PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Hello Greg, On Mon, Sep 24, 2018 at 10:48 AM Greg Kroah-Hartman wrote: > > On Mon, Sep 24, 2018 at 10:05:55AM +0530, Silesh C V wrote: > > Some drivers need to find the device on a bus having a specific firmware > > node. Currently, such drivers have their own implementations to do this. > >

Re: [RFT] arm64: ARM: dts: exynos: Remove double SD card detect pin inversion on TM2

2018-09-24 Thread Marek Szyprowski
Hi Krzysztof, On 2018-09-21 20:30, Krzysztof Kozlowski wrote: > The SDHCI standard, MMC host controller bindings and MMC core defines > card detect pin as active low. Therefore there is no point to invert it > twice. > > Signed-off-by: Krzysztof Kozlowski Works fine on TM2 and TM2e. However

Re: [RESEND PATCH v3 1/2] of: base: Introduce of_alias_get_alias_list() to check alias IDs

2018-09-24 Thread Geert Uytterhoeven
Hi Michal, On Thu, Sep 20, 2018 at 1:42 PM Michal Simek wrote: > The function travels the lookup table to record alias ids for the given > device match structures and alias stem. > This function will be used by serial drivers to check if requested alias > is allocated or free to use. > >

Re: [PATCH] kernel/kcov: Replace vm_insert_page with vmf_insert_page

2018-09-24 Thread Souptick Joarder
On Sat, Sep 22, 2018 at 7:52 PM Matthew Wilcox wrote: > > On Fri, Sep 21, 2018 at 12:42:54AM +0530, Souptick Joarder wrote: > > for (off = 0; off < size; off += PAGE_SIZE) { > > page = vmalloc_to_page(kcov->area + off); > > - if

Re: [PATCH v2 3/5] m68k: Added system call table generation support

2018-09-24 Thread Firoz Khan
Hi Geert, On Mon, 24 Sep 2018 at 12:33, Geert Uytterhoeven wrote: > > Hi Firoz, > > On Thu, Sep 20, 2018 at 5:07 PM Firoz Khan wrote: > > The system call tables are in different format in all > > architecture and it will be difficult to manually add or > > modify the system calls in the

Re: [PATCH] ARM: dts: Add support for Liebherr's BK4 device (vf610 based)

2018-09-24 Thread Lukasz Majewski
Hi Fabio, Thanks for your review. > On Fri, Sep 21, 2018 at 12:27 PM, Lukasz Majewski > wrote: > > This commit adds DTS support for BK4 device from Liebherr. It > > uses vf610 SoC from NXP. > > > > Signed-off-by: Lukasz Majewski > > --- > > arch/arm/boot/dts/Makefile | 1 + > >

[PATCH] mmc: core: Allow building PWRSEQ_SD8787 with LIBERTAS_SDIO

2018-09-24 Thread Lubomir Rintel
The sd8686 "libertas" SDIO adapter's power is controlled with WLAN_RST and WLAN_PD pins -- pretty much the same way as sd8787. Allow building the power sequencing driver along with the libertas Wi-Fi driver. Signed-off-by: Lubomir Rintel --- drivers/mmc/core/Kconfig | 2 +- 1 file changed, 1

[REVIEW][PATCH 14/15] signal/arm64: Add and use arm64_force_sig_ptrace_errno_trap

2018-09-24 Thread Eric W. Biederman
Add arm64_force_sig_ptrace_errno_trap for consistency with arm64_force_sig_fault and use it where appropriate. This adds the show_signal logic to the force_sig_errno_trap case, where it was apparently overlooked earlier. Signed-off-by: "Eric W. Biederman" --- arch/arm64/include/asm/traps.h | 1

[REVIEW][PATCH 13/15] signal/arm64: In ptrace_hbptriggered name the signal description string

2018-09-24 Thread Eric W. Biederman
This will let the description be reused shortly. Signed-off-by: "Eric W. Biederman" --- arch/arm64/kernel/ptrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c index 7ab75e78aa08..921267f59d0d 100644 ---

Re: [PATCH] hyper-v: Fix wakeup from suspend-to-idle

2018-09-24 Thread Jiri Kosina
On Wed, 12 Sep 2018, Vitaly Kuznetsov wrote: > It makes little sense but still possible to put Hyper-V guests into > suspend-to-idle state. To wake them up two wakeup sources were registered > in the past: hyperv-keyboard and hid-hyperv. However, since > commit eed4d47efe95 ("ACPI / sleep: Ignore

Re: [PATCH] HID: intel-ish-hid: Enable Ice Lake mobile

2018-09-24 Thread Jiri Kosina
On Tue, 11 Sep 2018, Srinivas Pandruvada wrote: > Added PCI ID for Ice Lake mobile platform. > > Signed-off-by: Srinivas Pandruvada > --- > drivers/hid/intel-ish-hid/ipc/hw-ish.h | 1 + > drivers/hid/intel-ish-hid/ipc/pci-ish.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git

[PATCH v3 0/4] devres: provide and use devm_kstrdup_const()

2018-09-24 Thread Bartosz Golaszewski
This series implements devm_kstrdup_const() together with some prerequisite changes and uses it in pmc-atom driver. v1 -> v2: - fixed the changelog in the patch implementing devm_kstrdup_const() - fixed the kernel doc - moved is_kernel_rodata() to asm-generic/sections.h - fixed constness v2 ->

[PATCH v3 1/4] devres: constify p in devm_kfree()

2018-09-24 Thread Bartosz Golaszewski
Make devm_kfree() signature uniform with that of kfree(). To avoid compiler warnings: cast p to (void *) when calling devres_destroy(). Signed-off-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson --- drivers/base/devres.c | 5 +++-- include/linux/device.h | 2 +- 2 files changed, 4

[PATCH v3 3/4] devres: provide devm_kstrdup_const()

2018-09-24 Thread Bartosz Golaszewski
Provide a resource managed version of kstrdup_const(). This variant internally calls devm_kstrdup() on pointers that are outside of .rodata section and returns the string as is otherwise. Also provide a corresponding version of devm_kfree(). Signed-off-by: Bartosz Golaszewski Reviewed-by: Bjorn

[PATCH v3 4/4] clk: pmc-atom: use devm_kstrdup_const()

2018-09-24 Thread Bartosz Golaszewski
Use devm_kstrdup_const() in the pmc-atom driver. This mostly serves as an example of how to use this new routine to shrink driver code. While we're at it: replace a call to kcalloc() with devm_kcalloc(). Signed-off-by: Bartosz Golaszewski Reviewed-by: Stephen Boyd Reviewed-by: Bjorn Andersson

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-24 Thread Russell King - ARM Linux
On Thu, Sep 13, 2018 at 10:42:41AM +0200, Thomas Petazzoni wrote: > Hello, > > On Thu, 13 Sep 2018 10:20:45 +0200, Jan Kundrát wrote: > > On čtvrtek 13. září 2018 9:45:15 CEST, Thomas Petazzoni wrote: > > > What about something like the below. I tested it, including the error > > > case by

[PATCH 02/14] MIPS: dts: Add aliases node for lantiq danube serial

2018-09-24 Thread Songjun Wu
Previous implementation uses a hard-coded register value to check if the current serial entity is the console entity. Now the lantiq serial driver uses the aliases for the index of the serial port. The lantiq danube serial dts are updated with aliases to support this. Signed-off-by: Songjun Wu

[PATCH 07/14] serial: lantiq: Rename fpiclk to freqclk

2018-09-24 Thread Songjun Wu
fpiclk is platform specific, freqclk is more generic. Signed-off-by: Songjun Wu --- drivers/tty/serial/lantiq.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index e351f80996d3..4acdbdf8fe7a 100644 ---

[PATCH 04/14] serial: lantiq: Change ltq_w32_mask to asc_update_bits

2018-09-24 Thread Songjun Wu
ltq prefix is platform specific function, asc prefix is more generic. Signed-off-by: Songjun Wu --- drivers/tty/serial/lantiq.c | 33 - 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c

[PATCH 06/14] serial: lantiq: Use readl/writel instead of ltq_r32/ltq_w32

2018-09-24 Thread Songjun Wu
Previous implementation uses platform-dependent functions ltq_w32()/ltq_r32() to access registers. Those functions are not available for other SoC which uses the same IP. Change to OS provided readl()/writel() and readb()/writeb(), so that different SoCs can use the same driver. Signed-off-by:

  1   2   3   4   5   6   7   8   9   10   >