[PATCH v4 1/2] dt-bindings: arm: amlogic: Add Meson G12A binding

2018-09-20 Thread Jianxin Pan
Introduce new bindings for the Meson G12A SoC Signed-off-by: Jianxin Pan Reviewed-by: Rob Herring Reviewed-by: Jerome Brunet --- Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Docu

[PATCH] usb: core: disable USB2 LPM when suspending

2018-09-20 Thread AceLan Kao
We found a S5 current leakage issue on Dell DW1820 WiFi/BT combo card which uses Qualcomm QCA6174 SoC. It also comes with WiFi and BT failure when encountered current leakage issue. 1. Power on, both WiFi and BT work. 2. Power off and found a current leakage issue(consumes ~0.5W) 3. Power

[PATCH v4 2/2] arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT support

2018-09-20 Thread Jianxin Pan
Try to add basic DT support for the Amlogic's Meson-G12A S905D2 SoC, which describe components as follows: Reserve Memory, CPU, GIC, IRQ, Timer, UART. It's capable of booting up into the serial console. Signed-off-by: Jianxin Pan Reviewed-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/Makefi

Re: [PATCH] ARM: amba: Fix leak of driver_override attribute value

2018-09-20 Thread Greg KH
On Thu, Sep 20, 2018 at 08:48:36AM +0200, Geert Uytterhoeven wrote: > On Thu, Sep 20, 2018 at 1:48 AM Trent Piepho wrote: > > If driver_override was set when a device was released the string would > > not be kfree'ed in amba_device_release and thus leaked when the amba > > device was freed. > > >

[PATCH v4 0/2] arm64: dts: meson-g12a: Introduce new DT files for Meson-G12A SoC

2018-09-20 Thread Jianxin Pan
This attempt will try to add new DT files to support Meson-G12A SoC. 1) first, Please notice that, in this patch series, the DT node about 16M reserved memory for hwrom is removed, since it's not needed by G12A SoC. 2) second, the pclk for uart_AO need to be fixed once G12A clock_ao driver is mer

Re: [PATCH] clk: ti: fix OF child-node lookup

2018-09-20 Thread Tero Kristo
On 31/08/18 00:46, Stephen Boyd wrote: Quoting Johan Hovold (2018-08-22 02:03:19) Fix child-node lookup which by using the wrong OF helper was searching the whole tree depth-first, something which could end up matching an unrelated node. Also fix the related node-reference leaks. Fixes: 5b385a

Re: [PATCH] Revert "ubifs: xattr: Don't operate on deleted inodes"

2018-09-20 Thread Richard Weinberger
Am Donnerstag, 20. September 2018, 04:30:41 CEST schrieb Joel Stanley: > On Mon, 17 Sep 2018 at 07:30, Richard Weinberger wrote: > > > > This reverts commit 11a6fc3dc743e22fb50f2196ec55bee5140d3c52. > > UBIFS wants to assert that xattr operations are only issued on files > > with positive link cou

Re: [PATCH] kgdboc: Fix warning with module build

2018-09-20 Thread Greg Kroah-Hartman
On Wed, Sep 19, 2018 at 06:59:01PM -0700, Laura Abbott wrote: > > After 2dd453168643 ("kgdboc: Fix restrict error"), kgdboc_option_setup is > now only used when built in, resulting in a warning when compiled as a > module: > > drivers/tty/serial/kgdboc.c:134:12: warning: 'kgdboc_option_setup' def

Re: [PATCH] ARM: amba: Fix leak of driver_override attribute value

2018-09-20 Thread Geert Uytterhoeven
Hi Greg, On Thu, Sep 20, 2018 at 9:09 AM Greg KH wrote: > On Thu, Sep 20, 2018 at 08:48:36AM +0200, Geert Uytterhoeven wrote: > > On Thu, Sep 20, 2018 at 1:48 AM Trent Piepho wrote: > > > If driver_override was set when a device was released the string would > > > not be kfree'ed in amba_device_

Re: [PATCH] ARM: dts: stm32: Add clk-lse node's label on stm32f429

2018-09-20 Thread Alexandre Torgue
Hi Patrice On 07/19/2018 03:35 PM, patrice.chot...@st.com wrote: From: Patrice Chotard Add missing clk_lse label for node clk-lse. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f429.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm3

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-20 Thread Greg Kroah-Hartman
On Wed, Sep 19, 2018 at 11:00:37PM -0700, Stefan Agner wrote: > On 19.09.2018 16:00, Miguel Ojeda wrote: > > On Wed, Sep 19, 2018 at 11:14 PM, Greg Kroah-Hartman > > wrote: > >> On Tue, Sep 18, 2018 at 08:56:04PM +0200, Miguel Ojeda wrote: > >>> Hi Greg, > >>> > >> > >>> Since Linus/Andrew/you > >

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 01:00:41AM +0200, Miguel Ojeda wrote: > >> I am going to send a v5 of the entire series without these two > >> patches, based on -rc4 (or -next, which one do you prefer? I would say > >> these patches should be applied early in the -next branches, so that > >> everyone is re

Re: [PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-20 Thread Uwe Kleine-König
On Thu, Sep 20, 2018 at 01:58:45AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/tty/serial/imx.c: In function 'imx_uart_probe': > drivers/tty/serial/imx.c:2198:20: warning: > variable 'rtsirq' set but not used [-Wunused-but-set-variable] > > Signed-off-by

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 02:10:24AM +0200, Dominique Martinet wrote: > Miguel Ojeda wrote on Thu, Sep 20, 2018: > > > I've not followed so closely, in particular I'm not sure if it's the > > > only problem with arm32 right now, but that is a regression - the > > > general serie is meant as an improv

Re: [PATCH v3] ARM: dts: aspeed: Adding Facebook TiogaPass BMC

2018-09-20 Thread Joel Stanley
Hello Vijay, On Wed, 19 Sep 2018 at 09:11, Vijay Khemka wrote: > Initial introduction of Facebook TiogaPass family equipped with > Aspeed 2500 BMC SoC. TiogaPass is a x86 server development kit > with a ASPEED ast2500 BMC manufactured by Facebook. > Specifically, This adds the tiogapass platform

Re: [PATCH 00/15] Add support for Sound BlasterX AE-5

2018-09-20 Thread Takashi Iwai
On Tue, 18 Sep 2018 20:33:28 +0200, Connor McAdams wrote: > > This patch series adds support for the Sound BlasterX AE-5. I have > personally tested it, and had others test it as well. All outputs work, > front headphone, rear headphone, rear line-out, surround, digital. The > only issue currently

Re: [PATCH 1/2] libata: add ledtrig support

2018-09-20 Thread Pavel Machek
Hi! > +#ifdef CONFIG_ATA_LEDS > + /* register LED triggers for all ports */ > + for (i = 0; i < host->n_ports; i++) { > + if (unlikely(!host->ports[i]->ledtrig)) > + continue; > + > + snprintf(host->ports[i]->ledtrig_name, > +

Re: [PATCH] ARM: amba: Fix leak of driver_override attribute value

2018-09-20 Thread Greg KH
On Thu, Sep 20, 2018 at 09:16:36AM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Thu, Sep 20, 2018 at 9:09 AM Greg KH wrote: > > On Thu, Sep 20, 2018 at 08:48:36AM +0200, Geert Uytterhoeven wrote: > > > On Thu, Sep 20, 2018 at 1:48 AM Trent Piepho wrote: > > > > If driver_override was set w

[PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Robin Gong
enable IDDMAEN in UCR4 to let sdma script has the chance to detect the idle status and transfer the last tail data with the interrupt notifying uart driver.Otherwise, the last dma done interrupt of the tail data in rxfifo whose size is less than watermark may never be received by uart driver. Sign

Re: [PATCH v6 07/16] x86/pci: Add Hygon Dhyana support to PCI and north bridge

2018-09-20 Thread Thomas Gleixner
On Wed, 19 Sep 2018, Lendacky, Thomas wrote: > > To be compatible with "before this patch" you should probably do: > > if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) { > root_ids = hygon_root_ids; > misc_ids = hygon_nb_misc_ids; > link_ids = hygo

Re: [PATCH 00/22] KEYS: Support TPM-wrapped key and crypto ops

2018-09-20 Thread Marcel Holtmann
Hi David, >>> Yes. It shouldn't be much code, either. You still have to check for X.509 >>> DER since the kernel currently supports that. >> >> For reasons of backward compatibility, correct? The kernel also has >> mscode.asn1 which we would need to support as well. Since we can't break >> co

[GIT PULL] sound fixes for 4.19-rc3

2018-09-20 Thread Takashi Iwai
Greg, please pull sound fixes for v4.19-rc5 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.19-rc5 The topmost commit is 196f4eeeb78f53e0a598db8f9408b6f8b270c355 sound fixes for 4.19-rc5 here

[PATCH 8/9] ia64: remove machvec_dma_sync_{single,sg}

2018-09-20 Thread Christoph Hellwig
The original form of these was added (to the HP zx1 platform only) by the following bitkeeper commit (by the way of the historic.git tree): commit 66b99421d118a5ddd98a72913670b0fcf0a38d45 Author: Andrew Morton Date: Sat Mar 13 17:05:37 2004 -0800 [PATCH] DMA: Fill gaping hole in DMA API in

[PATCH 1/9] ia64: remove the kern_mem_attribute export

2018-09-20 Thread Christoph Hellwig
No actually used anywhere. Signed-off-by: Christoph Hellwig --- arch/ia64/kernel/efi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 9c09bf390cce..f77d80edddfe 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -842,7 +8

[PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function

2018-09-20 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- arch/ia64/include/asm/iommu.h | 1 - arch/ia64/kernel/pci-dma.c| 5 - 2 files changed, 6 deletions(-) diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h index 156b9d8e1932..5397e5aa3704 100644 --- a/arch/ia64/include/asm/iommu.

Re: [PATCH 2/2] ARM: mvebu: Enable ARCH_WANT_LIBATA_LEDS in Armada 38x

2018-09-20 Thread Pavel Machek
On Wed 2018-09-19 11:45:30, Aditya Prayoga wrote: > Enable hidden symbol ARCH_WANT_LIBATA_LEDS so CONFIG_ATA_LEDS can be > used in kernel configuration. Should that be hidden symbol and should that be architecture specific? For a notebook, I may want scrolllock LED to indicate ATA activity (becau

[PATCH 2/9] ia64: remove the dead iommu_sac_force variable

2018-09-20 Thread Christoph Hellwig
Looks like copy and paste from x86 that never actually got used. Signed-off-by: Christoph Hellwig --- arch/ia64/kernel/pci-dma.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c index b5df084c0af4..50b6ad282a90 100644

[PATCH 6/9] ia64: remove the unused iommu_dma_init function

2018-09-20 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- arch/ia64/include/asm/iommu.h | 1 - arch/ia64/kernel/pci-dma.c| 6 -- 2 files changed, 7 deletions(-) diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h index 5397e5aa3704..7429a72f3f92 100644 --- a/arch/ia64/include/asm/iommu

[PATCH 7/9] ia64/sn2: remove no-ops dma sync methods

2018-09-20 Thread Christoph Hellwig
These do nothing but duplicating an assert that would have triggered earlier on setting the dma mask, so remove them. Signed-off-by: Christoph Hellwig --- arch/ia64/sn/pci/pci_dma.c | 29 - 1 file changed, 29 deletions(-) diff --git a/arch/ia64/sn/pci/pci_dma.c b/arc

misc ia64 cleanups (resend)

2018-09-20 Thread Christoph Hellwig
A couple random cleanups I stumbled upon when doing dma related work.

Re: [PATCH] firmware: Always initialize the fw_priv list object

2018-09-20 Thread Bjorn Andersson
On Wed 19 Sep 22:22 PDT 2018, Greg Kroah-Hartman wrote: > On Wed, Sep 19, 2018 at 06:09:38PM -0700, Bjorn Andersson wrote: > > When freeing the fw_priv the item is taken off the list. This causes an > > oops in the FW_OPT_NOCACHE case as the list object is not initialized. > > > > Make sure to in

Re: [PATCH] Driver core: add bus_find_device_by_of_node

2018-09-20 Thread Rafael J. Wysocki
On Thu, Sep 20, 2018 at 7:43 AM Silesh C V wrote: > > Similar to bus_find_device_by_name, but finds the device having a > specific of_node. First, what do you need it for? Please describe your use case in the changelog. Second, what about a more generic bus_find_device_by_fwnode() ? Thanks, Ra

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-20 Thread Dominique Martinet
Greg Kroah-Hartman wrote on Thu, Sep 20, 2018: > "Fixes:" is not just for stable, we use it wherever we have a patch that > we know fixes a problem introduced in another patch. > > For this instance, I think we should just revert the offending patch, > which should resolve the issue for everyone a

Re: [PATCH] firmware: Always initialize the fw_priv list object

2018-09-20 Thread Rafael J. Wysocki
On Thu, Sep 20, 2018 at 3:07 AM Bjorn Andersson wrote: > > When freeing the fw_priv the item is taken off the list. This causes an > oops in the FW_OPT_NOCACHE case as the list object is not initialized. > > Make sure to initialize the list object regardless of this flag. > > Fixes: 422b3db2a503 (

Re: [PATCH v2 1/3] video: ssd1307fb: Use gpiod_set_value_cansleep() for reset

2018-09-20 Thread Michal Vokáč
On 19.9.2018 15:17, Michal Vokáč wrote: The reset signal can be produced by GPIO expander that can sleep. In that case the probe function fails. Allow using GPIO expanders for the reset signal by using the non-atomic gpiod_set_value_cansleep() function. Signed-off-by: Michal Vokáč I forgot to

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-20 Thread Geert Uytterhoeven
On Thu, Sep 20, 2018 at 9:37 AM Dominique Martinet wrote: > Greg Kroah-Hartman wrote on Thu, Sep 20, 2018: > > "Fixes:" is not just for stable, we use it wherever we have a patch that > > we know fixes a problem introduced in another patch. > > > > For this instance, I think we should just revert

Re: [PATCH v4 2/2] arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT support

2018-09-20 Thread Neil Armstrong
On 20/09/2018 09:09, Jianxin Pan wrote: > Try to add basic DT support for the Amlogic's Meson-G12A S905D2 SoC, > which describe components as follows: Reserve Memory, CPU, GIC, IRQ, > Timer, UART. It's capable of booting up into the serial console. > > Signed-off-by: Jianxin Pan > Reviewed-by: Je

Re: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Uwe Kleine-König
Hello, On Thu, Sep 20, 2018 at 11:26:00PM +0800, Robin Gong wrote: > enable IDDMAEN in UCR4 to let sdma script has the chance to detect > the idle status and transfer the last tail data with the interrupt > notifying uart driver.Otherwise, the last dma done interrupt of the > tail data in rxfifo w

Re: [PATCH 2/2] x86/speculation: Provide application property based STIBP protection

2018-09-20 Thread Peter Zijlstra
On Wed, Sep 19, 2018 at 02:35:30PM -0700, Tim Chen wrote: > + if (get_dumpable(tsk->mm) != SUID_DUMP_USER) > + test_and_set_tsk_thread_flag(tsk, TIF_STIBP); > + else > + test_and_clear_tsk_thread_flag(tsk, TIF_STIBP); > +} s/test_and_//

Re: [PATCH 2/2] x86/speculation: Provide application property based STIBP protection

2018-09-20 Thread Peter Zijlstra
On Wed, Sep 19, 2018 at 02:35:30PM -0700, Tim Chen wrote: > This patch provides an application property based spectre_v2 > protection with STIBP against attack from another app from > a sibling hyper-thread. For security sensitive non-dumpable > app, STIBP will be turned on before switching to it

Re: [PATCH V2 08/12] cpufreq: mvebu: Remove OPPs using dev_pm_opp_remove()

2018-09-20 Thread Rafael J. Wysocki
On Thursday, September 20, 2018 12:20:27 AM CEST Viresh Kumar wrote: > dev_pm_opp_cpumask_remove_table() is going to change in the next commit > and will not remove dynamic OPPs automatically. They must be removed > with a call to dev_pm_opp_remove(). > > Reviewed-by: Gregory CLEMENT > Signed-off

Re: linux-next: build failure after merge of the input-current tree

2018-09-20 Thread Rafael J. Wysocki
On Wednesday, September 19, 2018 12:32:03 AM CEST Dmitry Torokhov wrote: > On Tue, Sep 18, 2018 at 3:25 PM Stephen Rothwell > wrote: > > > > Hi Dmitry, > > > > After merging the input-current tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > ERROR: "mem_sleep_curr

Re: [PATCH v6 07/16] x86/pci: Add Hygon Dhyana support to PCI and north bridge

2018-09-20 Thread Pu Wen
On 2018/9/20 1:20, Lendacky, Thomas wrote: @@ -197,12 +212,25 @@ int amd_cache_northbridges(void) u16 i = 0; struct amd_northbridge *nb; struct pci_dev *root, *misc, *link; + const struct pci_device_id *root_ids = NULL; + const struct pci_device_id *misc_ids =

[PATCH V8 0/2] clocksource: add gx6605s SOC system timer

2018-09-20 Thread Guo Ren
- Dt-bindings documentation - timer-gx6605s driver Guo Ren (2): clocksource: add gx6605s SOC system timer dt-bindings: timer: gx6605s SOC timer .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ drivers/clocksource/Kconfig| 8 ++ drivers/clocksource/

[PATCH V8 1/2] clocksource: add gx6605s SOC system timer

2018-09-20 Thread Guo Ren
Changelog: - Add License and Copyright - Use timer-of framework - Change name with upstream feedback - Use clksource_mmio framework Signed-off-by: Guo Ren --- drivers/clocksource/Kconfig | 8 ++ drivers/clocksource/Makefile| 1 + drivers/clocksource/timer-gx6605s.c | 150

[PATCH V8 2/2] dt-bindings: timer: gx6605s SOC timer

2018-09-20 Thread Guo Ren
- Dt-bindings doc for gx6605s SOC's system timer. Signed-off-by: Guo Ren Reviewed-by: Rob Herring --- .../bindings/timer/csky,gx6605s-timer.txt | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/csky,gx6605s-timer

Re: [PATCH 17/22] ACPI: implement acpi_handle_debug in terms of _dynamic_func_call

2018-09-20 Thread Rafael J. Wysocki
On Thursday, September 20, 2018 12:04:39 AM CEST Rasmus Villemoes wrote: > With coming changes on x86-64, all dynamic debug descriptors in a > translation unit must have distinct names. The macro _dynamic_func_call > takes care of that. No functional change. > > Cc: linux-a...@vger.kernel.org > Si

Re: [PATCH v2 1/2] vfio: add edid api for display (vgpu) devices.

2018-09-20 Thread Gerd Hoffmann
On Wed, Sep 19, 2018 at 01:52:19PM -0600, Alex Williamson wrote: > On Tue, 18 Sep 2018 15:38:12 +0200 > Gerd Hoffmann wrote: > > No empty commit logs please. There must be something to say about the > goal or motivation beyond the subject. > > > Signed-off-by: Gerd Hoffmann > > --- > > includ

Re: [PATCH v3] cpufreq: qcom-kryo: Fix section annotations

2018-09-20 Thread Rafael J. Wysocki
On Thursday, September 20, 2018 2:22:21 AM CEST Nathan Chancellor wrote: > There is currently a warning when building the Kryo cpufreq driver into > the kernel image: > > WARNING: vmlinux.o(.text+0x8aa424): Section mismatch in reference from > the function qcom_cpufreq_kryo_probe() to the function

Re: [PATCH 2/4] m68k: Replace NR_syscalls macro from asm/unistd.h

2018-09-20 Thread Firoz Khan
Hi Geert, On 18 September 2018 at 15:34, Geert Uytterhoeven wrote: > Hi Firoz, > > On Tue, Sep 18, 2018 at 9:16 AM Firoz Khan wrote: >> On 9 August 2018 at 13:00, Geert Uytterhoeven wrote: >> > One first comment below... >> > >> > On Thu, Aug 9, 2018 at 7:16 AM Firoz Khan wrote: >> >> NR_sysca

Re: [PATCH 6/9] x86/kvm/mmu: make space for source data caching in struct kvm_mmu

2018-09-20 Thread Vitaly Kuznetsov
Sean Christopherson writes: > On Thu, 2018-08-02 at 12:01 +0200, Vitaly Kuznetsov wrote: >> In preparation to MMU reconfiguration avoidance we need a space to >> cache source data. As this partially intersects with kvm_mmu_page_role, >> create 64bit sized union kvm_mmu_role holding both base_role

A Plea to Unfuck our Codes of Conduct

2018-09-20 Thread Joey Pabalinas
I don't usually pride myself on being a person who spends a lot of time caring about political or ethical issues (I am honestly still unsure whether this particular personality trait of mine is a flaw or not), but recent events have caused me to throw my hands up in disgust and yell profanities at

A Plea to Unfuck our Codes of Conduct

2018-09-20 Thread Joey Pabalinas
I don't usually pride myself on being a person who spends a lot of time caring about political or ethical issues (I am honestly still unsure whether this particular personality trait of mine is a flaw or not), but recent events have caused me to throw my hands up in disgust and yell profanities at

[PATCH V8 2/2] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-20 Thread Guo Ren
- Dt-bindings doc about C-SKY apb bus interrupt controller. Signed-off-by: Guo Ren --- .../interrupt-controller/csky,apb-intc.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt

[PATCH V8 1/2] irqchip: add C-SKY APB bus interrupt controller

2018-09-20 Thread Guo Ren
- irq-csky-apb-intc is a simple SOC interrupt controller which is used in a lot of C-SKY CPU SOC products. Changelog: - use "bool ret" instead of "int ret" - add support-pulse-signal in irq-csky-apb-intc.c - change name with upstream feed-back - add INTC_IFR to clear irq-pending - remove

[PATCH V8 0/2] irqchip: add C-SKY APB bus interrupt controller

2018-09-20 Thread Guo Ren
- Dt-bindings documentation - irq-csky-apb-intc driver Guo Ren (2): irqchip: add C-SKY APB bus interrupt controller dt-bindings: interrupt-controller: C-SKY APB intc .../interrupt-controller/csky,apb-intc.txt | 62 + drivers/irqchip/Kconfig| 8 +

RE: [RFC PATCH] irq/affinity: Mark the pre/post vectors as regular interrupts

2018-09-20 Thread Kashyap Desai
> This is the wrong direction as it does not allow to do initial affinity > assignement for the non-managed interrupts on allocation time. And that's > what Kashyap and Sumit are looking for. > > The trivial fix for the possible breakage when irq_default_affinity != > cpu_possible_mask is to set th

RE: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Robin Gong
> -Original Message- > From: Uwe Kleine-König > Sent: 2018年9月20日 15:55 > To: Robin Gong > Cc: jsl...@suse.com; Andy Duan ; > linux-ser...@vger.kernel.org; linux-kernel@vger.kernel.org; dl-linux-imx > ; ker...@pengutronix.de > Subject: Re: [PATCH v1] tty: serial: imx: enable IDDMAEN for

Re: [PATCH v6 1/2] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-20 Thread Jonathan Cameron
On Wed, 19 Sep 2018 18:58:37 + Sasha Levin wrote: > Hi, > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v4.18.8, v4.

Re: [PATCH 1/2] libata: add ledtrig support

2018-09-20 Thread Daniel Golle
Hi! On Thu, Sep 20, 2018 at 09:23:54AM +0200, Pavel Machek wrote: > Hi! > > > +#ifdef CONFIG_ATA_LEDS > > + /* register LED triggers for all ports */ > > + for (i = 0; i < host->n_ports; i++) { > > + if (unlikely(!host->ports[i]->ledtrig)) > > + continue; > > + > >

Re: [GIT PULL] sound fixes for 4.19-rc3

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 09:26:43AM +0200, Takashi Iwai wrote: > Greg, > > please pull sound fixes for v4.19-rc5 from: > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-4.19-rc5 > > The topmost commit is 196f4eeeb78f53e0a598db8f9408b6f8b270c355 Now pulled, thanks.

Re: [LKP] [x86/pci] 7ffb31888c: PANIC:early_exception

2018-09-20 Thread Pu Wen
On 2018/9/20 8:26, Rong Chen wrote: On 09/19/2018 09:53 PM, Pu Wen wrote: I cannot reproduce this panic on Hygon Dhyana platform. I tired lkp-tests both in Ubuntu 16.04 (with gcc-5) and Ubuntu 18.04 (with gcc-7). What kind of host do you use to run the qemu? A Intel one or AMD one? It's a Intel

Re: [PATCH 01/22] linux/device.h: use DYNAMIC_DEBUG_BRANCH in dev_dbg_ratelimited

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 12:04:23AM +0200, Rasmus Villemoes wrote: > dev_dbg_ratelimited tests the dynamic debug descriptor the old-fashioned > way, and doesn't utilize the static key/jump label implementation on > architectures that HAVE_JUMP_LABEL. Use the DYNAMIC_DEBUG_BRANCH which > is defined a

Re: [PATCH 02/22] linux/device.h: use unique identifier for each struct _ddebug

2018-09-20 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 12:04:24AM +0200, Rasmus Villemoes wrote: > Changes on x86-64 later in this series require that all struct _ddebug > descriptors in a translation unit uses distinct identifiers. Realize > that for dev_dbg_ratelimited by generating such an identifier via > __UNIQUE_ID and pas

Re: [PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-20 Thread Leonard Crestez
On Thu, 2018-09-20 at 08:45 +0200, Jiri Slaby wrote: > On 09/20/2018, 03:58 AM, YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > > > drivers/tty/serial/imx.c: In function 'imx_uart_probe': > > drivers/tty/serial/imx.c:2198:20: warning: > > variable 'rtsirq' set but not use

[PATCH v4 1/2] dt-bindings: nand: meson: add Amlogic NAND controller driver

2018-09-20 Thread Jianxin Pan
From: Liang Yang Add Amlogic NAND controller dt-bindings for Meson SoC, Current this driver support GXBB/GXL/AXG platform. Signed-off-by: Liang Yang Signed-off-by: Yixun Lan --- .../devicetree/bindings/mtd/amlogic,meson-nand.txt | 60 ++ 1 file changed, 60 insertions(+) c

[PATCH v4 0/2] mtd: rawnand: meson: add Amlogic NAND driver support

2018-09-20 Thread Jianxin Pan
These two patches try to add initial NAND driver support for Amlogic Meson SoCs, current it has been tested on GXL(p212) and AXG(s400) platform. Changes since v3 at [4]: - remove partition table and some used props from dt-bindings Changes since v2 at [3]: - remove some hardcode time value,

[PATCH v4 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-09-20 Thread Jianxin Pan
From: Liang Yang Add initial support for the Amlogic NAND flash controller which found in the Meson-GXBB/GXL/AXG SoCs. Signed-off-by: Liang Yang Signed-off-by: Yixun Lan Signed-off-by: Jianxin Pan --- drivers/mtd/nand/raw/Kconfig | 10 + drivers/mtd/nand/raw/Makefile |1 + dri

Re: [PATCH v4 2/2] arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT support

2018-09-20 Thread Jianxin Pan
On 9/20/2018 3:54 PM, Neil Armstrong wrote: > On 20/09/2018 09:09, Jianxin Pan wrote: >> Try to add basic DT support for the Amlogic's Meson-G12A S905D2 SoC, >> which describe components as follows: Reserve Memory, CPU, GIC, IRQ, >> Timer, UART. It's capable of booting up into the serial console. >

Re: [PATCH] PCI: remove unnecessary check of device_type == pci

2018-09-20 Thread Will Deacon
On Wed, Sep 19, 2018 at 05:33:01PM +0100, Lorenzo Pieralisi wrote: > On Tue, Sep 18, 2018 at 12:05:40PM -0700, Rob Herring wrote: > > On Thu, Sep 13, 2018 at 7:51 AM Lorenzo Pieralisi > > wrote: > > > > > > On Wed, Aug 29, 2018 at 01:34:40PM -0500, Rob Herring wrote: > > > > PCI host drivers have

Re: [PATCH v5 02/12] dt-bindings: pci: add DT docs for Brcmstb PCIe device

2018-09-20 Thread Jonas Gorski
On 19 September 2018 at 16:31, Jim Quinlan wrote: > The DT bindings description of the Brcmstb PCIe device is described. > This node can be used by almost all Broadcom settop box chips, using > ARM, ARM64, or MIPS CPU architectures. Oh, hey, *one* email made it finally through :P > > Signed-off-

Re: [RESEND PATCH 1/2] mtd: spi-nor: add macros related to MICRON flash

2018-09-20 Thread Tudor Ambarus
>>> diff --git a/drivers/mtd/spi-nor/spi-nor.c >>> @@ -271,6 +271,7 @@ static inline int set_4byte(struct spi_nor *nor, const >> struct flash_info *info, >>> u8 cmd; >>> >>> switch (JEDEC_MFR(info)) { >>> + case SNOR_MFR_ST: >> >> We should mark switch cases where we are expecting to fa

[PATCH] mm: Recheck page table entry with page table lock held

2018-09-20 Thread Aneesh Kumar K.V
We clear the pte temporarily during read/modify/write update of the pte. If we take a page fault while the pte is cleared, the application can get SIGBUS. One such case is with remap_pfn_range without a backing vm_ops->fault callback. do_fault will return SIGBUS in that case. Fix this by taking pa

Re: [PATCH 2/4] m68k: Replace NR_syscalls macro from asm/unistd.h

2018-09-20 Thread Geert Uytterhoeven
Hi Firoz, On Thu, Sep 20, 2018 at 10:12 AM Firoz Khan wrote: > On 18 September 2018 at 15:34, Geert Uytterhoeven > wrote: > > On Tue, Sep 18, 2018 at 9:16 AM Firoz Khan wrote: > >> On 9 August 2018 at 13:00, Geert Uytterhoeven wrote: > >> > One first comment below... > >> > > >> > On Thu, Aug

Re: Code of Conduct: Let's revamp it.

2018-09-20 Thread unconditionedwitness
Regarding those who are ejected from the Linux Kernel Community after this CoC: Contributors can, at any time, rescind the license grant regarding their property via written notice to those whom they are rescinding the grant from (regarding their property (code)). The GPL version 2 lacks a n

Re: [PATCH/RFC v4 1/2] reset: Add support for dedicated reset controls

2018-09-20 Thread Philipp Zabel
Hi Geert, On Wed, 2018-09-19 at 17:24 +0200, Geert Uytterhoeven wrote: > On Wed, Sep 19, 2018 at 4:58 PM Philipp Zabel wrote: [...] > > I consider requesting exclusive access to a shared reset line a misuse > > of the API. Are there such cases? Can they be fixed? > > I guess there are plenty. I

Re: A Plea to Unfuck our Codes of Conduct

2018-09-20 Thread unconditionedwitness
Regarding those who are ejected from the Linux Kernel Community after this CoC: Contributors can, at any time, rescind the license grant regarding their property via written notice to those whom they are rescinding the grant from (regarding their property (code)) . The GPL version 2 lacks a

Re: [PATCH v3 1/2] x86/mm: Add an option to change the padding used for the physical memory mapping

2018-09-20 Thread Thomas Gleixner
On Wed, 19 Sep 2018, Masayoshi Mizuma wrote: > On Wed, Sep 19, 2018 at 02:48:06PM +0200, Ingo Molnar wrote: > > - Add checking code to the later SRAT case to at least _detect_ bad > > padding after the fact. > > > > We don't utilize RAM with bad padding until that, right? > > I have an idea a

[RFC PATCH v2 2/4] firmware: xilinx: Add macros and API for SD tap delays

2018-09-20 Thread Manish Narani
Add ZynqMP firmware SD tap delay macros and API for setting tap values. Signed-off-by: Manish Narani --- include/linux/firmware/xlnx-zynqmp.h | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/fi

Re: Code of Conduct: Let's revamp it.

2018-09-20 Thread unconditionedwitness
Code of Conduct: Those Ejected should rescind their license grant. The grant is not supported by consideration. It dispenses only largess, and asks for no recompense. It is a bare license. Thus it can be revoked by the grantor at any time. His act of grace bestowed, and his act of propriety can

[RFC PATCH v2 3/4] sdhci: arasan: Add support to read and set tap delays from DT for ZynqMP

2018-09-20 Thread Manish Narani
Apart from taps set by auto tuning, ZynqMP platform has feature to set the tap values manually. Add support to read tap delay values from DT and set the same in HW via ZynqMP SoC framework. Reading Tap Delays from DT is optional, if the property is not available in DT the driver will use the pre-de

[RFC PATCH v2 4/4] arm64: zynqmp: Add 'xlnx,mio-bank' property in SDHCI node

2018-09-20 Thread Manish Narani
Add a required property indicating the MIO Bank number for SDHCI controller in ZynqMP. Signed-off-by: Manish Narani --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi in

Re: [PATCH] netfilter: nf_tables: add SECMARK support

2018-09-20 Thread Pablo Neira Ayuso
On Thu, Sep 20, 2018 at 10:50:48AM +0200, Florian Westphal wrote: > Casey Schaufler wrote: > > On 9/19/2018 4:14 PM, Christian Göttsche wrote: > > > Add the ability to set the security context of packets within the > > > nf_tables framework. > > > Add a nft_object for holding security contexts in

[RFC PATCH v2 1/4] dt: bindings: Add SD tap value properties details for 'xlnx,zynqmp-8.9a'

2018-09-20 Thread Manish Narani
Add documentation for MIO bank required property and Tap Delays optional properties in devicetree bindings. Signed-off-by: Manish Narani --- .../devicetree/bindings/mmc/arasan,sdhci.txt | 19 +++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bin

[RFC PATCH v2 0/4] Add support for SD Tap Delay setting for ZynqMP

2018-09-20 Thread Manish Narani
This series of patches are created On top of the below series of patches. 1. https://lkml.org/lkml/2018/8/3/687 2. https://lkml.org/lkml/2018/9/18/1034 As the ZynqMP Firmware Driver is not yet merged, sending RFC to make modifications before sending the final patches. Changes in v2: - s/_/-/ in

Re: [PATCH] power: supply: bq27xxx: Add support for BQ27411

2018-09-20 Thread Sebastian Reichel
Hi, On Mon, Sep 17, 2018 at 03:37:18PM -0500, Andrew F. Davis wrote: > On 09/16/2018 06:35 AM, Sebastian Reichel wrote: > > Hi, > > > > On Sun, Jul 22, 2018 at 09:33:56PM +0800, Liu Xiang wrote: > >> According to the datasheet, bq27411 is similar to bq27421. > >> > >> Signed-off-by: Liu Xiang >

Re: [LKP] [x86/pci] 7ffb31888c: PANIC:early_exception

2018-09-20 Thread Thomas Gleixner
On Thu, 20 Sep 2018, Pu Wen wrote: > On 2018/9/20 8:26, Rong Chen wrote: > > On 09/19/2018 09:53 PM, Pu Wen wrote: > > > I cannot reproduce this panic on Hygon Dhyana platform. I tired lkp-tests > > > both in Ubuntu 16.04 (with gcc-5) and Ubuntu 18.04 (with gcc-7). > > > What kind of host do you us

Re: [PATCH v1] tty: serial: imx: enable IDDMAEN for the last tail data

2018-09-20 Thread Lucas Stach
Am Donnerstag, den 20.09.2018, 08:39 + schrieb Robin Gong: > > -Original Message- > > From: Uwe Kleine-König > > Sent: 2018年9月20日 15:55 > > To: Robin Gong > > Cc: jsl...@suse.com; Andy Duan ; > > linux-ser...@vger.kernel.org; linux-kernel@vger.kernel.org; dl- > > linux-imx > > ; ker..

RE: [PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-20 Thread Andy Duan
From: Leonard Crestez Sent: 2018年9月20日 16:51 > On Thu, 2018-09-20 at 08:45 +0200, Jiri Slaby wrote: > > On 09/20/2018, 03:58 AM, YueHaibing wrote: > > > Fixes gcc '-Wunused-but-set-variable' warning: > > > > > > drivers/tty/serial/imx.c: In function 'imx_uart_probe': > > > drivers/tty/serial/imx.c:

Re: [PATCH v2 2/3] drivers/irqchip: Add Actions external interrupts support

2018-09-20 Thread Parthiban Nallathambi
Hello Marc, Ping on this patch for feedback. On 08/26/2018 05:20 PM, Parthiban Nallathambi wrote: Hello Marc, Thanks for your feedback. On 8/13/18 1:46 PM, Marc Zyngier wrote: On 12/08/18 13:22, Parthiban Nallathambi wrote: Actions Semi Owl family SoC's S500, S700 and S900 provides support

Re: [PATCH] power: reset: qcom-pon: Add pms405 pon support

2018-09-20 Thread Sebastian Reichel
Hi, On Wed, Sep 19, 2018 at 06:50:44PM -0700, Bjorn Andersson wrote: > From: Vinod Koul > > Update the binding and driver for pms405 pon. > > Signed-off-by: Vinod Koul > Signed-off-by: Bjorn Andersson > --- Thanks, queued. -- Sebastian > Documentation/devicetree/bindings/power/reset/qcom,

Re: [PATCH 1/2] libata: add ledtrig support

2018-09-20 Thread Aditya Prayoga
Hi Andrew, thank you for your feedback. It seem i also need to resolve the issue reported by kbuild test robot. Aditya

[PATCH v1 0/3] update Mediatek MT2712 clock

2018-09-20 Thread Weiyi Lu
This series is based on v4.19-rc1. Basically, it's for the 3rd ECO design change of MT2712. And also add support for switching pll reference source for some MT2712 projects.

[PATCH v1 3/3] clk: mediatek: mt2712: add pll reference support

2018-09-20 Thread Weiyi Lu
For some MT2712 projects, audpll could select another reference clock source if there exists an extra Crystal Oscillators than the default clk26m XTAL. Declare with the property "mediatek,refclk-aud" to switch the audpll reference clock. And also support to modify the reference clock of all PLL wit

[PATCH v1 0/3] update Mediatek MT2712 clock

2018-09-20 Thread Weiyi Lu
This series is based on v4.19-rc1. Basically, it's for the 3rd ECO design change of MT2712. And also add support for switching pll reference source for some MT2712 projects. *** BLURB HERE *** Weiyi Lu (3): dt-bindings: clock: add clock for MT2712 clk: mediatek: update clock driver of MT2712

[PATCH v1 1/3] dt-bindings: clock: add clock for MT2712

2018-09-20 Thread Weiyi Lu
Add new clock according to 3rd ECO design change. It's the parent clock of audio clock mux. Signed-off-by: Weiyi Lu --- include/dt-bindings/clock/mt2712-clk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/mt2712-clk.h b/include/dt-bindings/clock

[PATCH v1 2/3] clk: mediatek: update clock driver of MT2712

2018-09-20 Thread Weiyi Lu
According to 3rd ECO design change, 1. Add new fixed factor clock of audio. 2. Add the parent clocks for audio clock mux. Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/clk-mt2712.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/clk/mediatek/clk-mt2712.c b

[PATCH] RDMA/cxgb4: remove redundant null pointer check before kfree_skb

2018-09-20 Thread zhong jiang
kfree_skb has taken the null pointer into account. hence it is safe to remove the redundant null pointer check before kfree_skb. Signed-off-by: zhong jiang --- drivers/infiniband/hw/cxgb4/cm.c | 3 +-- drivers/infiniband/hw/cxgb4/qp.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) di

[PATCH v7 2/5] clk: imx: add fractional PLL output clock

2018-09-20 Thread Abel Vesa
From: Lucas Stach This is a new clock type introduced on i.MX8. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa --- drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-frac-pll.c | 230 + drivers/clk/imx/clk.h | 3 + 3 files chang

[PATCH v7 1/5] dt-bindings: add binding for i.MX8MQ CCM

2018-09-20 Thread Abel Vesa
From: Lucas Stach This adds the binding for the i.MX8MQ Clock Controller Module. Signed-off-by: Lucas Stach Signed-off-by: Abel Vesa Reviewed-by: Rob Herring --- .../devicetree/bindings/clock/imx8mq-clock.txt | 20 ++ include/dt-bindings/clock/imx8mq-clock.h | 395

  1   2   3   4   5   6   7   >