* [PATCH] arm64: defconfig: Enable QDF2432 config options
@ 2016-07-01 14:12 Christopher Covington
2016-07-01 14:14 ` Timur Tabi
2016-07-01 14:27 ` [PATCH v2] " Christopher Covington
0 siblings, 2 replies; 7+ messages in thread
From: Christopher Covington @ 2016-07-01 14:12 UTC (permalink / raw)
To: Andy Gross, Arnd Bergmann, linux-arm-msm, Catalin Marinas,
Will Deacon, linux-arm-kernel, linux-kernel
Cc: pelcan, timur, okaya, Christopher Covington
Now that ACPI is on in the defconfig, the time seems right to enable
drivers for the SD/MMC, DMA, and pin control hardware described in the ACPI
tables of the QDF2432 server platform.
Signed-off-by: Christopher Covington <cov@codeaurora.org>
---
arch/arm64/configs/defconfig | 4 ++++
scripts/patch-details.sh | 21 ++++++++++++++++++---
2 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index fd2d74d..c138425 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -186,6 +186,7 @@ CONFIG_SPI_SPIDEV=m
CONFIG_SPMI=y
CONFIG_PINCTRL_SINGLE=y
CONFIG_PINCTRL_MSM8916=y
+CONFIG_PINCTRL_QDF2XXX=m
CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
CONFIG_GPIO_SYSFS=y
CONFIG_GPIO_DWAPB=y
@@ -245,6 +246,7 @@ CONFIG_MMC=y
CONFIG_MMC_BLOCK_MINORS=32
CONFIG_MMC_ARMMMCI=y
CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_ACPI=m
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_OF_ESDHC=y
CONFIG_MMC_SDHCI_TEGRA=y
@@ -272,6 +274,8 @@ CONFIG_DMADEVICES=y
CONFIG_PL330_DMA=y
CONFIG_TEGRA20_APB_DMA=y
CONFIG_QCOM_BAM_DMA=y
+CONFIG_QCOM_HIDMA_MGMT=m
+CONFIG_QCOM_HIDMA=m
CONFIG_RCAR_DMAC=y
CONFIG_VFIO=y
CONFIG_VFIO_PCI=y
diff --git a/scripts/patch-details.sh b/scripts/patch-details.sh
index ec7d163..4069855 100755
--- a/scripts/patch-details.sh
+++ b/scripts/patch-details.sh
@@ -35,7 +35,7 @@ submaint() {
N; s/THE REST,//; s/,THE REST//; s/\n/ /'
}
-echo "URL RPK Style Tag Version Checkpatch Errors Checkpatch Warnings Rebases Builds Last Updated Author Subject File Updates Lines Added Lines Removed Maintainer(s) Subsystem(s)"
+echo "URL RPK Style Tag Version Checkpatch Errors Checkpatch Warnings Rebases Builds Boots Last Updated Author Subject File Updates Lines Added Lines Removed Maintainer(s) Subsystem(s)"
while read u; do
echo -n "$u "
p=
@@ -121,12 +121,27 @@ while read u; do
if $build; then
if (make defconfig && make) &> buildlog; then
echo -n 'yes '
+ if [ "$QEMU" ]; then
+ timeout 10 \
+ $QEMU \
+ -nodefaults \
+ -nographic \
+ -M virt \
+ -cpu cortex-a57 \
+ -m 512 \
+ -serial stdio \
+ -kernel arch/arm64/boot/Image \
+ -append "debug earlycon=pl011,0x9000000 rdinit=/bin/busybox poweroff -f" \
+ -initrd ../fs/busybox64.cpio.gz
+ else
+ echo -n ' '
+ fi
else
git reset --hard HEAD~1 &> /dev/null
- echo -n 'no '
+ echo -n 'no '
fi
else
- echo -n ' '
+ echo -n ' '
fi
awk -f scripts/parsepatch.awk /tmp/patch.mbox || diffstat -s /tmp/patch.mbox | awk -f scripts/parsepatch.awk
submaint /tmp/patch.mbox
--
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QDF2432 config options
2016-07-01 14:12 [PATCH] arm64: defconfig: Enable QDF2432 config options Christopher Covington
@ 2016-07-01 14:14 ` Timur Tabi
2016-07-01 15:06 ` Christopher Covington
2016-07-01 14:27 ` [PATCH v2] " Christopher Covington
1 sibling, 1 reply; 7+ messages in thread
From: Timur Tabi @ 2016-07-01 14:14 UTC (permalink / raw)
To: Christopher Covington, Andy Gross, Arnd Bergmann, linux-arm-msm,
Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
Cc: pelcan, okaya
Christopher Covington wrote:
> arch/arm64/configs/defconfig | 4 ++++
> scripts/patch-details.sh | 21 ++++++++++++++++++---
I don't think these two files should be combined.
> CONFIG_PINCTRL_SINGLE=y
> CONFIG_PINCTRL_MSM8916=y
> +CONFIG_PINCTRL_QDF2XXX=m
> CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
> CONFIG_GPIO_SYSFS=y
> CONFIG_GPIO_DWAPB=y
> @@ -245,6 +246,7 @@ CONFIG_MMC=y
> CONFIG_MMC_BLOCK_MINORS=32
> CONFIG_MMC_ARMMMCI=y
> CONFIG_MMC_SDHCI=y
> +CONFIG_MMC_SDHCI_ACPI=m
> CONFIG_MMC_SDHCI_PLTFM=y
Why are these =m when all the others are =y?
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2] arm64: defconfig: Enable QDF2432 config options
2016-07-01 14:12 [PATCH] arm64: defconfig: Enable QDF2432 config options Christopher Covington
2016-07-01 14:14 ` Timur Tabi
@ 2016-07-01 14:27 ` Christopher Covington
1 sibling, 0 replies; 7+ messages in thread
From: Christopher Covington @ 2016-07-01 14:27 UTC (permalink / raw)
To: Andy Gross, Arnd Bergmann, linux-arm-msm, Catalin Marinas,
Will Deacon, linux-arm-kernel, linux-kernel
Cc: pelcan, timur, okaya, Christopher Covington
Now that ACPI is on in the defconfig, the time seems right to enable
drivers for the SD/MMC, DMA, and pin control hardware described in the ACPI
tables of the QDF2432 server platform.
Signed-off-by: Christopher Covington <cov@codeaurora.org>
---
v2: Remove unrelated script changes.
---
arch/arm64/configs/defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index fd2d74d..c138425 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -186,6 +186,7 @@ CONFIG_SPI_SPIDEV=m
CONFIG_SPMI=y
CONFIG_PINCTRL_SINGLE=y
CONFIG_PINCTRL_MSM8916=y
+CONFIG_PINCTRL_QDF2XXX=m
CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
CONFIG_GPIO_SYSFS=y
CONFIG_GPIO_DWAPB=y
@@ -245,6 +246,7 @@ CONFIG_MMC=y
CONFIG_MMC_BLOCK_MINORS=32
CONFIG_MMC_ARMMMCI=y
CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_ACPI=m
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_OF_ESDHC=y
CONFIG_MMC_SDHCI_TEGRA=y
@@ -272,6 +274,8 @@ CONFIG_DMADEVICES=y
CONFIG_PL330_DMA=y
CONFIG_TEGRA20_APB_DMA=y
CONFIG_QCOM_BAM_DMA=y
+CONFIG_QCOM_HIDMA_MGMT=m
+CONFIG_QCOM_HIDMA=m
CONFIG_RCAR_DMAC=y
CONFIG_VFIO=y
CONFIG_VFIO_PCI=y
--
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QDF2432 config options
2016-07-01 14:14 ` Timur Tabi
@ 2016-07-01 15:06 ` Christopher Covington
2016-07-01 15:11 ` Timur Tabi
0 siblings, 1 reply; 7+ messages in thread
From: Christopher Covington @ 2016-07-01 15:06 UTC (permalink / raw)
To: Timur Tabi, Andy Gross, Arnd Bergmann, linux-arm-msm,
Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
Cc: pelcan, okaya
On 07/01/2016 10:14 AM, Timur Tabi wrote:
> Christopher Covington wrote:
>> arch/arm64/configs/defconfig | 4 ++++
>> scripts/patch-details.sh | 21 ++++++++++++++++++---
>
> I don't think these two files should be combined.
Oops, sorry. Fixed in v2.
>> CONFIG_PINCTRL_SINGLE=y
>> CONFIG_PINCTRL_MSM8916=y
>> +CONFIG_PINCTRL_QDF2XXX=m
>> CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
>> CONFIG_GPIO_SYSFS=y
>> CONFIG_GPIO_DWAPB=y
>> @@ -245,6 +246,7 @@ CONFIG_MMC=y
>> CONFIG_MMC_BLOCK_MINORS=32
>> CONFIG_MMC_ARMMMCI=y
>> CONFIG_MMC_SDHCI=y
>> +CONFIG_MMC_SDHCI_ACPI=m
>> CONFIG_MMC_SDHCI_PLTFM=y
>
> Why are these =m when all the others are =y?
Due to distribution differences [1][2], I see =y built-in as the default
on mobile platforms and =m modular as the default on server platforms.
But thinking about it, we could get a poweroff, reset, over-temperature,
or other interrupt before we get to the initramfs. So the pin controller
driver should be =y built-in.
One might make rootfs media =y built-in to make testing easier, but I
prefer to put my rootfs on SATA, as SD/MMC is much slower and smaller by
comparison.
Thanks,
Cov
Examples I found to spot check my recollection:
1.
https://github.com/CyanogenMod/android_kernel_lge_hammerhead/blob/cm-13.0/arch/arm/configs/cyanogenmod_hammerhead_defconfig
2.
https://git.centos.org/blob/sig-altarch!kernel.git/c3cb6cc6edb5400321fd9d83413add4cf61d942e/SOURCES!config-arm64
--
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QDF2432 config options
2016-07-01 15:06 ` Christopher Covington
@ 2016-07-01 15:11 ` Timur Tabi
2016-08-23 20:36 ` Andy Gross
0 siblings, 1 reply; 7+ messages in thread
From: Timur Tabi @ 2016-07-01 15:11 UTC (permalink / raw)
To: Christopher Covington, Andy Gross, Arnd Bergmann, linux-arm-msm,
Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
Cc: pelcan, okaya
Christopher Covington wrote:
> Due to distribution differences [1][2], I see =y built-in as the default
> on mobile platforms and =m modular as the default on server platforms.
I don't think we should mix "server" defconfing entries with "mobile"
defconfig entries. It's a arm64 defconfig, neither server nor mobile.
The other entries are =y, so these should be =y
No one uses this defconfig as-is for any platform.
> But thinking about it, we could get a poweroff, reset, over-temperature,
> or other interrupt before we get to the initramfs. So the pin controller
> driver should be =y built-in.
>
> One might make rootfs media =y built-in to make testing easier, but I
> prefer to put my rootfs on SATA, as SD/MMC is much slower and smaller by
> comparison.
Let's not overthink things, and just make *everything* =y by default.
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QDF2432 config options
2016-07-01 15:11 ` Timur Tabi
@ 2016-08-23 20:36 ` Andy Gross
2016-08-23 20:36 ` Timur Tabi
0 siblings, 1 reply; 7+ messages in thread
From: Andy Gross @ 2016-08-23 20:36 UTC (permalink / raw)
To: Timur Tabi
Cc: Christopher Covington, Arnd Bergmann, linux-arm-msm,
Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel,
pelcan, okaya
On Fri, Jul 01, 2016 at 10:11:00AM -0500, Timur Tabi wrote:
> Christopher Covington wrote:
> >Due to distribution differences [1][2], I see =y built-in as the default
> >on mobile platforms and =m modular as the default on server platforms.
>
> I don't think we should mix "server" defconfing entries with "mobile"
> defconfig entries. It's a arm64 defconfig, neither server nor mobile. The
> other entries are =y, so these should be =y
>
> No one uses this defconfig as-is for any platform.
>
> >But thinking about it, we could get a poweroff, reset, over-temperature,
> >or other interrupt before we get to the initramfs. So the pin controller
> >driver should be =y built-in.
> >
> >One might make rootfs media =y built-in to make testing easier, but I
> >prefer to put my rootfs on SATA, as SD/MMC is much slower and smaller by
> >comparison.
>
> Let's not overthink things, and just make *everything* =y by default.
Do you guys want me to fix this up so it can hit this window? I can just change
the m to y before I send it off.
Andy
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: defconfig: Enable QDF2432 config options
2016-08-23 20:36 ` Andy Gross
@ 2016-08-23 20:36 ` Timur Tabi
0 siblings, 0 replies; 7+ messages in thread
From: Timur Tabi @ 2016-08-23 20:36 UTC (permalink / raw)
To: Andy Gross
Cc: Christopher Covington, Arnd Bergmann, linux-arm-msm,
Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel,
pelcan, okaya
Andy Gross wrote:
> Do you guys want me to fix this up so it can hit this window? I can just change
> the m to y before I send it off.
Yes, please.
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-08-23 20:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-01 14:12 [PATCH] arm64: defconfig: Enable QDF2432 config options Christopher Covington
2016-07-01 14:14 ` Timur Tabi
2016-07-01 15:06 ` Christopher Covington
2016-07-01 15:11 ` Timur Tabi
2016-08-23 20:36 ` Andy Gross
2016-08-23 20:36 ` Timur Tabi
2016-07-01 14:27 ` [PATCH v2] " Christopher Covington
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).