[PATCH] ACPI / property: restore _DSD data subnodes GUID comment

2019-04-01 Thread Shunyong Yang
Patch "5f5e4890d57a" removes the comment of _DSD data subnodes GUID. This patch restores it. Fixes: 5f5e4890d57a ("ACPI / property: Allow multiple property compatible _DSD entries") Cc: Joey Zheng Signed-off-by: Shunyong Yang --- drivers/acpi/property.c | 1 + 1 file

[PATCH v2 2/2] dmaengine: qcom_hidma: assign channel cookie correctly

2019-01-06 Thread Shunyong Yang
viewed-by: Sinan Kaya Signed-off-by: Shunyong Yang --- v2: fix missing brace according to Vinod's feedback. add Reviewed-by: Sinan Kaya . --- drivers/dma/qcom/hidma.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/dma/qcom/hidma.c b/drivers/dm

[PATCH v2 1/2] dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*

2019-01-06 Thread Shunyong Yang
dma_async_tx_descriptor by the flags passed from the caller when hidma_prep_dma_*(memcpy/memset) is called. Cc: Joey Zheng Reviewed-by: Sinan Kaya Signed-off-by: Shunyong Yang --- v2: add Reviewed-by: Sinan Kaya --- drivers/dma/qcom/hidma.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH v2] ACPI / tables: table override from built-in initrd

2018-12-17 Thread Shunyong Yang
In some scenario, we need to build initrd with kernel in a single image. This can simplify system deployment process by downloading the whole system once, such as in IC verification. This patch adds support to override ACPI tables from built-in initrd. Cc: Joey Zheng Signed-off-by: Shunyong

[PATCH] ACPI / tables: table upgrade from built-in initrd

2018-12-16 Thread Shunyong Yang
In some scenario, we need to build initrd with kernel in a single image. This can simplify system deployment process by downloading the whole system once, such as in IC verification. This patch adds support to upgrade ACPI tables from built-in initrd. Cc: Joey Zheng Signed-off-by: Shunyong Yang

[PATCH 2/2] dmaengine: qcom_hidma: assign channel cookie correctly

2018-12-06 Thread Shunyong Yang
ed-off-by: Shunyong Yang --- drivers/dma/qcom/hidma.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/dma/qcom/hidma.c b/drivers/dma/qcom/hidma.c index 9d639ed1955a..aa88bcceda20 100644 --- a/drivers/dma/qcom/hidma.c +++ b/drivers/dma/qcom/hidma.c @

[PATCH 1/2] dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*

2018-12-06 Thread Shunyong Yang
dma_async_tx_descriptor by the flags passed from the caller when hidma_prep_dma_*(memcpy/memset) is called. Cc: Joey Zheng Signed-off-by: Shunyong Yang --- drivers/dma/qcom/hidma.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/dma/qcom/hidma.c b/drivers/dma/qcom/hidma.c index 43d4b00b8138

[PATCH v2 1/2] PCI: Add HXT vendor ID and ACS quirk

2018-11-06 Thread Shunyong Yang
Add the HXT vendor ID to pci_ids.h and use it in quirks. As the design of HXT SD4800 ACS feature is the same as QCOM QDF2xxx, pci_quirk_qcom_rp_acs() is reused for SD4800 quirk. cc: Joey Zheng Reviewed-by: Sinan Kaya Signed-off-by: Shunyong Yang --- v2: Add Reviewed-by: Sinan Kaya. v1

[PATCH v2 2/2] PCI: pciehp: Add HXT quirk for Command Completed errata

2018-11-06 Thread Shunyong Yang
The HXT SD4800 PCI controller does not set the Command Completed bit unless writes to the Slot Command register change "Control" bits. This patch adds SD4800 to the quirk. Cc: Joey Zheng Signed-off-by: Shunyong Yang diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/p

[PATCH] PCI: Add HXT vendor ID and ACS quirk

2018-11-04 Thread Shunyong Yang
Add the HXT vendor ID to pci_ids.h and use it in quirks. As the design of HXT SD4800 ACS feature is the same as QCOM QDF2xxx, pci_quirk_qcom_rp_acs() is reused for SD4800 quirk. Cc: Joey Zheng Signed-off-by: Shunyong Yang --- drivers/pci/quirks.c| 2 ++ include/linux/pci_ids.h | 2 ++ 2

[PATCH v2] PCI: Unify pci and normal dma direction definition

2018-07-17 Thread Shunyong Yang
Current DMA direction definitions in pci-dma-compat.h and dma-direction.h are mirrored in value. Unifying them to enhance readability and avoid possible inconsistency. Cc: Joey Zheng Signed-off-by: Shunyong Yang --- v2: Remove unnecessary comments and braces according to Christoph&#

[PATCH] PCI: Unify pci and normal dma direction definition

2018-07-12 Thread Shunyong Yang
Current DMA direction definitions in pci-dma-compat.h and dma-direction.h are mirrored in value. Unify them to enhance readability and avoid possible inconsistency. Cc: Joey Zheng Signed-off-by: Shunyong Yang --- include/linux/dma-direction.h | 2 +- include/linux/pci-dma-compat.h | 8

[RFC PATCH] arm64: topology: Map PPTT node offset to logic physical package id

2018-06-28 Thread Shunyong Yang
Cc: Joey Zheng Signed-off-by: Shunyong Yang --- arch/arm64/kernel/topology.c | 53 +++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/topology.c b/arch/arm64/kernel/topology.c index f845a8617812..c219224b36e8 100644 --- a/ar

[tip:efi/core] efi/capsule-loader: Don't output reset log when reset flags are not set

2018-05-14 Thread tip-bot for Shunyong Yang
Commit-ID: 83f0a7c7b265a56d757f7e3a80622e5b0b7ebc46 Gitweb: https://git.kernel.org/tip/83f0a7c7b265a56d757f7e3a80622e5b0b7ebc46 Author: Shunyong Yang AuthorDate: Fri, 4 May 2018 08:00:02 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018 08:57:49 +0200 efi/capsule-loader: Don&#

[PATCH v2] efi/capsule-loader: Don't output reset log when reset flags are not set

2018-05-02 Thread Shunyong Yang
. Cc: Joey Zheng Signed-off-by: Shunyong Yang --- Changes in v2: *Add EFI_CAPSULE_PERSIST_ACROSS_RESET check according to Ard's suggestion. --- drivers/firmware/efi/capsule-loader.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/firmwar

[PATCH] efi/capsule-loader: Don't output reset log when header flags is not set

2018-04-24 Thread Shunyong Yang
Zheng Signed-off-by: Shunyong Yang --- drivers/firmware/efi/capsule-loader.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/firmware/efi/capsule-loader.c b/drivers/firmware/efi/capsule-loader.c index e456f4602df1..a63b8e5bde23 100644 --- a/drivers/firmware

[PATCH v3] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-04-05 Thread Shunyong Yang
herwise, perf capabilities are 0s and speed change can not take effect. This patch copies perf capabilities of the first online cpu to other shared cpus when policy shared type is CPUFREQ_SHARED_TYPE_ANY. Cc: Joey Zheng Acked-by: Viresh Kumar Signed-off-by: Shunyong Yang --- Changes in

[PATCH v2] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-04-04 Thread Shunyong Yang
herwise, perf capabilities are 0s and speed change can not take effect. This patch copies perf capabilities of the first online cpu to other shared cpus when policy shared type is CPUFREQ_SHARED_TYPE_ANY. Cc: Joey Zheng Signed-off-by: Shunyong Yang --- Changes in v2: -Add unlikely in cpu c

[PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-03-28 Thread Shunyong Yang
lities are 0s and speed change can not take effect. This patch copies perf capabilities of the first online cpu to other shared cpus when policy shared type is CPUFREQ_SHARED_TYPE_ANY. Cc: Joey Zheng Signed-off-by: Shunyong Yang --- The original RFC link, https://patchwork.kernel.org/patch/102

[RFC PATCH] cpufreq: Calling init() of cpufreq_driver when policy inactive cpu online

2018-03-21 Thread Shunyong Yang
tialized when init() is called. This patch is tested on CPPC enabled system. I am not sure it's influnce on other cpufreq_driver. So, this RFC is sent for comments. Cc: Wang Dongsheng Cc: Joey Zheng Signed-off-by: Shunyong Yang --- drivers

[PATCH] vfio-mdev/samples: change RDI interrupt condition

2018-03-07 Thread Shunyong Yang
interrupt correctly. Cc: Joey Zheng Signed-off-by: Shunyong Yang --- samples/vfio-mdev/mtty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/vfio-mdev/mtty.c b/samples/vfio-mdev/mtty.c index 09f255bdf3ac..7abb79d8313d 100644 --- a/samples/vfio-mdev/mtty.c +++ b

[RFC PATCH] KVM: arm/arm64: vgic: change condition for level interrupt resampling

2018-03-07 Thread Shunyong Yang
rial8250_interrupt [6.434597] Disabling IRQ #41 This patch changes the lr state condition in lr_signals_eoi_mi() from invalid(Inactive) to active and pending to avoid this. I am not sure about the original design of the condition of invalid(active). So, This RFC is sent out for comments

[PATCH] vsprintf: replace space with readable '=' before crng is ready

2018-02-12 Thread Shunyong Yang
. In addition, the timing of crng initialization done may vary on different system. So, the change is made in vsprintf.c. Link: https://patchwork.kernel.org/patch/10185199/ Cc: Andy Shevchenko Cc: Joey Zheng Suggested-by: Rasmus Villemoes Signed-off-by: Shunyong Yang --- lib/vsprintf.c | 1