This function actually needs no return value. So remove the unneeded
check and make it void.
Signed-off-by: Liguang Zhang
---
drivers/char/ipmi/ipmi_ssif.c | 81 +--
1 file changed, 20 insertions(+), 61 deletions(-)
diff --git a/drivers/char/ipmi/ipmi_ssif.c b
to get the real data length.
Signed-off-by: Liguang Zhang
---
drivers/i2c/busses/i2c-designware-core.h | 2 ++
drivers/i2c/busses/i2c-designware-master.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-designware-core.h
b/drivers/i2c/busses/i2c
to get the right data length.
Signed-off-by: Liguang Zhang
---
drivers/i2c/busses/i2c-designware-master.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-designware-master.c
b/drivers/i2c/busses/i2c-designware-master.c
index d6425ad6e6a3..c3cf76f6c607
CPU architecture is assigned to be a fixed value, it should be obtained
from midr register.
Signed-off-by: Liguang Zhang
---
arch/arm64/kernel/cpuinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c
index
Function arm64_is_fatal_ras_serror() is always called after
arm64_is_ras_serror(), so we should remove some needless
arm64_is_ras_serror() call in function arm64_ras_serror_get_severity().
Signed-off-by: Liguang Zhang
---
arch/arm64/include/asm/traps.h | 9 +
arch/arm64/kernel/traps.c
This patch-set try to support physically hot-plug/unplug
a cpu automatically, that is:
if you offline a cpu, it will automatically actually remove
a cpu, and if you hot-plug a cpu, then it will online this
cpu automatically.
so, offline is just like eject, but eject attribute seems not
available
add a notifier for anyone who are instresting in
ec space changing.
Signed-off-by: liguang
---
drivers/acpi/ec.c| 32
include/linux/acpi.h |2 ++
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
." is only present for recent kernel
(sorry, can't figure out since when), for a little
older kernel, there's not such approach AFAICS.
Signed-off-by: liguang
---
drivers/platform/x86/Kconfig |8
drivers/platform/x86/Makefile |1 +
drivers/platform/x86/cpu_
Signed-off-by: liguang
---
drivers/platform/x86/cpu_physic_hotplug.c | 30 ++--
1 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/drivers/platform/x86/cpu_physic_hotplug.c
b/drivers/platform/x86/cpu_physic_hotplug.c
index a52c042..1cdac1b 100644
." is only present for recent kernel
(sorry, can't figure out since when), for a little
older kernel, there's not such approach AFAICS.
Signed-off-by: liguang
---
drivers/platform/x86/Kconfig |8
drivers/platform/x86/Makefile |1 +
drivers/platform/x86/cpu_
add a notifier for anyone who are instresting in
ec space changing.
Signed-off-by: liguang
---
drivers/acpi/ec.c| 32
include/linux/acpi.h |2 ++
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
Signed-off-by: liguang
---
drivers/platform/x86/cpu_physic_hotplug.c | 27 +--
1 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/cpu_physic_hotplug.c
b/drivers/platform/x86/cpu_physic_hotplug.c
index a52c042..a84c999 100644
This patch-set try to support physically hot-plug/unplug
a cpu automatically, that is:
if you offline a cpu, it will automatically actually remove
a cpu, and if you hot-plug a cpu, then it will online this
cpu automatically.
so, offline is just like eject, but eject attribute seems not
available
This patch-set try to support physically hot-plug/unplug
a cpu automatically, that is:
if you offline a cpu, it will automatically actually remove
a cpu, and if you hot-plug a cpu, then it will online this
cpu automatically.
so, offline is just like eject, but eject attribute seems not
available
kernel
(sorry, can't figure out since when), for a little
older kernel, there's not such approach AFAICS.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/platform/x86/Kconfig |8
drivers/platform/x86/Makefile |1 +
drivers/platform/x86
add a notifier for anyone who are instresting in
ec space changing.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/acpi/ec.c| 32
include/linux/acpi.h |2 ++
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/ec.c b
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/platform/x86/cpu_physic_hotplug.c | 27 +--
1 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/cpu_physic_hotplug.c
b/drivers/platform/x86/cpu_physic_hotplug.c
index a52c042
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/platform/x86/cpu_physic_hotplug.c | 30 ++--
1 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/drivers/platform/x86/cpu_physic_hotplug.c
b/drivers/platform/x86/cpu_physic_hotplug.c
index a52c042
add a notifier for anyone who are instresting in
ec space changing.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/acpi/ec.c| 32
include/linux/acpi.h |2 ++
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/ec.c b
This patch-set try to support physically hot-plug/unplug
a cpu automatically, that is:
if you offline a cpu, it will automatically actually remove
a cpu, and if you hot-plug a cpu, then it will online this
cpu automatically.
so, offline is just like eject, but eject attribute seems not
available
kernel
(sorry, can't figure out since when), for a little
older kernel, there's not such approach AFAICS.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/platform/x86/Kconfig |8
drivers/platform/x86/Makefile |1 +
drivers/platform/x86
bm_rld_set seems obsolete now
Signed-off-by: liguang
---
include/xen/interface/platform.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h
index c57d5f6..733 100644
--- a/include/xen/interface
bm_rld_set seems obsolete now
Signed-off-by: liguang
---
include/acpi/processor.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index ea69367..cfec509 100644
--- a/include/acpi/processor.h
+++ b/include/acpi
bm_rld_set seems obsolete now
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
include/xen/interface/platform.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h
index c57d5f6..733 100644
bm_rld_set seems obsolete now
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
include/acpi/processor.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index ea69367..cfec509 100644
--- a/include/acpi/processor.h
kernel_shutdown_prepare's parameter can be removed
by checking global 'system_state', so, maybe we
can save a register to be used :-).
Signed-off-by: liguang
---
kernel/sys.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/kernel/sys.c b/kernel/sys.c
index
Signed-off-by: liguang
---
include/linux/reboot.h |2 +-
kernel/sys.c |6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/linux/reboot.h b/include/linux/reboot.h
index 23b3630..a8c5e4c 100644
--- a/include/linux/reboot.h
+++ b/include/linux
if LINUX_REBOOT_CMD_HALT for reboot failed,
message "cannot halt" will stay in same line
with next message, so append a '\n' for it.
Signed-off-by: liguang
---
kernel/sys.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sys.c b/kernel/sys.c
ind
Signed-off-by: liguang
---
kernel/sys.c | 12 +---
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/kernel/sys.c b/kernel/sys.c
index b95d3c7..07c6177 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -151,9 +151,9 @@ static bool set_one_prio_perm(struct task_struct *p
orderly_poweroff is expecting a bool parameter, so
use 'true' instead '1'
Signed-off-by: liguang
---
arch/powerpc/platforms/pseries/ras.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/ras.c
b/arch/powerpc/platforms/pseries/ras.c
orderly_poweroff is expecting a bool parameter, so
use 'ture' instead '1'
Signed-off-by: liguang
---
arch/powerpc/platforms/pseries/ras.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/ras.c
b/arch/powerpc/platforms/pseries/ras.c
'system_state < SYSTEM_RUNNING' will have same effect
with 'system_state == SYSTEM_BOOTING', but the later
one is more clearer.
Signed-off-by: liguang
---
arch/powerpc/platforms/cell/smp.c|2 +-
arch/powerpc/platforms/powernv/smp.c |2 +-
arch/powerpc/platforms/pseries/smp.c |
'system_state SYSTEM_RUNNING' will have same effect
with 'system_state == SYSTEM_BOOTING', but the later
one is more clearer.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/powerpc/platforms/cell/smp.c|2 +-
arch/powerpc/platforms/powernv/smp.c |2 +-
arch/powerpc/platforms
orderly_poweroff is expecting a bool parameter, so
use 'ture' instead '1'
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/powerpc/platforms/pseries/ras.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/ras.c
b/arch/powerpc
orderly_poweroff is expecting a bool parameter, so
use 'true' instead '1'
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/powerpc/platforms/pseries/ras.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/ras.c
b/arch/powerpc
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
kernel/sys.c | 12 +---
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/kernel/sys.c b/kernel/sys.c
index b95d3c7..07c6177 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -151,9 +151,9 @@ static bool set_one_prio_perm
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
include/linux/reboot.h |2 +-
kernel/sys.c |6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/linux/reboot.h b/include/linux/reboot.h
index 23b3630..a8c5e4c 100644
--- a/include/linux/reboot.h
if LINUX_REBOOT_CMD_HALT for reboot failed,
message cannot halt will stay in same line
with next message, so append a '\n' for it.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
kernel/sys.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sys.c b/kernel/sys.c
kernel_shutdown_prepare's parameter can be removed
by checking global 'system_state', so, maybe we
can save a register to be used :-).
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
kernel/sys.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/kernel/sys.c b
seems CONFIG_INIT_ALL_POSSIBLE is obsolete now.
Signed-off-by: liguang
---
kernel/cpu.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/kernel/cpu.c b/kernel/cpu.c
index cd166d3..2697d1a 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -662,12 +662,7
seems CONFIG_INIT_ALL_POSSIBLE is obsolete now.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
kernel/cpu.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/kernel/cpu.c b/kernel/cpu.c
index cd166d3..2697d1a 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -662,12
in cpu_down(), _cpu_down() will do
"
if (num_online_cpus() == 1)
return -EBUSY;
"
when cpu_hotplug_disabled was set, num_online_cpus
will return 1 for there's only 1 boot cpu.
so, it's unnecessary to check cpu_hotplug_disabled
here.
Signed-off-by: liguang
-
in cpu_down(), _cpu_down() will do
if (num_online_cpus() == 1)
return -EBUSY;
when cpu_hotplug_disabled was set, num_online_cpus
will return 1 for there's only 1 boot cpu.
so, it's unnecessary to check cpu_hotplug_disabled
here.
Signed-off-by: liguang lig.f
seems we should comment DEBUG as above comment said:
"/* un-comment DEBUG to enable pr_debug() statements */"
now, pr_debug is already enabled as DEBUG been defined.
Signed-off-by: liguang
---
drivers/idle/intel_idle.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
seems we should comment DEBUG as above comment said:
/* un-comment DEBUG to enable pr_debug() statements */
now, pr_debug is already enabled as DEBUG been defined.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/idle/intel_idle.c |2 +-
1 files changed, 1 insertions(+), 1
the 'priv' field seems a little redundant,
because we can pass data via 'info'.
Signed-off-by: liguang
---
include/linux/smp.h |1 -
kernel/softirq.c|6 ++
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/include/linux/smp.h b/include/linux/smp.h
index 3e07a7d
ar 1 bit.
Signed-off-by: liguang
---
kernel/smp.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/smp.c b/kernel/smp.c
index 1818dc0..2d5deb4 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -109,7 +109,7 @@ static void csd_lock_wait(struct call_single_data *d
-by: liguang lig.f...@cn.fujitsu.com
---
kernel/smp.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/smp.c b/kernel/smp.c
index 1818dc0..2d5deb4 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -109,7 +109,7 @@ static void csd_lock_wait(struct call_single_data *data
the 'priv' field seems a little redundant,
because we can pass data via 'info'.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
include/linux/smp.h |1 -
kernel/softirq.c|6 ++
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/include/linux/smp.h b/include/linux
if we pull some commits from other git repo
which bring in a few CONFIG_* options, then
we have to build all again, but we do assure
these options are not interesting for us,
so the long waiting build will be offending.
this change help us to avoid all-build.
Signed-off-by: liguang
---
Makefile
if we pull some commits from other git repo
which bring in a few CONFIG_* options, then
we have to build all again, but we do assure
these options are not interesting for us,
so the long waiting build will be offending.
this change help us to avoid all-build.
Signed-off-by: liguang
---
Makefile
if we pull some commits from other git repo
which bring in a few CONFIG_* options, then
we have to build all again, but we do assure
these options are not interesting for us,
so the long waiting build will be offending.
this change help us to avoid all-build.
Signed-off-by: liguang lig.f
if we pull some commits from other git repo
which bring in a few CONFIG_* options, then
we have to build all again, but we do assure
these options are not interesting for us,
so the long waiting build will be offending.
this change help us to avoid all-build.
Signed-off-by: liguang lig.f
Commit-ID: 66857b5a8bc61b0c5e7a9c96f02558ef6d4109c6
Gitweb: http://git.kernel.org/tip/66857b5a8bc61b0c5e7a9c96f02558ef6d4109c6
Author: liguang
AuthorDate: Tue, 26 Feb 2013 12:12:52 +0800
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 15 Mar 2013 13:05:59 -0300
perf tools: Sort
Commit-ID: 66857b5a8bc61b0c5e7a9c96f02558ef6d4109c6
Gitweb: http://git.kernel.org/tip/66857b5a8bc61b0c5e7a9c96f02558ef6d4109c6
Author: liguang lig.f...@cn.fujitsu.com
AuthorDate: Tue, 26 Feb 2013 12:12:52 +0800
Committer: Arnaldo Carvalho de Melo a...@redhat.com
CommitDate: Fri, 15 Mar
Signed-off-by: liguang
---
kernel/task_work.c | 15 +++
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/kernel/task_work.c b/kernel/task_work.c
index 65bd3c9..0bf4258 100644
--- a/kernel/task_work.c
+++ b/kernel/task_work.c
@@ -13,11 +13,12 @@ task_work_add(struct
Signed-off-by: liguang
---
kernel/task_work.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/task_work.c b/kernel/task_work.c
index 0bf4258..f458b08 100644
--- a/kernel/task_work.c
+++ b/kernel/task_work.c
@@ -75,7 +75,8 @@ void task_work_run(void
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
kernel/task_work.c | 15 +++
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/kernel/task_work.c b/kernel/task_work.c
index 65bd3c9..0bf4258 100644
--- a/kernel/task_work.c
+++ b/kernel/task_work.c
@@ -13,11 +13,12
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
kernel/task_work.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/task_work.c b/kernel/task_work.c
index 0bf4258..f458b08 100644
--- a/kernel/task_work.c
+++ b/kernel/task_work.c
@@ -75,7 +75,8 @@ void
Signed-off-by: liguang
---
kernel/semaphore.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/semaphore.c b/kernel/semaphore.c
index 9c7017d..6815171 100644
--- a/kernel/semaphore.c
+++ b/kernel/semaphore.c
@@ -193,7 +193,7 @@ EXPORT_SYMBOL(up);
struct
Signed-off-by: liguang
---
kernel/semaphore.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/semaphore.c b/kernel/semaphore.c
index 4567fc0..9c7017d 100644
--- a/kernel/semaphore.c
+++ b/kernel/semaphore.c
@@ -214,7 +214,7 @@ static inline int __sched
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
kernel/semaphore.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/semaphore.c b/kernel/semaphore.c
index 4567fc0..9c7017d 100644
--- a/kernel/semaphore.c
+++ b/kernel/semaphore.c
@@ -214,7 +214,7 @@ static inline
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
kernel/semaphore.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/semaphore.c b/kernel/semaphore.c
index 9c7017d..6815171 100644
--- a/kernel/semaphore.c
+++ b/kernel/semaphore.c
@@ -193,7 +193,7
according to ACPI 5.0 Table 15-273
Address Range Descriptor Structure,
offset 20 is 32-bit field of Extended
Attributes for Address Range Descriptor Structure.
Signed-off-by: liguang
---
arch/x86/include/uapi/asm/e820.h |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff
E820_RAM -> E820_TYPE_RAM
E820_ACPI-> E820_TYPE_ACPI
...
names like E820_RAM is conflict-prone,
because user is more likely to define
a macro like this if did not strongly
aware this name have been defined
by e820.h
Signed-off-by: liguang
---
arch/x86/boot/compressed/eboot.c
E820_RAM - E820_TYPE_RAM
E820_ACPI- E820_TYPE_ACPI
...
names like E820_RAM is conflict-prone,
because user is more likely to define
a macro like this if did not strongly
aware this name have been defined
by e820.h
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/x86/boot/compressed
according to ACPI 5.0 Table 15-273
Address Range Descriptor Structure,
offset 20 is 32-bit field of Extended
Attributes for Address Range Descriptor Structure.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/x86/include/uapi/asm/e820.h |7 ++-
1 files changed, 6 insertions(+), 1
Signed-off-by: liguang
---
tools/perf/arch/mips/Makefile |4 +++
tools/perf/arch/mips/util/dwarf-regs.c | 33
2 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 tools/perf/arch/mips/Makefile
create mode 100644 tools/perf/arch
Signed-off-by: liguang
---
tools/perf/command-list.txt | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tools/perf/command-list.txt b/tools/perf/command-list.txt
index 3e86bbd..a28e31b 100644
--- a/tools/perf/command-list.txt
+++ b/tools/perf/command-list.txt
builtin-annotate.c: In function 'hists__find_annotations':
builtin-annotate.c:161:4: error: duplicate case value
builtin-annotate.c:154:4: error: previously used here
it happened when no newt installed
Signed-off-by: liguang
---
tools/perf/util/hist.h |4 ++--
1 files changed, 2 insertions
srat table should present only on acpi domain,
seems mm/ is not the right place for it.
Reviewed-by: Yasuaki Ishimatsu
Signed-off-by: liguang
---
arch/x86/kernel/acpi/Makefile |1 +
arch/x86/kernel/acpi/srat.c | 317 +
arch/x86/mm/Makefile
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
tools/perf/command-list.txt | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tools/perf/command-list.txt b/tools/perf/command-list.txt
index 3e86bbd..a28e31b 100644
--- a/tools/perf/command-list.txt
+++ b
builtin-annotate.c: In function 'hists__find_annotations':
builtin-annotate.c:161:4: error: duplicate case value
builtin-annotate.c:154:4: error: previously used here
it happened when no newt installed
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
tools/perf/util/hist.h |4 ++--
1
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
tools/perf/arch/mips/Makefile |4 +++
tools/perf/arch/mips/util/dwarf-regs.c | 33
2 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 tools/perf/arch/mips/Makefile
create mode
srat table should present only on acpi domain,
seems mm/ is not the right place for it.
Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/x86/kernel/acpi/Makefile |1 +
arch/x86/kernel/acpi/srat.c | 317
just do some trivial changes to make acpi's numa info
operation more cleaner.
ChangeLog
v3->v4
1.fix srat_disabled function
spotted by Yasuaki Ishimatsu
v2->v3
1. rebase on linux-next
2. bring back lost Makefile changes
spotted by David Rientjes
spotted by Yasuaki Ishimatsu
v1->v2
1.
srat table should present only on acpi domain,
seems mm/ is not the right place for it.
Reviewed-by: Yasuaki Ishimatsu
Signed-off-by: liguang
---
arch/x86/kernel/acpi/Makefile |1 +
arch/x86/kernel/acpi/srat.c | 284 +
arch/x86/mm/Makefile
srat table should present only on acpi domain,
seems mm/ is not the right place for it.
Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/x86/kernel/acpi/Makefile |1 +
arch/x86/kernel/acpi/srat.c | 284
just do some trivial changes to make acpi's numa info
operation more cleaner.
ChangeLog
v3-v4
1.fix srat_disabled function
spotted by Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
v2-v3
1. rebase on linux-next
2. bring back lost Makefile changes
spotted by David Rientjes
just do some trivial changes to make acpi's numa info
operation more cleaner.
ChangeLog
v3->v4
1.fix srat_disabled function
spotted by Yasuaki Ishimatsu
v2->v3
1. rebase on linux-next
2. bring back lost Makefile changes
spotted by David Rientjes
spotted by Yasuaki Ishimatsu
v1->v2
1.
a fuction to get srat table
enable/disable info.
Signed-off-by: liguang
---
arch/x86/include/asm/acpi.h |2 +-
arch/x86/kernel/acpi/srat.c | 21 +
arch/x86/mm/numa.c |2 +-
arch/x86/xen/enlighten.c|2 +-
4 files changed, 16 insertions(+), 11 deletions
process_driver.c include linux/acpi.h which already
include asm/acpi.h, so remove it.
Reviewed-by: Yasuaki Ishimatsu
Acked-by: David Rientjes
Signed-off-by: liguang
---
drivers/acpi/processor_driver.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi
srat table should present only on acpi domain,
seems mm/ is not the right place for it.
Reviewed-by: Yasuaki Ishimatsu
Signed-off-by: liguang
---
arch/x86/kernel/acpi/Makefile |1 +
arch/x86/kernel/acpi/srat.c | 278 +
arch/x86/mm/Makefile
according to ACPI SPEC v5.0, page 152,
5.2.16.1 Processor Local APIC/SAPIC Affinity Structure,
the last member of it is clock_domain.
Reviewed-by: Yasuaki Ishimatsu
Acked-by: David Rientjes
Signed-off-by: liguang
---
include/acpi/actbl1.h |2 +-
1 files changed, 1 insertions(+), 1
according to ACPI SPEC v5.0, page 152,
5.2.16.1 Processor Local APIC/SAPIC Affinity Structure,
the last member of it is clock_domain.
Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
Acked-by: David Rientjes rient...@google.com
Signed-off-by: liguang lig.f...@cn.fujitsu.com
srat table should present only on acpi domain,
seems mm/ is not the right place for it.
Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/x86/kernel/acpi/Makefile |1 +
arch/x86/kernel/acpi/srat.c | 278
process_driver.c include linux/acpi.h which already
include asm/acpi.h, so remove it.
Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
Acked-by: David Rientjes rient...@google.com
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/acpi/processor_driver.c |1 -
1 files
a fuction to get srat table
enable/disable info.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
arch/x86/include/asm/acpi.h |2 +-
arch/x86/kernel/acpi/srat.c | 21 +
arch/x86/mm/numa.c |2 +-
arch/x86/xen/enlighten.c|2 +-
4 files changed, 16 insertions
just do some trivial changes to make acpi's numa info
operation more cleaner.
ChangeLog
v3-v4
1.fix srat_disabled function
spotted by Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
v2-v3
1. rebase on linux-next
2. bring back lost Makefile changes
spotted by David Rientjes
sgidefs.h has strict check for __linux__,
it seems too harsh, as far as I test, 2 cross
compiler for mips will not define it automatically,
and exit build process with error
"#error Use a Linux compiler or give up".
remove it will not hurt, I think.
Signed-off-by: liguang
---
arch/mi
sgidefs.h has strict check for __linux__,
it seems too harsh, as far as I test, 2 cross
compiler for mips will not define it automatically,
and exit build process with error
#error Use a Linux compiler or give up.
remove it will not hurt, I think.
Signed-off-by: liguang lig.f...@cn.fujitsu.com
linux/mmzone.h included linux/memory_hotplug.h,
and linux/memory_hotplug.h also included
linux/mmzone.h, so there's a bad cirlular.
these are quite mechanical changes by a simple
script, I've tested for ARCH x86,arm,mips,
may someone help to test more.
Signed-off-by: liguang
---
many thanks
linux/mmzone.h included linux/memory_hotplug.h,
and linux/memory_hotplug.h also included
linux/mmzone.h, so there's a bad cirlular.
these are quite mechanical changes by a simple
script, I've tested for ARCH x86,arm,mips,
may someone help to test more.
Signed-off-by: liguang lig.f
a fuction to get srat table
enable/disable info.
Signed-off-by: liguang
---
arch/x86/include/asm/acpi.h |2 +-
arch/x86/kernel/acpi/srat.c | 21 +
arch/x86/mm/numa.c |2 +-
arch/x86/xen/enlighten.c|2 +-
4 files changed, 16 insertions(+), 11 deletions
according to ACPI SPEC v5.0, page 152,
5.2.16.1 Processor Local APIC/SAPIC Affinity Structure,
the last member of it is clock_domain.
Reviewed-by: Yasuaki Ishimatsu
Acked-by: David Rientjes
Signed-off-by: liguang
---
include/acpi/actbl1.h |2 +-
1 files changed, 1 insertions(+), 1
just do some trivial changes to make acpi's numa info
operation more cleaner.
ChangeLog
v3->v4
1.fix srat_disabled function
spotted by Yasuaki Ishimatsu
v2->v3
1. rebase on linux-next
2. bring back lost Makefile changes
spotted by David Rientjes
spotted by Yasuaki Ishimatsu
v1->v2
1.
srat table should present only on acpi domain,
seems mm/ is not the right place for it.
Reviewed-by: Yasuaki Ishimatsu
Signed-off-by: liguang
---
arch/x86/kernel/acpi/Makefile |1 +
arch/x86/kernel/acpi/srat.c | 198 +
arch/x86/mm/Makefile
process_driver.c include linux/acpi.h which already
include asm/acpi.h, so remove it.
Reviewed-by: Yasuaki Ishimatsu
Acked-by: David Rientjes
Signed-off-by: liguang
---
drivers/acpi/processor_driver.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi
process_driver.c include linux/acpi.h which already
include asm/acpi.h, so remove it.
Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
Acked-by: David Rientjes rient...@google.com
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
drivers/acpi/processor_driver.c |1 -
1 files
just do some trivial changes to make acpi's numa info
operation more cleaner.
ChangeLog
v3-v4
1.fix srat_disabled function
spotted by Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com
v2-v3
1. rebase on linux-next
2. bring back lost Makefile changes
spotted by David Rientjes
1 - 100 of 149 matches
Mail list logo