set_handle_irq(gic_handle_irq);
+ gic-bypass_flag = (bypass_val 0xf) 4;
Beware, the top 2 bits are reserved on GICv1, and shouldn't be messed with.
The only time those bits are touched are when the dts is modified with the
bypass flag. Otherwise those bits remain untouched as
The Legacy-IRQ bypass disable and Legacy-FIQ bypass disable is a
feature of GIC-400 and its not X-Gene specific. The only difference in X-Gene
is that we use PPI31 (Legacy-IRQ) for timer and PPI28 (Legacy-FIQ) for perf
Amazing. Someone managed to push the weird-o-meter one level higher.
Any comments on this?
On Tue, Nov 12, 2013 at 2:08 PM, Feng Kan f...@apm.com wrote:
Add dts node for X-Gene reboot driver. Apply documentation dts binding.
Some minor compile warning fix and enable reboot driver by default.
Feng Kan (4):
Documentation: add dts binding for X-Gene reboot dts
The GIC-400 implementation allows for FIQ and IRQ bypass. In the
X-Gene implementation, the FIQ bypass must be enabled at all time.
Otherwise, some PPI will appear as FIQ and cause kernel problem.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/irqchip/irq-gic.c | 15
Add dts documentation for X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
.../devicetree/bindings/arm64/xgene/reboot.txt | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm64/xgene/reboot.txt
diff
Remove the use of the mask attribute from original reboot driver. The use
of the mask attribute provided unneeded complexity and security risk. Also
fix minor compilation warning.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/xgene-reboot.c |5 ++---
1 files changed, 2
This enable the system reset via arch Kconfig for X-Gene platforms.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index c044548..188e787 100644
--- a/arch/arm64/Kconfig
This add missing dts entry for X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index bfdc578
Add dts node for X-Gene reboot driver. Apply documentation dts binding.
Some minor compile warning fix and enable reboot driver by default.
Feng Kan (4):
Documentation: add dts binding for X-Gene reboot dts node.
arm64: add missing dts entry for X-Gene platform.
arm64: Enable system reset
On Wed, Feb 19, 2014 at 2:33 AM, Marc Zyngier marc.zyng...@arm.com wrote:
Hi Feng,
On 18/02/14 22:12, Feng Kan wrote:
This change is made to preserve the GIC v2 releated bits in the
GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec).
The original code only set the enable
Patel apa...@apm.com
Signed-off-by: Feng Kan f...@apm.com
---
V2 Changes:
- only mask off v2 bypass bits
drivers/irqchip/irq-gic.c | 22 +++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index
On Thu, Feb 27, 2014 at 10:54 AM, Marc Zyngier marc.zyng...@arm.com wrote:
On Thu, Feb 27 2014 at 6:34:55 pm GMT, Feng Kan f...@apm.com wrote:
This change is made to preserve the GIC v2 releated bits in the
GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec).
The original
Patel apa...@apm.com
Signed-off-by: Feng Kan f...@apm.com
---
V3 Changes:
- Sorry, forgot to change the mask for cpu_init path
assumed bootloader setup bits correctly.
V2 Changes:
- only mask off v2 bypass bits
drivers/irqchip/irq-gic.c | 32
On Wed, Jan 8, 2014 at 2:05 AM, Mark Rutland mark.rutl...@arm.com wrote:
On Tue, Jan 07, 2014 at 10:50:36PM +, Feng Kan wrote:
Add X-Gene reboot device tree node documentation.
Signed-off-by: Feng Kan f...@apm.com
---
.../devicetree/bindings/arm64/xgene/reboot.txt | 10
That is not what I was asking about.
The problem with your binding is that it doesn't seem to describe
the hardware structure at all, but rather try to invent devices
because of how it's convenient for how you write the Linux drivers.
This is never a good idea and it will become a problem
Is this related to the standard ARM SCU that manages multiprocessor
systems, or a different unit that uses the same name?
FKAN: You mean the snoop control unit in ARM. This is different from
that, the main function of this unit is clk control.
Since this is a global register range with a
On Mon, Jan 13, 2014 at 10:06 PM, Arnd Bergmann a...@arndb.de wrote:
On Tuesday 14 January 2014, Feng Kan wrote:
Is this related to the standard ARM SCU that manages multiprocessor
systems, or a different unit that uses the same name?
FKAN: You mean the snoop control unit in ARM
Patel apa...@apm.com
Signed-off-by: Feng Kan f...@apm.com
---
drivers/irqchip/irq-gic.c | 19 ---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index 341c601..4a52a97e2 100644
--- a/drivers/irqchip/irq-gic.c
Just want to ping this again, since no activity for a while. I have
added endian and
access size related information in the documentation. Please let me
know if more is
needed.
On Wed, Jan 29, 2014 at 4:03 PM, Feng Kan f...@apm.com wrote:
Enable reboot driver for the X-Gene platform. Add
) but is sourced
by Ethernet, where should those reside. Should they go under
linux/include/misc/arch_name
or directly sourced using the ../../../misc/arch_name/headerfile method.
--
Feng Kan | Engineer
Ph: 408.543.8382
Em: f...@apm.com
--
To unsubscribe from this list: send the line unsubscribe linux
On Tue, Sep 24, 2013 at 9:37 PM, Olof Johansson o...@lixom.net wrote:
Hi,
On Tue, Sep 24, 2013 at 8:33 PM, Feng Kan f...@apm.com wrote:
Hi all:
I have some drivers like Queue Manager and co-processor driver that
are used by other
drivers like Ethernet. Would it be appropriate to locate
This driver setup the AHBC for SPI and SD drivers to use.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi |6 +
drivers/bus/Kconfig|9 ++
drivers/bus/Makefile |2 +
drivers/bus/xgene_ahbc.c | 193
is not generally used and bypass bits should not
be changed by the kernel gic code as it could lead to incorrect behavior.
Tested on X-Gene mustang board.
Signed-off-by: Vinayak Kale vk...@apm.com
Acked-by: Anup Patel apa...@apm.com
Signed-off-by: Feng Kan f...@apm.com
---
V4: Change to use bypass mask
Remove X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig|7 ---
drivers/power/reset/Makefile |1 -
drivers/power/reset/xgene-reboot.c | 103
3 files changed, 0 insertions(+), 111 deletions
Add X-Gene platform reboot driver dts node.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index 93f4b2d
Add a generic SYSCON register mapped reset mechanism.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig |7 +++
drivers/power/reset/Makefile|1 +
drivers/power/reset/syscon-reboot.c | 100 +++
3 files changed, 108
Select reboot driver for X-Gene platform.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9711a5f..007f340 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
Add documentation for generic SYSCON reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
.../bindings/power/reset/syscon-reboot.txt | 27
1 files changed, 27 insertions(+), 0 deletions(-)
create mode 100644
Documentation/devicetree/bindings/power/reset/syscon
register from the reboot driver directly.
- Remove documentation since its now simple.
V2 Change:
- Add support for using ACPI resource.
Feng Kan (5):
power: reset: Add generic SYSCON register mapped reset
power: reset: Remove X-Gene reboot driver
arm64: dts: Add X
bits should not be changed by the kernel gic
code as it could lead to incorrect behavior.
Signed-off-by: Vinayak Kale vk...@apm.com
Acked-by: Anup Patel apa...@apm.com
Signed-off-by: Feng Kan f...@apm.com
---
V5: Use macro to replace read modify write of cpu_ctrl register.
V4: Change to use bypass
On Wed, May 7, 2014 at 2:37 AM, Marc Zyngier marc.zyng...@arm.com wrote:
On Wed, May 07 2014 at 1:53:45 am BST, Feng Kan f...@apm.com wrote:
This change is made to preserve the GIC v2 bypass bits in the
GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec).
This code
bits should not be changed by the kernel gic
code as it could lead to incorrect behavior.
Signed-off-by: Vinayak Kale vk...@apm.com
Acked-by: Anup Patel apa...@apm.com
Signed-off-by: Feng Kan f...@apm.com
---
V6: add gic_cpu_if_up function to replace macro used in v5
V5: Use macro to replace read
bits should not be changed by the kernel gic
code as it could lead to incorrect behavior.
Signed-off-by: Vinayak Kale vk...@apm.com
Acked-by: Anup Patel apa...@apm.com
Signed-off-by: Feng Kan f...@apm.com
---
V7: cleanup white spaces, remove export in gic.h, change if_up to static.
V6: add
#ifdef CONFIG_CPU_PM
@@ -613,7 +636,7 @@ static void gic_cpu_restore(unsigned int gic_nr)
dist_base + GIC_DIST_PRI + i * 4);
writel_relaxed(GIC_INT_PRI_THRESHOLD, cpu_base + GIC_CPU_PRIMASK);
- writel_relaxed(GIC_CPU_ENABLE, cpu_base +
Just checking to see anyone had time to take a look at this and comment.
On Sun, Dec 8, 2013 at 12:22 PM, Feng Kan f...@apm.com wrote:
This change is made to preserve the GIC v2 releated bits in the
GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec).
The original code only
Just checking to see anyone had time to take a look at this and comment.
Thanks
On Sun, Dec 8, 2013 at 12:22 PM, Feng Kan f...@apm.com wrote:
This change is made to preserve the GIC v2 releated bits in the
GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec).
The original code
Add a generic SYSCON register mapped reset mechanism.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig |7 +++
drivers/power/reset/Makefile|1 +
drivers/power/reset/syscon-reboot.c | 100 +++
3 files changed, 108
Select reboot driver for X-Gene platform.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index dd4327f..f43820f 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
Add X-Gene platform reboot driver dts node.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index d37d736
Remove X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig|7 ---
drivers/power/reset/Makefile |1 -
drivers/power/reset/xgene-reboot.c | 103
3 files changed, 0 insertions(+), 111 deletions
ACPI resource.
Feng Kan (5):
power: reset: Add generic SYSCON register mapped reset
power: reset: Remove X-Gene reboot driver
arm64: dts: Add X-Gene reboot driver dts node
arm64: Select reboot driver for X-Gene platform
Documentation: power: reset: Add documentation for generic SYSCON
Add documentation for generic SYSCON reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
.../bindings/power/reset/syscon-reboot.txt | 16
1 files changed, 16 insertions(+), 0 deletions(-)
create mode 100644
Documentation/devicetree/bindings/power/reset/syscon
On Fri, Jan 24, 2014 at 3:39 AM, Mark Rutland mark.rutl...@arm.com wrote:
On Thu, Jan 23, 2014 at 07:20:01PM +, Feng Kan wrote:
Add documentation for generic SYSCON reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
.../bindings/power/reset/syscon-reboot.txt | 16
On Fri, Jan 24, 2014 at 10:23 AM, Mark Rutland mark.rutl...@arm.com wrote:
On Fri, Jan 24, 2014 at 06:03:10PM +, Feng Kan wrote:
On Fri, Jan 24, 2014 at 3:39 AM, Mark Rutland mark.rutl...@arm.com wrote:
On Thu, Jan 23, 2014 at 07:20:01PM +, Feng Kan wrote:
Add documentation
Enable the X-Gene reboot driver to use either the ACPI or the DTS
resource using the platform driver method.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/xgene-reboot.c | 33 -
1 files changed, 28 insertions(+), 5 deletions(-)
diff --git
Remove the use of the mask attribute in the X-Gene reboot driver and
use fixed value.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/xgene-reboot.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/power/reset/xgene-reboot.c
b/drivers/power/reset
Enable X-Gene platform driver for the X-Gene platform. Remove the
use of the mask attribute from the reboot dts node. Add support
for using the ACPI and DTS resource for the reboot driver.
V2 Change:
- Add support for using ACPI resource.
Feng Kan (6):
Documentation: add dts binding
Add X-Gene reboot device tree node documentation.
Signed-off-by: Feng Kan f...@apm.com
---
.../devicetree/bindings/arm64/xgene/reboot.txt | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm64/xgene/reboot.txt
diff
Add missing dts entry for the X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index d37d736
Add ACPI code for X-Gene reboot platform driver.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/acpi/acpi_platform.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
index dbfe49e..9fe1d4f 100644
Select X-Gene reboot driver for X-Gene platform.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 249acb9..3d0c81e 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64
On Wed, Jan 8, 2014 at 1:43 PM, Arnd Bergmann a...@arndb.de wrote:
On Tuesday 07 January 2014, Feng Kan wrote:
Enable the X-Gene reboot driver to use either the ACPI or the DTS
resource using the platform driver method.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/xgene
On Wed, Jan 8, 2014 at 2:08 AM, Arnd Bergmann a...@arndb.de wrote:
On Wednesday 08 January 2014 10:05:50 Mark Rutland wrote:
+
+Example:
+
+ reboot@0 {
+ compatible = apm,xgene-reboot;
+ reg = 0x0 0x1714 0x0 0x4;
+ };
Given this seems to be a
the reboot driver to use syscon to parse out
system clock register. Remove the old method of getting
register from the reboot driver directly.
- Remove documentation since its now simple.
Feng Kan (3):
arm64: add reboot dts entry for X-Gene platform.
arm64: Enable
Add missing dts entries for the X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index
Select X-Gene reboot driver for X-Gene platform.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 249acb9..bfdf029 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64
Use the syscon driver to parse out the reboot register map and issue
reboot via the regmap function.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/xgene-reboot.c | 75 +---
1 files changed, 19 insertions(+), 56 deletions(-)
diff --git a/drivers
On Tue, Jan 14, 2014 at 8:07 AM, Matthew Garrett mj...@srcf.ucam.org wrote:
On Tue, Jan 07, 2014 at 02:50:35PM -0800, Feng Kan wrote:
Enable X-Gene platform driver for the X-Gene platform. Remove the
use of the mask attribute from the reboot dts node. Add support
for using the ACPI and DTS
documentation since its now simple.
V2 Change:
- Add support for using ACPI resource.
Feng Kan (5):
power: reset: Add generic SYSCON register mapped reset
power: reset: Remove X-Gene reboot driver
arm64: dts: Add X-Gene reboot driver dts node
arm64: Select reboot driver for X-Gene platform
Add a generic SYSCON register mapped reset mechanism.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig |7 +++
drivers/power/reset/Makefile|1 +
drivers/power/reset/syscon-reboot.c | 100 +++
3 files changed, 108
Select reboot driver for X-Gene platform.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index dd4327f..f43820f 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
Add X-Gene platform reboot driver dts node.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index d37d736
Remove X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig|7 ---
drivers/power/reset/Makefile |1 -
drivers/power/reset/xgene-reboot.c | 103
3 files changed, 0 insertions(+), 111 deletions
Add documentation for generic SYSCON reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
.../bindings/power/reset/syscon-reboot.txt | 23
1 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644
Documentation/devicetree/bindings/power/reset/syscon
Patel apa...@apm.com
Signed-off-by: Feng Kan f...@apm.com
---
drivers/irqchip/irq-gic.c | 19 ---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index d0e9480..6550ac9 100644
--- a/drivers/irqchip/irq-gic.c
+++ b
Any update on this? Thanks
On Wed, Dec 4, 2013 at 10:32 AM, Feng Kan f...@apm.com wrote:
Add dts node for X-Gene reboot driver. Apply documentation dts binding.
Some minor compile warning fix and enable reboot driver by default.
Feng Kan (4):
Documentation: add dts binding for X-Gene
On Tue, Jul 8, 2014 at 8:54 PM, Guenter Roeck li...@roeck-us.net wrote:
On 07/08/2014 07:15 PM, Feng Kan wrote:
Add a generic SYSCON register mapped reset mechanism.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig | 6 +++
drivers/power/reset/Makefile
On Tue, Jul 8, 2014 at 3:47 PM, Jason Cooper ja...@lakedaemon.net wrote:
Feng,
On Wed, Jul 02, 2014 at 02:18:58PM -0700, Feng Kan wrote:
This is to cleanup some hex numbers used in the code and replace
then with defines to make the code cleaner.
Signed-off-by: Feng Kan f...@apm.com
in place and submit it
afterward.
Feng Kan (2):
irqchip: gic: replace hex numbers with defines.
irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register
drivers/irqchip/irq-gic.c | 82 +++
1 file changed, 62 insertions(+), 20 deletions
bits should not be changed by the kernel gic
code as it could lead to incorrect behavior.
Signed-off-by: Vinayak Kale vk...@apm.com
Signed-off-by: Feng Kan f...@apm.com
Reviewed-by: Anup Patel apa...@apm.com
---
drivers/irqchip/irq-gic.c | 25 ++---
1 file changed, 22
This is to cleanup some hex numbers used in the code and replace
then with defines to make the code cleaner.
Signed-off-by: Feng Kan f...@apm.com
Reviewed-by: Anup Patel apa...@apm.com
---
drivers/irqchip/irq-gic.c | 62 -
include/linux/irqchip/arm
Remove X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig| 7 ---
drivers/power/reset/Makefile | 1 -
drivers/power/reset/xgene-reboot.c | 103 -
3 files changed, 111 deletions(-)
delete mode 100644
Add X-Gene platform reboot driver dts node.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index 40aa96c..53e70f8 100644
Add a generic SYSCON register mapped reset mechanism.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig | 6 +++
drivers/power/reset/Makefile| 1 +
drivers/power/reset/syscon-reboot.c | 91 +
3 files changed, 98 insertions
Select reboot driver for X-Gene platform.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index a474de34..91a2e25 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -140,6 +140,8
This add documentation for the SCU system clock unit device tree binding
to the kernel.
Signed-off-by: Feng Kan f...@apm.com
---
Documentation/devicetree/bindings/arm/apm/scu.txt | 17 +
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm
Add documentation for generic SYSCON reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
.../bindings/power/reset/syscon-reboot.txt | 23 ++
1 file changed, 23 insertions(+)
create mode 100644
Documentation/devicetree/bindings/power/reset/syscon-reboot.txt
diff
:
- Add support for using ACPI resource.
Feng Kan (5):
power: reset: Add generic SYSCON register mapped reset
power: reset: Remove X-Gene reboot driver
arm64: dts: Add X-Gene reboot driver dts node
arm64: Select reboot driver for X-Gene platform
Documentation: power: reset: Add
On Wed, Jun 25, 2014 at 6:05 PM, Thomas Gleixner t...@linutronix.de wrote:
On Wed, 25 Jun 2014, Feng Kan wrote:
This change is made to preserve the GIC v2 bypass bits in the
GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec).
This code will preserve all bits configured
On Wed, Jun 25, 2014 at 6:38 PM, Chen-Yu Tsai w...@csie.org wrote:
On Thu, Jun 26, 2014 at 7:03 AM, Feng Kan f...@apm.com wrote:
Add a generic SYSCON register mapped reset mechanism.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig | 6 +++
drivers/power/reset
Add X-Gene platform reboot driver dts node.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index 40aa96c..876952c 100644
Remove X-Gene reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig| 7 ---
drivers/power/reset/Makefile | 1 -
drivers/power/reset/xgene-reboot.c | 103 -
3 files changed, 111 deletions(-)
delete mode 100644
Add documentation for generic SYSCON reboot driver.
Signed-off-by: Feng Kan f...@apm.com
---
.../bindings/power/reset/syscon-reboot.txt | 23 ++
1 file changed, 23 insertions(+)
create mode 100644
Documentation/devicetree/bindings/power/reset/syscon-reboot.txt
diff
Add a generic SYSCON register mapped reset mechanism.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/power/reset/Kconfig | 6 +++
drivers/power/reset/Makefile| 1 +
drivers/power/reset/syscon-reboot.c | 91 +
3 files changed, 98 insertions
Select reboot driver for X-Gene platform.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index a474de34..91a2e25 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -140,6 +140,8
This add documentation for the SCU system clock unit device tree binding
to the kernel.
Signed-off-by: Feng Kan f...@apm.com
---
Documentation/devicetree/bindings/arm/apm/scu.txt | 17 +
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm
driver directly.
- Remove documentation since its now simple.
V2 Change:
- Add support for using ACPI resource.
Feng Kan (6):
power: reset: Add generic SYSCON register mapped reset
Documentation: power: reset: Add documentation for generic SYSCON
reboot driver
was not working correctly, resending this with
rebase pull.
- had to pull HaoJian's change out of arm-gic.h to keep consistency.
- replace GIC defines as noted by Marc
- remove GIC_CPU_DISABLE since it no longer used.
- fix gic_cpu_if_down as noted by Marc
Feng Kan (2
This is to cleanup some hex numbers used in the code and replace
them with defines to make the code cleaner.
Signed-off-by: Feng Kan f...@apm.com
Reviewed-by: Anup Patel apa...@apm.com
---
drivers/irqchip/irq-gic-common.c | 15 +--
drivers/irqchip/irq-gic.c| 25
bits should not be changed by the kernel gic
code as it could lead to incorrect behavior.
Signed-off-by: Feng Kan f...@apm.com
Reviewed-by: Vinayak Kale vk...@apm.com
Reviewed-by: Anup Patel apa...@apm.com
---
drivers/irqchip/irq-gic.c | 25 ++---
include/linux/irqchip
This is to cleanup some hex numbers used in the code and replace
then with defines to make the code cleaner.
Signed-off-by: Feng Kan f...@apm.com
Reviewed-by: Anup Patel apa...@apm.com
---
drivers/irqchip/irq-gic.c | 62 -
include/linux/irqchip/arm
.
- had to pull HaoJian's change out of arm-gic.h to keep consistency.
- replace GIC defines as noted by Marc
- remove GIC_CPU_DISABLE since it no longer used.
- fix gic_cpu_if_down as noted by Marc
Feng Kan (2):
irqchip: gic: replace hex numbers with defines.
irqchip: gic
bits should not be changed by the kernel gic
code as it could lead to incorrect behavior.
Signed-off-by: Feng Kan f...@apm.com
Reviewed-by: Vinayak Kale vk...@apm.com
Reviewed-by: Anup Patel apa...@apm.com
---
drivers/irqchip/irq-gic.c | 25 ++---
1 file changed, 22 insertions
This adds the APM X-Gene Slimpro mailbox device tree node documentation.
Signed-off-by: Feng Kan f...@apm.com
---
.../bindings/mailbox/xgene-slimpro-mailbox.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644
Documentation/devicetree/bindings/mailbox/xgene
Add support for APM X-Gene platform mailbox driver.
Signed-off-by: Feng Kan f...@apm.com
---
drivers/mailbox/Kconfig | 10 ++
drivers/mailbox/Makefile| 1 +
drivers/mailbox/mailbox-xgene-slimpro.c | 287
3 files changed, 298
Mailbox device tree node for APM X-Gene platform.
Signed-off-by: Feng Kan f...@apm.com
---
arch/arm64/boot/dts/apm-storm.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi
b/arch/arm64/boot/dts/apm-storm.dtsi
index 40aa96c..93bcb4e 100644
This is to add the APM X-Gene platform mailbox driver. The mailbox driver
is based off Jassi Brar's mailbox framework. This patch set is based off
the following git.
https://github.com/sumananna/mailbox.git
Feng Kan (3):
mailbox: add support for APM X-Gene platform mailbox driver
bits should not be changed by the kernel gic
code as it could lead to incorrect behavior.
Signed-off-by: Feng Kan f...@apm.com
Reviewed-by: Vinayak Kale vk...@apm.com
Reviewed-by: Anup Patel apa...@apm.com
---
drivers/irqchip/irq-gic.c | 25 ++---
include/linux/irqchip
This is to cleanup some hex numbers used in the code and replace
them with defines to make the code cleaner.
Signed-off-by: Feng Kan f...@apm.com
Reviewed-by: Anup Patel apa...@apm.com
---
drivers/irqchip/irq-gic-common.c | 15 +--
drivers/irqchip/irq-gic.c| 25
was not working correctly, resending this with
rebase pull.
- had to pull HaoJian's change out of arm-gic.h to keep consistency.
- replace GIC defines as noted by Marc
- remove GIC_CPU_DISABLE since it no longer used.
- fix gic_cpu_if_down as noted by Marc
Feng Kan (2
1 - 100 of 532 matches
Mail list logo