Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbd67124 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

Merge branch 'linus' into x86/irq

parents d939d285 543cf4cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,7 @@ tags
TAGS
TAGS
vmlinux*
vmlinux*
!vmlinux.lds.S
!vmlinux.lds.S
!vmlinux.lds.h
System.map
System.map
Module.markers
Module.markers
Module.symvers
Module.symvers
+6 −14
Original line number Original line Diff line number Diff line
@@ -84,10 +84,9 @@
    runs an instance of gdb against the vmlinux file which contains
    runs an instance of gdb against the vmlinux file which contains
    the symbols (not boot image such as bzImage, zImage, uImage...).
    the symbols (not boot image such as bzImage, zImage, uImage...).
    In gdb the developer specifies the connection parameters and
    In gdb the developer specifies the connection parameters and
    connects to kgdb.  Depending on which kgdb I/O modules exist in
    connects to kgdb.  The type of connection a developer makes with
    the kernel for a given architecture, it may be possible to debug
    gdb depends on the availability of kgdb I/O modules compiled as
    the test machine's kernel with the development machine using a
    builtin's or kernel modules in the test machine's kernel.
    rs232 or ethernet connection.
    </para>
    </para>
  </chapter>
  </chapter>
  <chapter id="CompilingAKernel">
  <chapter id="CompilingAKernel">
@@ -223,7 +222,7 @@
  </para>
  </para>
  <para>
  <para>
  IMPORTANT NOTE: Using this option with kgdb over the console
  IMPORTANT NOTE: Using this option with kgdb over the console
  (kgdboc) or kgdb over ethernet (kgdboe) is not supported.
  (kgdboc) is not supported.
  </para>
  </para>
  </sect1>
  </sect1>
  </chapter>
  </chapter>
@@ -249,18 +248,11 @@
    (gdb) target remote /dev/ttyS0
    (gdb) target remote /dev/ttyS0
    </programlisting>
    </programlisting>
    <para>
    <para>
    Example (kgdb to a terminal server):
    Example (kgdb to a terminal server on tcp port 2012):
    </para>
    </para>
    <programlisting>
    <programlisting>
    % gdb ./vmlinux
    % gdb ./vmlinux
    (gdb) target remote udp:192.168.2.2:6443
    (gdb) target remote 192.168.2.2:2012
    </programlisting>
    <para>
    Example (kgdb over ethernet):
    </para>
    <programlisting>
    % gdb ./vmlinux
    (gdb) target remote udp:192.168.2.2:6443
    </programlisting>
    </programlisting>
    <para>
    <para>
    Once connected, you can debug a kernel the way you would debug an
    Once connected, you can debug a kernel the way you would debug an
+1 −1
Original line number Original line Diff line number Diff line
@@ -542,7 +542,7 @@ otherwise initial value -1 that indicates the cpuset has no request.
   2  : search cores in a package.
   2  : search cores in a package.
   3  : search cpus in a node [= system wide on non-NUMA system]
   3  : search cpus in a node [= system wide on non-NUMA system]
 ( 4  : search nodes in a chunk of node [on NUMA system] )
 ( 4  : search nodes in a chunk of node [on NUMA system] )
 ( 5~ : search system wide [on NUMA system])
 ( 5  : search system wide [on NUMA system] )


This file is per-cpuset and affect the sched domain where the cpuset
This file is per-cpuset and affect the sched domain where the cpuset
belongs to.  Therefore if the flag 'sched_load_balance' of a cpuset
belongs to.  Therefore if the flag 'sched_load_balance' of a cpuset
+13 −20
Original line number Original line Diff line number Diff line
@@ -2,17 +2,12 @@ Naming and data format standards for sysfs files
------------------------------------------------
------------------------------------------------


The libsensors library offers an interface to the raw sensors data
The libsensors library offers an interface to the raw sensors data
through the sysfs interface. See libsensors documentation and source for
through the sysfs interface. Since lm-sensors 3.0.0, libsensors is
further information. As of writing this document, libsensors
completely chip-independent. It assumes that all the kernel drivers
(from lm_sensors 2.8.3) is heavily chip-dependent. Adding or updating
implement the standard sysfs interface described in this document.
support for any given chip requires modifying the library's code.
This makes adding or updating support for any given chip very easy, as
This is because libsensors was written for the procfs interface
libsensors, and applications using it, do not need to be modified.
older kernel modules were using, which wasn't standardized enough.
This is a major improvement compared to lm-sensors 2.
Recent versions of libsensors (from lm_sensors 2.8.2 and later) have
support for the sysfs interface, though.

The new sysfs interface was designed to be as chip-independent as
possible.


Note that motherboards vary widely in the connections to sensor chips.
Note that motherboards vary widely in the connections to sensor chips.
There is no standard that ensures, for example, that the second
There is no standard that ensures, for example, that the second
@@ -35,19 +30,17 @@ access this data in a simple and consistent way. That said, such programs
will have to implement conversion, labeling and hiding of inputs. For
will have to implement conversion, labeling and hiding of inputs. For
this reason, it is still not recommended to bypass the library.
this reason, it is still not recommended to bypass the library.


If you are developing a userspace application please send us feedback on
this standard.

Note that this standard isn't completely established yet, so it is subject
to changes. If you are writing a new hardware monitoring driver those
features can't seem to fit in this interface, please contact us with your
extension proposal. Keep in mind that backward compatibility must be
preserved.

Each chip gets its own directory in the sysfs /sys/devices tree.  To
Each chip gets its own directory in the sysfs /sys/devices tree.  To
find all sensor chips, it is easier to follow the device symlinks from
find all sensor chips, it is easier to follow the device symlinks from
/sys/class/hwmon/hwmon*.
/sys/class/hwmon/hwmon*.


Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes
in the "physical" device directory. Since lm-sensors 3.0.1, attributes found
in the hwmon "class" device directory are also supported. Complex drivers
(e.g. drivers for multifunction chips) may want to use this possibility to
avoid namespace pollution. The only drawback will be that older versions of
libsensors won't support the driver in question.

All sysfs values are fixed point numbers.
All sysfs values are fixed point numbers.


There is only one value per file, unlike the older /proc specification.
There is only one value per file, unlike the older /proc specification.
+3 −3
Original line number Original line Diff line number Diff line
@@ -4431,10 +4431,10 @@ M: johnpol@2ka.mipt.ru
S:	Maintained
S:	Maintained


W83791D HARDWARE MONITORING DRIVER
W83791D HARDWARE MONITORING DRIVER
P:	Charles Spirakis
P:	Marc Hulsman
M:	bezaur@gmail.com
M:	m.hulsman@tudelft.nl
L:	lm-sensors@lm-sensors.org
L:	lm-sensors@lm-sensors.org
S:	Odd Fixes
S:	Maintained


W83793 HARDWARE MONITORING DRIVER
W83793 HARDWARE MONITORING DRIVER
P:	Rudolf Marek
P:	Rudolf Marek
Loading