This commit is power management porting for nds32. Changes in V2: 1. Fix the my complete name "Nickhu" to "Nick Hu". 2. Fix missing space in 'arch/nds32/kernel/sleep.S'. 3. Use normal bit operations to replace the array 'is_bit_1' in 'drivers/irqchip/irq-ativic32.c'. Nick Hu (1): nds32: Power management for nds32 arch/nds32/Kconfig | 10 +++ arch/nds32/include/asm/suspend.h | 11 +++ arch/nds32/kernel/Makefile | 2 +- arch/nds32/kernel/pm.c | 79 +++++++++++++++++++ arch/nds32/kernel/sleep.S | 129 +++++++++++++++++++++++++++++++ drivers/irqchip/irq-ativic32.c | 31 ++++++++ 6 files changed, 261 insertions(+), 1 deletion(-) create mode 100644 arch/nds32/include/asm/suspend.h create mode 100644 arch/nds32/kernel/pm.c create mode 100644 arch/nds32/kernel/sleep.S -- 2.17.0