2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/Documentation/ia64
Xie XiuQi 83d435dd6e Fix example error_injection_tool
I got a "sched_setaffinity:: Invalid argument" error when using
err_injection_tool to inject error on a system with over 32 cpus.

Error information when injecting an error on a system with over 32 cpus:
$ ./err_injection_tool -i
/sys/devices/system/cpu/cpu0/err_inject//err_type_info
Begine at Tue Mar 26 11:20:08 2013
Configurations:
On cpu32: loop=10, interval=5(s) err_type_info=4101,err_struct_info=95
Error sched_setaffinity:: Invalid argument
All done

This because there is overflow when calculating the cpumask: the
type of (1<<k) is int, while mask[j] is unsigned long. When k > 31,
(1<<k) is truncated to ZERO, resulting in a unexpected cpumask.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2013-04-02 09:39:55 -07:00
..
.gitignore .gitignore updates 2008-10-30 11:38:45 -07:00
aliasing-test.c doc: aliasing-test: close fd on write error 2012-09-01 09:57:10 -07:00
aliasing.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
efirtc.txt Documentation: remove duplicated words 2006-10-03 22:57:56 +02:00
err_inject.txt Fix example error_injection_tool 2013-04-02 09:39:55 -07:00
fsys.txt Fix some typos in Documentation/: 'A' 2006-10-03 22:45:33 +02:00
IRQ-redir.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kvm.txt trivial: Fix misspelling of firmware 2009-03-30 15:21:59 +02:00
Makefile docsrc: build Documentation/ sources 2008-08-12 16:07:30 -07:00
mca.txt Documentation: remove duplicated words 2006-10-03 22:57:56 +02:00
paravirt_ops.txt [IA64] pvops: documentation on ia64/pv_ops 2008-05-27 15:16:47 -07:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
serial.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
xen.txt ia64/xen: a recipe for using xen/ia64 with pv_ops. 2008-10-17 10:11:39 -07:00

        Linux kernel release 2.4.xx for the IA-64 Platform

   These are the release notes for Linux version 2.4 for IA-64
   platform.  This document provides information specific to IA-64
   ONLY, to get additional information about the Linux kernel also
   read the original Linux README provided with the kernel.

INSTALLING the kernel:

 - IA-64 kernel installation is the same as the other platforms, see
   original README for details.


SOFTWARE REQUIREMENTS

   Compiling and running this kernel requires an IA-64 compliant GCC
   compiler.  And various software packages also compiled with an
   IA-64 compliant GCC compiler.


CONFIGURING the kernel:

   Configuration is the same, see original README for details.


COMPILING the kernel:

 - Compiling this kernel doesn't differ from other platform so read
   the original README for details BUT make sure you have an IA-64
   compliant GCC compiler.

IA-64 SPECIFICS

 - General issues:

    o Hardly any performance tuning has been done. Obvious targets
      include the library routines (IP checksum, etc.). Less
      obvious targets include making sure we don't flush the TLB
      needlessly, etc.

    o SMP locks cleanup/optimization

    o IA32 support.  Currently experimental.  It mostly works.