[PATCH v13 09/12] KVM: x86: Introduce a function to initialize the PT configuration

2018-10-24 Thread Luwei Kang
Initialize the Intel PT configuration when cpuid update. Include cpuid inforamtion, rtit_ctl bit mask and the number of address ranges. Signed-off-by: Luwei Kang --- arch/x86/kvm/vmx.c | 73 ++ 1 file changed, 73 insertions(+) diff --git

[PATCH v13 11/12] KVM: x86: Set intercept for Intel PT MSRs read/write

2018-10-24 Thread Luwei Kang
From: Chao Peng To save performance overhead, disable intercept Intel PT MSRs read/write when Intel PT is enabled in guest. MSR_IA32_RTIT_CTL is an exception that will always be intercepted. Signed-off-by: Chao Peng Signed-off-by: Luwei Kang --- arch/x86/kvm/vmx.c | 23

[PATCH v13 10/12] KVM: x86: Implement Intel PT MSRs read/write emulation

2018-10-24 Thread Luwei Kang
From: Chao Peng This patch implement Intel Processor Trace MSRs read/write emulation. Intel PT MSRs read/write need to be emulated when Intel PT MSRs is intercepted in guest and during live migration. Signed-off-by: Chao Peng Signed-off-by: Luwei Kang --- arch/x86/include/asm/intel_pt.h |

[PATCH v13 07/12] KVM: x86: Add Intel Processor Trace cpuid emulation

2018-10-24 Thread Luwei Kang
From: Chao Peng Expose Intel Processor Trace to guest only when the PT works in Host-Guest mode. Signed-off-by: Chao Peng Signed-off-by: Luwei Kang --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/cpuid.c| 22 -- arch/x86/kvm/svm.c | 6

[PATCH v13 09/12] KVM: x86: Introduce a function to initialize the PT configuration

2018-10-24 Thread Luwei Kang
Initialize the Intel PT configuration when cpuid update. Include cpuid inforamtion, rtit_ctl bit mask and the number of address ranges. Signed-off-by: Luwei Kang --- arch/x86/kvm/vmx.c | 73 ++ 1 file changed, 73 insertions(+) diff --git

[PATCH v13 11/12] KVM: x86: Set intercept for Intel PT MSRs read/write

2018-10-24 Thread Luwei Kang
From: Chao Peng To save performance overhead, disable intercept Intel PT MSRs read/write when Intel PT is enabled in guest. MSR_IA32_RTIT_CTL is an exception that will always be intercepted. Signed-off-by: Chao Peng Signed-off-by: Luwei Kang --- arch/x86/kvm/vmx.c | 23

[PATCH v13 10/12] KVM: x86: Implement Intel PT MSRs read/write emulation

2018-10-24 Thread Luwei Kang
From: Chao Peng This patch implement Intel Processor Trace MSRs read/write emulation. Intel PT MSRs read/write need to be emulated when Intel PT MSRs is intercepted in guest and during live migration. Signed-off-by: Chao Peng Signed-off-by: Luwei Kang --- arch/x86/include/asm/intel_pt.h |

[PATCH v13 07/12] KVM: x86: Add Intel Processor Trace cpuid emulation

2018-10-24 Thread Luwei Kang
From: Chao Peng Expose Intel Processor Trace to guest only when the PT works in Host-Guest mode. Signed-off-by: Chao Peng Signed-off-by: Luwei Kang --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/cpuid.c| 22 -- arch/x86/kvm/svm.c | 6

[PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-24 Thread Luwei Kang
From: Chao Peng Intel Processor Trace virtualization can be work in one of 2 possible modes: a. System-Wide mode (default): When the host configures Intel PT to collect trace packets of the entire system, it can leave the relevant VMX controls clear to allow VMX-specific packets to

[PATCH v13 12/12] KVM: x86: Disable Intel PT when VMXON in L1 guest

2018-10-24 Thread Luwei Kang
Currently, Intel Processor Trace do not support tracing in L1 guest VMX operation(IA32_VMX_MISC[bit 14] is 0). As mentioned in SDM, on these type of processors, execution of the VMXON instruction will clears IA32_RTIT_CTL.TraceEn and any attempt to write IA32_RTIT_CTL causes a general-protection

[PATCH v13 08/12] KVM: x86: Add Intel PT context switch for each vcpu

2018-10-24 Thread Luwei Kang
From: Chao Peng Load/Store Intel Processor Trace register in context switch. MSR IA32_RTIT_CTL is loaded/stored automatically from VMCS. In Host-Guest mode, we need load/resore PT MSRs only when PT is enabled in guest. Signed-off-by: Chao Peng Signed-off-by: Luwei Kang ---

[PATCH v13 12/12] KVM: x86: Disable Intel PT when VMXON in L1 guest

2018-10-24 Thread Luwei Kang
Currently, Intel Processor Trace do not support tracing in L1 guest VMX operation(IA32_VMX_MISC[bit 14] is 0). As mentioned in SDM, on these type of processors, execution of the VMXON instruction will clears IA32_RTIT_CTL.TraceEn and any attempt to write IA32_RTIT_CTL causes a general-protection

[PATCH v13 08/12] KVM: x86: Add Intel PT context switch for each vcpu

2018-10-24 Thread Luwei Kang
From: Chao Peng Load/Store Intel Processor Trace register in context switch. MSR IA32_RTIT_CTL is loaded/stored automatically from VMCS. In Host-Guest mode, we need load/resore PT MSRs only when PT is enabled in guest. Signed-off-by: Chao Peng Signed-off-by: Luwei Kang ---

[PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-24 Thread Luwei Kang
From: Chao Peng Intel Processor Trace virtualization can be work in one of 2 possible modes: a. System-Wide mode (default): When the host configures Intel PT to collect trace packets of the entire system, it can leave the relevant VMX controls clear to allow VMX-specific packets to

[PATCH v13 04/12] perf/x86/intel/pt: Add new bit definitions for PT MSRs

2018-10-24 Thread Luwei Kang
Add bit definitions for Intel PT MSRs to support trace output directed to the memeory subsystem and holds a count if packet bytes that have been sent out. These are required by the upcoming PT support in KVM guests for MSRs read/write emulation. Signed-off-by: Luwei Kang ---

[PATCH v13 03/12] perf/x86/intel/pt: Introduce intel_pt_validate_cap()

2018-10-24 Thread Luwei Kang
intel_pt_validate_hw_cap() validates whether a given PT capability is supported by the hardware. It checks the PT capability array which reflects the capabilities of the hardware on which the code is executed. For setting up PT for KVM guests this is not correct as the capability array for the

[PATCH v13 01/12] perf/x86/intel/pt: Move Intel PT MSRs bit defines to global header

2018-10-24 Thread Luwei Kang
From: Chao Peng The Intel Processor Trace (PT) MSR bit defines are in a private header. The upcoming support for PT virtualization requires these defines to be accessible from KVM code. Move them to the global MSR header file. Reviewed-by: Thomas Gleixner Signed-off-by: Chao Peng

[PATCH v13 05/12] perf/x86/intel/pt: add new capability for Intel PT

2018-10-24 Thread Luwei Kang
This adds support for "output to Trace Transport subsystem" capability of Intel PT. It means that PT can output its trace to an MMIO address range rather than system memory buffer. Acked-by: Song Liu Signed-off-by: Luwei Kang --- arch/x86/events/intel/pt.c | 1 +

[PATCH v13 05/12] perf/x86/intel/pt: add new capability for Intel PT

2018-10-24 Thread Luwei Kang
This adds support for "output to Trace Transport subsystem" capability of Intel PT. It means that PT can output its trace to an MMIO address range rather than system memory buffer. Acked-by: Song Liu Signed-off-by: Luwei Kang --- arch/x86/events/intel/pt.c | 1 +

[PATCH v13 04/12] perf/x86/intel/pt: Add new bit definitions for PT MSRs

2018-10-24 Thread Luwei Kang
Add bit definitions for Intel PT MSRs to support trace output directed to the memeory subsystem and holds a count if packet bytes that have been sent out. These are required by the upcoming PT support in KVM guests for MSRs read/write emulation. Signed-off-by: Luwei Kang ---

[PATCH v13 03/12] perf/x86/intel/pt: Introduce intel_pt_validate_cap()

2018-10-24 Thread Luwei Kang
intel_pt_validate_hw_cap() validates whether a given PT capability is supported by the hardware. It checks the PT capability array which reflects the capabilities of the hardware on which the code is executed. For setting up PT for KVM guests this is not correct as the capability array for the

[PATCH v13 01/12] perf/x86/intel/pt: Move Intel PT MSRs bit defines to global header

2018-10-24 Thread Luwei Kang
From: Chao Peng The Intel Processor Trace (PT) MSR bit defines are in a private header. The upcoming support for PT virtualization requires these defines to be accessible from KVM code. Move them to the global MSR header file. Reviewed-by: Thomas Gleixner Signed-off-by: Chao Peng

[PATCH v13 02/12] perf/x86/intel/pt: Export pt_cap_get()

2018-10-24 Thread Luwei Kang
From: Chao Peng pt_cap_get() is required by the upcoming PT support in KVM guests. Export it and move the capabilites enum to a global header. As a global functions, "pt_*" is already used for ptrace and other things, so it makes sense to use "intel_pt_*" as a prefix. Acked-by: Song Liu

[PATCH v13 02/12] perf/x86/intel/pt: Export pt_cap_get()

2018-10-24 Thread Luwei Kang
From: Chao Peng pt_cap_get() is required by the upcoming PT support in KVM guests. Export it and move the capabilites enum to a global header. As a global functions, "pt_*" is already used for ptrace and other things, so it makes sense to use "intel_pt_*" as a prefix. Acked-by: Song Liu

[PATCH v13 00/12] Intel Processor Trace virtualization enabling

2018-10-24 Thread Luwei Kang
>From V12 - Refine the title and description of patch 1~3. -- Thomas Gleixner - Rename the function of validate the capabilities of Intel PT. -- Thomas Gleixner - Add more description of Intel PT work mode. -- Alexander Shishkin >From V11: - In patch 3, arguments caps vs. cap is not good.

[PATCH v13 00/12] Intel Processor Trace virtualization enabling

2018-10-24 Thread Luwei Kang
>From V12 - Refine the title and description of patch 1~3. -- Thomas Gleixner - Rename the function of validate the capabilities of Intel PT. -- Thomas Gleixner - Add more description of Intel PT work mode. -- Alexander Shishkin >From V11: - In patch 3, arguments caps vs. cap is not good.

[PATCH] mmc: sdhci: Convert sdhci_allocate_bounce_buffer() to return void

2018-10-24 Thread Chunyan Zhang
The function sdhci_allocate_bounce_buffer() always return zero at present, so there's no need to have a return value, that will also make error path easier. CC: Linus Walleij Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci.c | 15 +-- 1 file changed, 5 insertions(+), 10

[PATCH] mmc: sdhci: Convert sdhci_allocate_bounce_buffer() to return void

2018-10-24 Thread Chunyan Zhang
The function sdhci_allocate_bounce_buffer() always return zero at present, so there's no need to have a return value, that will also make error path easier. CC: Linus Walleij Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci.c | 15 +-- 1 file changed, 5 insertions(+), 10

[PATCH V2 4/5] spi: lpspi: enable runtime pm for lpspi

2018-10-24 Thread Clark Wang
Enable the runtime pm for lpspi module BuildInfo: - U-Boot 2018.03-imx_4.14.y Signed-off-by: Han Xu Reviewed-by: Frank Li Signed-off-by: Xiaoning Wang --- V2: - Add pinctrl/consumer.h include to fix the Warning error: implicit declaration of function

[PATCH V2 4/5] spi: lpspi: enable runtime pm for lpspi

2018-10-24 Thread Clark Wang
Enable the runtime pm for lpspi module BuildInfo: - U-Boot 2018.03-imx_4.14.y Signed-off-by: Han Xu Reviewed-by: Frank Li Signed-off-by: Xiaoning Wang --- V2: - Add pinctrl/consumer.h include to fix the Warning error: implicit declaration of function

[PATCH V2 3/5] spi: lpspi: Add 8qm/qxp support for lpspi

2018-10-24 Thread Clark Wang
Add both ipg and per clock for lpspi to support i.MX8QM/QXP boards. Signed-off-by: Xiaoning Wang --- V2: - No changes. --- drivers/spi/spi-fsl-lpspi.c | 52 + 1 file changed, 41 insertions(+), 11 deletions(-) diff --git a/drivers/spi/spi-fsl-lpspi.c

[PATCH V2 5/5] spi: lpspi: CLK pin becomes low when CR_RST=1

2018-10-24 Thread Clark Wang
Remove Reset operation in fsl_lpspi_config(). This RST may cause both CLK and CS pins go from high to low level under cs-gpio mode. Add fsl_lpspi_reset() function after one message transfer to clear all flags in use. Signed-off-by: Xiaoning Wang Reviewed-by: Fugang Duan --- V2: - Wrong place

[PATCH V2 3/5] spi: lpspi: Add 8qm/qxp support for lpspi

2018-10-24 Thread Clark Wang
Add both ipg and per clock for lpspi to support i.MX8QM/QXP boards. Signed-off-by: Xiaoning Wang --- V2: - No changes. --- drivers/spi/spi-fsl-lpspi.c | 52 + 1 file changed, 41 insertions(+), 11 deletions(-) diff --git a/drivers/spi/spi-fsl-lpspi.c

[PATCH V2 5/5] spi: lpspi: CLK pin becomes low when CR_RST=1

2018-10-24 Thread Clark Wang
Remove Reset operation in fsl_lpspi_config(). This RST may cause both CLK and CS pins go from high to low level under cs-gpio mode. Add fsl_lpspi_reset() function after one message transfer to clear all flags in use. Signed-off-by: Xiaoning Wang Reviewed-by: Fugang Duan --- V2: - Wrong place

[PATCH V2 2/5] spi: lpspi: Improve the stability of lpspi data transmission

2018-10-24 Thread Clark Wang
Use SR_TDF to judge if need send data, and SR_FCF to judge if transmission end to replace the waiting after transmission end. This waiting has no actual meaning, for the real end will set the FCF flag. Resolved an issue that could cause a transmission timeout when transferring large amounts of

[PATCH V2 2/5] spi: lpspi: Improve the stability of lpspi data transmission

2018-10-24 Thread Clark Wang
Use SR_TDF to judge if need send data, and SR_FCF to judge if transmission end to replace the waiting after transmission end. This waiting has no actual meaning, for the real end will set the FCF flag. Resolved an issue that could cause a transmission timeout when transferring large amounts of

[PATCH V2 1/5] spi: lpspi: Add slave mode support for imx7ulp

2018-10-24 Thread Clark Wang
Add SPI slave mode support for imx7ulp, in PIO mode. Add "spi-slave" attribute in spi node of dts file to boot. For now, slave has to send the message which is same as the length of message master sent. Wire connection: GND, SCK, MISO(to MISO of slave), MOSI(to MOSI of slave), SCS

Re: [PATCH v3 4/7] ata: ahci_sunxi: use xxxsetbitsi_le32 functions

2018-10-24 Thread Sergei Shtylyov
Hello! Typo in the subject: s/xxxsetbitsi/xxxsetbits/. On 24.10.2018 10:35, Corentin Labbe wrote: This patch converts ahci_sunxi to use xxxsetbits_le32 functions Signed-off-by: Corentin Labbe [...] MBR, Sergei

[PATCH V2 1/5] spi: lpspi: Add slave mode support for imx7ulp

2018-10-24 Thread Clark Wang
Add SPI slave mode support for imx7ulp, in PIO mode. Add "spi-slave" attribute in spi node of dts file to boot. For now, slave has to send the message which is same as the length of message master sent. Wire connection: GND, SCK, MISO(to MISO of slave), MOSI(to MOSI of slave), SCS

Re: [PATCH v3 4/7] ata: ahci_sunxi: use xxxsetbitsi_le32 functions

2018-10-24 Thread Sergei Shtylyov
Hello! Typo in the subject: s/xxxsetbitsi/xxxsetbits/. On 24.10.2018 10:35, Corentin Labbe wrote: This patch converts ahci_sunxi to use xxxsetbits_le32 functions Signed-off-by: Corentin Labbe [...] MBR, Sergei

Re: [RFC][PATCH v2 04/10] ext2: use common file type conversion

2018-10-24 Thread Amir Goldstein
On Wed, Oct 24, 2018 at 9:50 AM Amir Goldstein wrote: > > On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > > > Deduplicate the ext2 file type conversion implementation. > > > > Original patch by Amir Goldstein. > > > > v2: > > - Rebased against Linux 4.19 by Phillip Potter > > - This

Re: [RFC][PATCH v2 04/10] ext2: use common file type conversion

2018-10-24 Thread Amir Goldstein
On Wed, Oct 24, 2018 at 9:50 AM Amir Goldstein wrote: > > On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > > > Deduplicate the ext2 file type conversion implementation. > > > > Original patch by Amir Goldstein. > > > > v2: > > - Rebased against Linux 4.19 by Phillip Potter > > - This

Re: [PATCH V5 1/4] kvm: remove redundant reserved page check

2018-10-24 Thread Yi Zhang
On 2018-09-08 at 02:03:28 +0800, Zhang Yi wrote: > PageReserved() is already checked inside kvm_is_reserved_pfn(), > remove it from kvm_set_pfn_dirty(). > > Signed-off-by: Zhang Yi > Signed-off-by: Zhang Yu > Reviewed-by: David Hildenbrand > Acked-by: Pankaj Gupta > --- > virt/kvm/kvm_main.c

Re: [PATCH V5 1/4] kvm: remove redundant reserved page check

2018-10-24 Thread Yi Zhang
On 2018-09-08 at 02:03:28 +0800, Zhang Yi wrote: > PageReserved() is already checked inside kvm_is_reserved_pfn(), > remove it from kvm_set_pfn_dirty(). > > Signed-off-by: Zhang Yi > Signed-off-by: Zhang Yu > Reviewed-by: David Hildenbrand > Acked-by: Pankaj Gupta > --- > virt/kvm/kvm_main.c

[PATCH v2] zynq-fpga: Only route PR via PCAP when required

2018-10-24 Thread Mike Looijmans
The Xilinx Zynq FPGA driver takes ownership of the PR interface, making it impossible to use the ICAP interface for partial reconfiguration. This patch changes the driver to only activate PR over PCAP while the device is actively being accessed by the driver for programming. This allows both

[PATCH v2] zynq-fpga: Only route PR via PCAP when required

2018-10-24 Thread Mike Looijmans
The Xilinx Zynq FPGA driver takes ownership of the PR interface, making it impossible to use the ICAP interface for partial reconfiguration. This patch changes the driver to only activate PR over PCAP while the device is actively being accessed by the driver for programming. This allows both

Re: HH DL585 warm boot fail (old)

2018-10-24 Thread Meelis Roos
Would you mind opening a report at https://bugzilla.kernel.org? I'm not sure if anybody will be able to do anything about this, but it's always possible. Submitted now, https://bugzilla.kernel.org/show_bug.cgi?id=201503 A complete dmesg log and "sudo lspci -vv" output from a successful boot

Re: HH DL585 warm boot fail (old)

2018-10-24 Thread Meelis Roos
Would you mind opening a report at https://bugzilla.kernel.org? I'm not sure if anybody will be able to do anything about this, but it's always possible. Submitted now, https://bugzilla.kernel.org/show_bug.cgi?id=201503 A complete dmesg log and "sudo lspci -vv" output from a successful boot

Re: [GIT PULL] Additional firmware files for CA0132 HD-audio codec

2018-10-24 Thread Takashi Iwai
On Wed, 10 Oct 2018 19:49:23 +0200, Connor McAdams wrote: > > The following changes since commit c6b6265d718d118e28e1ce8f91769aa886b54c94: > > Merge tag 'iwlwifi-fw-2018-10-03' of > git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware > (2018-10-08 09:23:53 -0400) > > are

Re: [GIT PULL] Additional firmware files for CA0132 HD-audio codec

2018-10-24 Thread Takashi Iwai
On Wed, 10 Oct 2018 19:49:23 +0200, Connor McAdams wrote: > > The following changes since commit c6b6265d718d118e28e1ce8f91769aa886b54c94: > > Merge tag 'iwlwifi-fw-2018-10-03' of > git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware > (2018-10-08 09:23:53 -0400) > > are

[PATCH v3 6/7] drm: meson: use xxxsetbits_le32

2018-10-24 Thread Corentin Labbe
This patch convert meson DRM driver to use all xxxsetbits_le32 functions. Signed-off-by: Corentin Labbe Reviewed-by: Neil Armstrong Tested-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_crtc.c | 14 +++--- drivers/gpu/drm/meson/meson_dw_hdmi.c | 33 +++--

[PATCH v3 6/7] drm: meson: use xxxsetbits_le32

2018-10-24 Thread Corentin Labbe
This patch convert meson DRM driver to use all xxxsetbits_le32 functions. Signed-off-by: Corentin Labbe Reviewed-by: Neil Armstrong Tested-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_crtc.c | 14 +++--- drivers/gpu/drm/meson/meson_dw_hdmi.c | 33 +++--

[PATCH v3 5/7] net: ethernet: stmmac: dwmac-sun8i: use xxxsetbits_le32

2018-10-24 Thread Corentin Labbe
This patch convert dwmac-sun8i driver to use all xxxsetbits_le32 functions. Signed-off-by: Corentin Labbe --- .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 62 +-- 1 file changed, 16 insertions(+), 46 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c

[PATCH v3 1/7] powerpc: rename setbits32/clrbits32 to setbits_be32/clrbits_be32

2018-10-24 Thread Corentin Labbe
Since setbits32/clrbits32 work on be32, it's better to remove ambiguity on the used data type. Signed-off-by: Corentin Labbe --- arch/powerpc/include/asm/fsl_lbc.h| 2 +- arch/powerpc/include/asm/io.h | 4 +- arch/powerpc/platforms/44x/canyonlands.c | 4 +-

[PATCH v3 2/7] include: add setbits_leXX/clrbits_leXX/clrsetbits_leXX in linux/setbits.h

2018-10-24 Thread Corentin Labbe
This patch adds setbits_le32/clrbits_le32/clrsetbits_le32 and setbits_le64/clrbits_le64/clrsetbits_le64 in linux/setbits.h header. Signed-off-by: Corentin Labbe --- include/linux/setbits.h | 84 + 1 file changed, 84 insertions(+) create mode 100644

[PATCH v3 5/7] net: ethernet: stmmac: dwmac-sun8i: use xxxsetbits_le32

2018-10-24 Thread Corentin Labbe
This patch convert dwmac-sun8i driver to use all xxxsetbits_le32 functions. Signed-off-by: Corentin Labbe --- .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 62 +-- 1 file changed, 16 insertions(+), 46 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c

[PATCH v3 1/7] powerpc: rename setbits32/clrbits32 to setbits_be32/clrbits_be32

2018-10-24 Thread Corentin Labbe
Since setbits32/clrbits32 work on be32, it's better to remove ambiguity on the used data type. Signed-off-by: Corentin Labbe --- arch/powerpc/include/asm/fsl_lbc.h| 2 +- arch/powerpc/include/asm/io.h | 4 +- arch/powerpc/platforms/44x/canyonlands.c | 4 +-

[PATCH v3 2/7] include: add setbits_leXX/clrbits_leXX/clrsetbits_leXX in linux/setbits.h

2018-10-24 Thread Corentin Labbe
This patch adds setbits_le32/clrbits_le32/clrsetbits_le32 and setbits_le64/clrbits_le64/clrsetbits_le64 in linux/setbits.h header. Signed-off-by: Corentin Labbe --- include/linux/setbits.h | 84 + 1 file changed, 84 insertions(+) create mode 100644

[PATCH v2 0/3] Add Bitstream configuration support for ZynqMP

2018-10-24 Thread Nava kishore Manne
This series of patches are created On top of the below repo. //git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git BRANCH: next/drivers. Nava kishore Manne (3): firmware: xilinx: Add fpga API's dt-bindings: fpga: Add bindings for ZynqMP fpga driver fpga manager: Adding FPGA Manager

Re: [PATCH v2 0/9] of: fix compatible-child-node lookups

2018-10-24 Thread Johan Hovold
On Tue, Oct 23, 2018 at 01:32:56PM -0500, Rob Herring wrote: > On Tue, Oct 23, 2018 at 4:21 AM Johan Hovold wrote: > > > > Hi Rob, > > > > On Tue, Sep 04, 2018 at 03:05:57PM +0200, Johan Hovold wrote: > > > I think Rob will be picking up any patches that remain by the end of the > > > release

[PATCH v2 1/3] firmware: xilinx: Add fpga API's

2018-10-24 Thread Nava kishore Manne
This Patch Adds fpga API's to support the Bitstream loading by using firmware interface. Signed-off-by: Nava kishore Manne --- This patch depends on the below series of patches https://lkml.org/lkml/2018/9/12/983 Which is got integrated into the below upstream repo.

[PATCH v3 0/7] include: add setbits32/clrbits32/clrsetbits32/setbits64/clrbits64/clrsetbits64

2018-10-24 Thread Corentin Labbe
Hello This patchset adds a new set of functions which are open-coded in lot of place. Basicly the pattern is always the same, "read, modify a bit, write" some driver and the powerpc arch already have thoses pattern them as functions. (like ahci_sunxi.c or dwmac-meson8b) The first patch rename

[PATCH v2 2/3] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

2018-10-24 Thread Nava kishore Manne
Add documentation to describe Xilinx ZynqMP fpga driver bindings. Signed-off-by: Nava kishore Manne --- Changes for v2: -Removed "" separators. Changes for v1: -Created a Seperate(New) DT binding file as suggested by Rob. Changes for RFC-V2:

[PATCH v2 3/3] fpga manager: Adding FPGA Manager support for Xilinx zynqmp

2018-10-24 Thread Nava kishore Manne
This patch adds FPGA Manager support for the Xilinx ZynqMP chip. Signed-off-by: Nava kishore Manne --- Changes for v2: -Fixed some minor coding issues as suggested by Moritz Changes for v1: -None. Changes for RFC-V2: -Updated the

[PATCH v2 0/3] Add Bitstream configuration support for ZynqMP

2018-10-24 Thread Nava kishore Manne
This series of patches are created On top of the below repo. //git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git BRANCH: next/drivers. Nava kishore Manne (3): firmware: xilinx: Add fpga API's dt-bindings: fpga: Add bindings for ZynqMP fpga driver fpga manager: Adding FPGA Manager

Re: [PATCH v2 0/9] of: fix compatible-child-node lookups

2018-10-24 Thread Johan Hovold
On Tue, Oct 23, 2018 at 01:32:56PM -0500, Rob Herring wrote: > On Tue, Oct 23, 2018 at 4:21 AM Johan Hovold wrote: > > > > Hi Rob, > > > > On Tue, Sep 04, 2018 at 03:05:57PM +0200, Johan Hovold wrote: > > > I think Rob will be picking up any patches that remain by the end of the > > > release

[PATCH v2 1/3] firmware: xilinx: Add fpga API's

2018-10-24 Thread Nava kishore Manne
This Patch Adds fpga API's to support the Bitstream loading by using firmware interface. Signed-off-by: Nava kishore Manne --- This patch depends on the below series of patches https://lkml.org/lkml/2018/9/12/983 Which is got integrated into the below upstream repo.

[PATCH v3 0/7] include: add setbits32/clrbits32/clrsetbits32/setbits64/clrbits64/clrsetbits64

2018-10-24 Thread Corentin Labbe
Hello This patchset adds a new set of functions which are open-coded in lot of place. Basicly the pattern is always the same, "read, modify a bit, write" some driver and the powerpc arch already have thoses pattern them as functions. (like ahci_sunxi.c or dwmac-meson8b) The first patch rename

[PATCH v2 2/3] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

2018-10-24 Thread Nava kishore Manne
Add documentation to describe Xilinx ZynqMP fpga driver bindings. Signed-off-by: Nava kishore Manne --- Changes for v2: -Removed "" separators. Changes for v1: -Created a Seperate(New) DT binding file as suggested by Rob. Changes for RFC-V2:

[PATCH v2 3/3] fpga manager: Adding FPGA Manager support for Xilinx zynqmp

2018-10-24 Thread Nava kishore Manne
This patch adds FPGA Manager support for the Xilinx ZynqMP chip. Signed-off-by: Nava kishore Manne --- Changes for v2: -Fixed some minor coding issues as suggested by Moritz Changes for v1: -None. Changes for RFC-V2: -Updated the

Re: [PATCH] thermal: add ratelimited thermal and power logging

2018-10-24 Thread Viresh Kumar
On 22-10-18, 14:29, Ross Zwisler wrote: > From: Ricky Liang > > Add thermal logs in devfreq_cooling and cpu_cooling. Why should we add them ? > Also add logging to > power_allocator when it starts to control power. > > These changes can lead to excessive log spam when running up against >

Re: [PATCH] thermal: add ratelimited thermal and power logging

2018-10-24 Thread Viresh Kumar
On 22-10-18, 14:29, Ross Zwisler wrote: > From: Ricky Liang > > Add thermal logs in devfreq_cooling and cpu_cooling. Why should we add them ? > Also add logging to > power_allocator when it starts to control power. > > These changes can lead to excessive log spam when running up against >

[PATCH] mmc: sdhci: Conver sdhci_allocate_bounce_buffer() to return void

2018-10-24 Thread Chunyan Zhang
The function sdhci_allocate_bounce_buffer() always return zero at present, so there's no need to have a return value, that will also make error path easier. CC: Linus Walleij Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci.c | 15 +-- 1 file changed, 5 insertions(+), 10

[PATCH] mmc: sdhci: Conver sdhci_allocate_bounce_buffer() to return void

2018-10-24 Thread Chunyan Zhang
The function sdhci_allocate_bounce_buffer() always return zero at present, so there's no need to have a return value, that will also make error path easier. CC: Linus Walleij Signed-off-by: Chunyan Zhang --- drivers/mmc/host/sdhci.c | 15 +-- 1 file changed, 5 insertions(+), 10

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-24 Thread Arnd Bergmann
On Thu, Oct 18, 2018 at 9:57 AM Guo Ren wrote: > > On Thu, Oct 18, 2018 at 10:34:00AM +0200, Arnd Bergmann wrote: > > On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > > > > > On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > > > > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote:

Re: [PATCH V9 21/21] csky: support dword access for get_user_size()

2018-10-24 Thread Arnd Bergmann
On Thu, Oct 18, 2018 at 9:57 AM Guo Ren wrote: > > On Thu, Oct 18, 2018 at 10:34:00AM +0200, Arnd Bergmann wrote: > > On Thu, Oct 18, 2018 at 5:41 AM Guo Ren wrote: > > > > > > On Wed, Oct 17, 2018 at 05:44:17PM +0200, Arnd Bergmann wrote: > > > > On Tue, Oct 16, 2018 at 5:33 AM Guo Ren wrote:

Re: [PATCH 4/5] spi: lpspi: enable runtime pm for lpspi

2018-10-24 Thread kbuild test robot
/0day-ci/linux/commits/Clark-Wang/spi-lpspi-Add-slave-mode-support-for-imx7ulp/20181024-125200 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: x86_64-allyesconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save

Re: [PATCH 4/5] spi: lpspi: enable runtime pm for lpspi

2018-10-24 Thread kbuild test robot
/0day-ci/linux/commits/Clark-Wang/spi-lpspi-Add-slave-mode-support-for-imx7ulp/20181024-125200 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: x86_64-allyesconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save

Re: [PATCH v4 02/14] mfd: wcd9335: add support to wcd9335 core

2018-10-24 Thread Lee Jones
On Sun, 16 Sep 2018, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, > It has mulitple blocks like Soundwire controller, codec, > Codec processing engine, ClassH controller, interrupt mux. > It supports both

Re: [PATCH v4 02/14] mfd: wcd9335: add support to wcd9335 core

2018-10-24 Thread Lee Jones
On Sun, 16 Sep 2018, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, > It has mulitple blocks like Soundwire controller, codec, > Codec processing engine, ClassH controller, interrupt mux. > It supports both

Re: [PATCH 2/5] spi: lpspi: Improve the stability of lpspi data transmission

2018-10-24 Thread kbuild test robot
/0day-ci/linux/commits/Clark-Wang/spi-lpspi-Add-slave-mode-support-for-imx7ulp/20181024-125200 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 8.1.0 reproduce: wget https

Re: [PATCH 2/5] spi: lpspi: Improve the stability of lpspi data transmission

2018-10-24 Thread kbuild test robot
/0day-ci/linux/commits/Clark-Wang/spi-lpspi-Add-slave-mode-support-for-imx7ulp/20181024-125200 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 8.1.0 reproduce: wget https

Re: [PATCH v3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-24 Thread Slawomir Stepien
On paź 24, 2018 00:34, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. Hi Nishad Few more comments from me below. > Signed-off-by: Nishad Kamdar > --- > Changes in v3: > - Use a pointer to pointer for gpio_desc in >struct

Re: [PATCH v3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-24 Thread Slawomir Stepien
On paź 24, 2018 00:34, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. Hi Nishad Few more comments from me below. > Signed-off-by: Nishad Kamdar > --- > Changes in v3: > - Use a pointer to pointer for gpio_desc in >struct

Re: [PATCH] ARM: debug: enable UART1 for socfpga Cyclone5

2018-10-24 Thread Uwe Kleine-König
On Tue, Oct 23, 2018 at 03:35:31PM -0500, Dinh Nguyen wrote: > > > On 10/23/2018 09:44 AM, Clément Péron wrote: > > HI Dinh, > > > > On Tue, 23 Oct 2018 at 16:04, Dinh Nguyen wrote: > >> > >> Hi Clément, > >> > >> On 10/09/2018 06:28 AM, Clément Péron wrote: > >>> Cyclone5 and Arria10 doesn't

Re: [PATCH] ARM: debug: enable UART1 for socfpga Cyclone5

2018-10-24 Thread Uwe Kleine-König
On Tue, Oct 23, 2018 at 03:35:31PM -0500, Dinh Nguyen wrote: > > > On 10/23/2018 09:44 AM, Clément Péron wrote: > > HI Dinh, > > > > On Tue, 23 Oct 2018 at 16:04, Dinh Nguyen wrote: > >> > >> Hi Clément, > >> > >> On 10/09/2018 06:28 AM, Clément Péron wrote: > >>> Cyclone5 and Arria10 doesn't

Re: [PATCH 1/1] nds32: Power management for nds32

2018-10-24 Thread Pavel Machek
On Wed 2018-10-24 11:40:07, Nickhu wrote: > There are three sleep states in nds32: > suspend to idle, > suspend to standby, > suspend to ram > > In suspend to ram, we use the 'standby' instruction to emulate > power management device to hang the system util wakeup source > send

Re: [PATCH 1/1] nds32: Power management for nds32

2018-10-24 Thread Pavel Machek
On Wed 2018-10-24 11:40:07, Nickhu wrote: > There are three sleep states in nds32: > suspend to idle, > suspend to standby, > suspend to ram > > In suspend to ram, we use the 'standby' instruction to emulate > power management device to hang the system util wakeup source > send

Re: [RFC][PATCH v2 04/10] ext2: use common file type conversion

2018-10-24 Thread Amir Goldstein
On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > Deduplicate the ext2 file type conversion implementation. > > Original patch by Amir Goldstein. > > v2: > - Rebased against Linux 4.19 by Phillip Potter > - This version does not remove EXT2_FT_x enum from fs/ext2/ext2.h, > as these

Re: [RFC][PATCH v2 04/10] ext2: use common file type conversion

2018-10-24 Thread Amir Goldstein
On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > Deduplicate the ext2 file type conversion implementation. > > Original patch by Amir Goldstein. > > v2: > - Rebased against Linux 4.19 by Phillip Potter > - This version does not remove EXT2_FT_x enum from fs/ext2/ext2.h, > as these

RE: [PATCH 2/3] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

2018-10-24 Thread Nava kishore Manne
Hi Alan, Thanks for the quick response.. Please find my response inline. > -Original Message- > From: Alan Tull [mailto:at...@kernel.org] > Sent: Monday, October 22, 2018 11:12 PM > To: Nava kishore Manne > Cc: Moritz Fischer ; Rob Herring ; > Mark Rutland ; Michal Simek ; > Rajan Vaja

RE: [PATCH 2/3] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

2018-10-24 Thread Nava kishore Manne
Hi Alan, Thanks for the quick response.. Please find my response inline. > -Original Message- > From: Alan Tull [mailto:at...@kernel.org] > Sent: Monday, October 22, 2018 11:12 PM > To: Nava kishore Manne > Cc: Moritz Fischer ; Rob Herring ; > Mark Rutland ; Michal Simek ; > Rajan Vaja

Re: [RFC][PATCH 00/11] common implementation of dirent file types

2018-10-24 Thread Amir Goldstein
On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > This cleanup series is a respin of Amir Goldstein's work, created > in late 2016. It removes several instances of duplicated code. Most > of the duplication dates back to git pre-historic era. > > The controversial aspect of this cleanup

Re: [RFC][PATCH 00/11] common implementation of dirent file types

2018-10-24 Thread Amir Goldstein
On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > This cleanup series is a respin of Amir Goldstein's work, created > in late 2016. It removes several instances of duplicated code. Most > of the duplication dates back to git pre-historic era. > > The controversial aspect of this cleanup

Re: [LKP] [lkp-robot] [sched/fair] d519329f72: unixbench.score -9.9% regression

2018-10-24 Thread Aaron Lu
On Mon, Apr 02, 2018 at 11:20:00AM +0800, Ye, Xiaolong wrote: > > Greeting, > > FYI, we noticed a -9.9% regression of unixbench.score due to commit: > > > commit: d519329f72a6f36bc4f2b85452640cfe583b4f81 ("sched/fair: Update > util_est only on util_avg updates") >

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-24 Thread Viresh Kumar
On 22-10-18, 15:12, Dmitry Osipenko wrote: > Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare > necessary regulators, but we want to have CPU frequency scaling. I couldn't > find board schematics and so don't know if CPU / CORE voltages are fixed on > Trim-Slice or it is

Re: [LKP] [lkp-robot] [sched/fair] d519329f72: unixbench.score -9.9% regression

2018-10-24 Thread Aaron Lu
On Mon, Apr 02, 2018 at 11:20:00AM +0800, Ye, Xiaolong wrote: > > Greeting, > > FYI, we noticed a -9.9% regression of unixbench.score due to commit: > > > commit: d519329f72a6f36bc4f2b85452640cfe583b4f81 ("sched/fair: Update > util_est only on util_avg updates") >

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-24 Thread Viresh Kumar
On 22-10-18, 15:12, Dmitry Osipenko wrote: > Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare > necessary regulators, but we want to have CPU frequency scaling. I couldn't > find board schematics and so don't know if CPU / CORE voltages are fixed on > Trim-Slice or it is

[PATCH] thermal: imx: fix for dependency on cpu-freq

2018-10-24 Thread Anson Huang
The thermal driver is a standalone driver for monitoring SoC temperature by enabling thermal sensor, so it can be enabled even when CONFIG_CPU_FREQ is NOT set. So remove the dependency with CPU_THERMAL. Add CONFIG_CPU_FREQ check for cpu-freq related operation in thermal driver to make thermal

[PATCH] thermal: imx: fix for dependency on cpu-freq

2018-10-24 Thread Anson Huang
The thermal driver is a standalone driver for monitoring SoC temperature by enabling thermal sensor, so it can be enabled even when CONFIG_CPU_FREQ is NOT set. So remove the dependency with CPU_THERMAL. Add CONFIG_CPU_FREQ check for cpu-freq related operation in thermal driver to make thermal

<    4   5   6   7   8   9   10   >