Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Arnd Bergmann
On Tuesday 24 November 2015 17:51:37 Stephen Boyd wrote: > On 11/24, Arnd Bergmann wrote: > > On Monday 23 November 2015 15:13:52 Stephen Boyd wrote: > > IOW, anything with CPU implementer 0x56 part 0x581 should use those, > > while part 0x584 can use the sdiv/udiv that it reports correctly. > > >

[PATCH 0/3] Remove ARCH_MSM* configs

2015-11-24 Thread Stephen Boyd
This patch series allows us to remove the ARCH_MSM* configs that live in mach-qcom/Kconfig. They're mostly proxy configs for user selectable clocksource configurations anyway. The first patch can go via Daniel, while the other two can go via Andy. Stephen Boyd (3): clocksource: defbool CLKSRC_QC

[PATCH 3/3] ARM: qcom: Drop ARCH_MSM* configs

2015-11-24 Thread Stephen Boyd
Drop these configs now that we select the clocksources we need via the defconfig. Signed-off-by: Stephen Boyd --- arch/arm/mach-qcom/Kconfig | 16 1 file changed, 16 deletions(-) diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig index 2256cd1e25d1..37572fd79c

Re: [PATCH] ARM: qcom: select ARM_CPU_SUSPEND for power management

2015-11-24 Thread Stephen Boyd
On 11/24, Arnd Bergmann wrote: > The qcom spm driver uses cpu_resume_arm(), which is not included > in the kernel in all configurations: > > drivers/built-in.o: In function `qcom_cpu_spc': > :(.text+0xbc022): undefined reference to `cpu_suspend' > drivers/built-in.o: In function `qcom_cpuidle_init

RE: [PATCH] ARM: use "depends on" for SoC configs instead of "if" after prompt

2015-11-24 Thread yamada.masahiro
Hi Arnd, Could you apply this patch with Acked-by storm so that other subarchtectures can base on it? Also, the following series: 1/2: ARM: hisi: do not export smp_operations structures 2/2: ARM: use const and __initconst for smp_operations > -Original Message- > From: Thierry Redin

Re: [PATCH 1/3] clocksource: defbool CLKSRC_QCOM=y on ARCH_QCOM and make it visible

2015-11-24 Thread Stephen Boyd
On 11/24/15 17:08, Stephen Boyd wrote: > We want to remove the ARCH_MSM* configs in mach-qcom/Kconfig > because they are mostly proxy configs for selecting the right > clocksource driver. Therefore, make CLKSRC_QCOM default to the > value of ARCH_QCOM, but also make it visible if ARCH_QCOM=y so > t

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Stephen Boyd
On 11/24, Arnd Bergmann wrote: > On Monday 23 November 2015 15:13:52 Stephen Boyd wrote: > > On 11/23, Arnd Bergmann wrote: > > > > > > - PJ4/PJ4B (not PJ4B-MP) has a different custom opcode for udiv and sdiv > > > in ARM mode. We don't support that with true multiplatform kernels > > > becaus

[PATCH 1/3] clocksource: defbool CLKSRC_QCOM=y on ARCH_QCOM and make it visible

2015-11-24 Thread Stephen Boyd
We want to remove the ARCH_MSM* configs in mach-qcom/Kconfig because they are mostly proxy configs for selecting the right clocksource driver. Therefore, make CLKSRC_QCOM default to the value of ARCH_QCOM, but also make it visible if ARCH_QCOM=y so that we can turn it off when we don't want it. Su

[PATCH 2/3] ARM: qcom_defconfig: Enable HAVE_ARM_ARCH_TIMER

2015-11-24 Thread Stephen Boyd
Enable this config in the defconfig so that we can delete the selection logic surrounding it that exists in mach-qcom/Kconfig. Signed-off-by: Stephen Boyd --- arch/arm/configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qc

[PATCH] ARM: qcom: select ARM_CPU_SUSPEND for power management

2015-11-24 Thread Arnd Bergmann
The qcom spm driver uses cpu_resume_arm(), which is not included in the kernel in all configurations: drivers/built-in.o: In function `qcom_cpu_spc': :(.text+0xbc022): undefined reference to `cpu_suspend' drivers/built-in.o: In function `qcom_cpuidle_init': :(.init.text+0x610c): undefined referenc

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Arnd Bergmann
On Tuesday 24 November 2015 20:35:16 Russell King - ARM Linux wrote: > We'd need to do something similar for v7VE as well. As we're getting > more of this, I'd suggest we move to: > > arch-v7a-y =$(call > cc-option,-march=armv7-a,-march=armv5t -Wa$(comma)-march=armv7-a) > ar

Re: [PATCH RFC 17/27] drivers: cpu-pd: Record CPUs that are part of the domain

2015-11-24 Thread Stephen Boyd
On 11/17, Lina Iyer wrote: > diff --git a/drivers/base/power/cpu-pd.c b/drivers/base/power/cpu-pd.c > index 9758b8d..617ce54 100644 > --- a/drivers/base/power/cpu-pd.c > +++ b/drivers/base/power/cpu-pd.c > @@ -18,6 +18,7 @@ > #include > #include > #include > +#include What's this added for?

Re: [PATCH RFC 10/27] drivers: power: Introduce PM domains for CPUs/clusters

2015-11-24 Thread Stephen Boyd
On 11/17, Lina Iyer wrote: > diff --git a/Documentation/arm/cpu-domains.txt > b/Documentation/arm/cpu-domains.txt > new file mode 100644 > index 000..ef5f215 > --- /dev/null > +++ b/Documentation/arm/cpu-domains.txt > @@ -0,0 +1,52 @@ > +CPU Clusters and PM domain > + > +Newer CPUs are grouped

Re: [PATCH] PCI: designware: remove wrong io_base assignment

2015-11-24 Thread Bjorn Helgaas
On Tue, Nov 24, 2015 at 11:36:52AM +0200, Stanimir Varbanov wrote: > The io_base is used to keep the cpu physical address parsed > from ranges dt property. After issue pci_remap_iospace the > io_base has been assigned with io->start, which is not correct > cause io->start is a PCI bus address. > >

Re: [PATCH RFC 07/27] PM / Domains: Read domain residency from DT

2015-11-24 Thread Stephen Boyd
On 11/17, Lina Iyer wrote: > diff --git a/Documentation/devicetree/bindings/power/power_domain.txt > b/Documentation/devicetree/bindings/power/power_domain.txt > index ecfaf44..d71da29 100644 > --- a/Documentation/devicetree/bindings/power/power_domain.txt > +++ b/Documentation/devicetree/bindings

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Russell King - ARM Linux
On Tue, Nov 24, 2015 at 12:07:30PM -0800, Stephen Boyd wrote: > Ok. Presumably the order of arch-$(CONFIG) lines in the Makefile > are done in an order to allow the build to degrade to the lowest > common denominator among architecture support. Correct. Make processes the directives in the order

KVM on Snapdragon 810(arm64)

2015-11-24 Thread sk.syed2
Hello Has anyone tried to run KVM on arm64/Snapdragon platform. I am trying to run KVM on snapdragon 810/msm8994 platform. What is the stable kernel release which supports this? Sorry couldn't find this information from the archives. Thanks -syed -- To unsubscribe from this list: send the line

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Stephen Boyd
On 11/24, Russell King - ARM Linux wrote: > On Tue, Nov 24, 2015 at 12:53:49AM -0800, Stephen Boyd wrote: > > > > And adding CPU_V7VE causes a cascade of changes to wherever > > CPU_V7 is being used today. Here's the patch I currently have, > > without the platform changes: > > @@ -1069,7 +1075,7

Re: [PATCH RFC 16/27] ARM: cpuidle: Record the next wakeup event of the CPU

2015-11-24 Thread Kevin Hilman
Lina Iyer writes: > On Thu, Nov 19 2015 at 16:35 -0700, Kevin Hilman wrote: >>Lina Iyer writes: >> >>> Reading the next wakeup of the CPU can only be realiably done only from >>> that CPU. In the idle enter path record the next wake up of the CPU. The >>> information is useful to determine the s

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Måns Rullgård
Russell King - ARM Linux writes: > On Tue, Nov 24, 2015 at 12:29:06PM +, Måns Rullgård wrote: >> Russell King - ARM Linux writes: >> >> > On Tue, Nov 24, 2015 at 12:10:02PM +, Måns Rullgård wrote: >> >> Russell King - ARM Linux writes: >> >> >> >> > On Tue, Nov 24, 2015 at 11:38:53AM

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Russell King - ARM Linux
On Tue, Nov 24, 2015 at 12:29:06PM +, Måns Rullgård wrote: > Russell King - ARM Linux writes: > > > On Tue, Nov 24, 2015 at 12:10:02PM +, Måns Rullgård wrote: > >> Russell King - ARM Linux writes: > >> > >> > On Tue, Nov 24, 2015 at 11:38:53AM +0100, Arnd Bergmann wrote: > >> >> I sugge

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Arnd Bergmann
On Tuesday 24 November 2015 12:15:13 Måns Rullgård wrote: > Arnd Bergmann writes: > > On Monday 23 November 2015 15:13:52 Stephen Boyd wrote: > >> On 11/23, Arnd Bergmann wrote: > >> > On Monday 23 November 2015 13:32:06 Stephen Boyd wrote: > >> > diff --git a/drivers/clocksource/Kconfig b/drivers

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Måns Rullgård
Russell King - ARM Linux writes: > On Tue, Nov 24, 2015 at 12:10:02PM +, Måns Rullgård wrote: >> Russell King - ARM Linux writes: >> >> > On Tue, Nov 24, 2015 at 11:38:53AM +0100, Arnd Bergmann wrote: >> >> I suggested using -mcpu=cortex-a15 because there are old gcc versions >> >> that don

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Russell King - ARM Linux
On Tue, Nov 24, 2015 at 12:10:02PM +, Måns Rullgård wrote: > Russell King - ARM Linux writes: > > > On Tue, Nov 24, 2015 at 11:38:53AM +0100, Arnd Bergmann wrote: > >> I suggested using -mcpu=cortex-a15 because there are old gcc versions > >> that don't know about -march=armv7ve or -march=arm

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Måns Rullgård
Arnd Bergmann writes: > On Monday 23 November 2015 15:13:52 Stephen Boyd wrote: >> On 11/23, Arnd Bergmann wrote: >> > On Monday 23 November 2015 13:32:06 Stephen Boyd wrote: >> > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig >> > index b251013eef0a..bad6343c34d5 100644 >

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Måns Rullgård
Russell King - ARM Linux writes: > On Tue, Nov 24, 2015 at 11:38:53AM +0100, Arnd Bergmann wrote: >> I suggested using -mcpu=cortex-a15 because there are old gcc versions >> that don't know about -march=armv7ve or -march=armv7-a+idiv yet, but >> that do understand -mcpu=cortex-a15. > > That's not

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Russell King - ARM Linux
On Tue, Nov 24, 2015 at 11:38:53AM +0100, Arnd Bergmann wrote: > I suggested using -mcpu=cortex-a15 because there are old gcc versions > that don't know about -march=armv7ve or -march=armv7-a+idiv yet, but > that do understand -mcpu=cortex-a15. That's not all. The bigger problem is that there are

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Russell King - ARM Linux
On Tue, Nov 24, 2015 at 12:53:49AM -0800, Stephen Boyd wrote: > On 11/23, Stephen Boyd wrote: > > On 11/23, Arnd Bergmann wrote: > > > > > > Ok, thanks for the confirmation. > > > > > > Summarizing what we've found, I think we can get away with just > > > introducing two Kconfig symbols ARCH_MULT

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Arnd Bergmann
On Tuesday 24 November 2015 00:53:49 Stephen Boyd wrote: > On 11/23, Stephen Boyd wrote: > > On 11/23, Arnd Bergmann wrote: > > > > > > Ok, thanks for the confirmation. > > > > > > Summarizing what we've found, I think we can get away with just > > > introducing two Kconfig symbols ARCH_MULTI_V7V

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Russell King - ARM Linux
On Mon, Nov 23, 2015 at 04:13:06PM -0800, Stephen Boyd wrote: > On 11/23, Arnd Bergmann wrote: > > > > Ok, thanks for the confirmation. > > > > Summarizing what we've found, I think we can get away with just > > introducing two Kconfig symbols ARCH_MULTI_V7VE and CPU_V7VE. > > Most CPUs fall clea

Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2015-11-24 Thread Arnd Bergmann
On Monday 23 November 2015 15:13:52 Stephen Boyd wrote: > On 11/23, Arnd Bergmann wrote: > > On Monday 23 November 2015 13:32:06 Stephen Boyd wrote: > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > > index b251013eef0a..bad6343c34d5 100644 > > --- a/drivers/clocksource/K

[PATCH] PCI: designware: remove wrong io_base assignment

2015-11-24 Thread Stanimir Varbanov
The io_base is used to keep the cpu physical address parsed from ranges dt property. After issue pci_remap_iospace the io_base has been assigned with io->start, which is not correct cause io->start is a PCI bus address. Fixes: 0021d22b73d6 ("PCI: designware: Use of_pci_get_host_bridge_resources()

Re: [PATCH v3 1/6] PCI: designware: remove wrong io_base assignment

2015-11-24 Thread Stanimir Varbanov
On 11/23/2015 06:40 PM, Arnd Bergmann wrote: > On Monday 23 November 2015 18:23:47 Stanimir Varbanov wrote: Fixes: 0021d22b73d6 ("PCI: designware: Use of_pci_get_host_bridge_resources() to parse DT") Reviewed-by: Arnd Bergmann >> >> I think the bug is introduced in: >> >>

Re: [PATCH v3 3/6] DT: PCI: qcom: Document PCIe devicetree bindings

2015-11-24 Thread Stanimir Varbanov
Thanks for the comments! On 11/24/2015 01:17 AM, Rob Herring wrote: > On Mon, Nov 23, 2015 at 11:29:00AM +0200, Stanimir Varbanov wrote: >> From: Stanimir Varbanov >> >> Document Qualcomm PCIe driver devicetree bindings. >> >> Signed-off-by: Stanimir Varbanov >> Signed-off-by: Stanimir Varbanov

Re: [PATCH v3 3/6] DT: PCI: qcom: Document PCIe devicetree bindings

2015-11-24 Thread Stanimir Varbanov
Bjorn, thanks for the comments! On 11/23/2015 08:13 PM, Bjorn Andersson wrote: > On Mon 23 Nov 01:29 PST 2015, Stanimir Varbanov wrote: > >> From: Stanimir Varbanov >> >> Document Qualcomm PCIe driver devicetree bindings. >> >> Signed-off-by: Stanimir Varbanov >> Signed-off-by: Stanimir Varbano