<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/include/uapi, branch dev-4.7</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.7</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2017-02-03T00:21:44+00:00</updated>
<entry>
<title>drivers: fsi: i2c: add driver file operations and bus locking</title>
<updated>2017-02-03T00:21:44+00:00</updated>
<author>
<name>Edward A. James</name>
<email>eajames@us.ibm.com</email>
</author>
<published>2017-02-02T23:26:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=2060a76b17832bbf15334c0092cb3345ce8574f5'/>
<id>urn:sha1:2060a76b17832bbf15334c0092cb3345ce8574f5</id>
<content type='text'>
Signed-off-by: Edward A. James &lt;eajames@us.ibm.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>uapi: aspeed-lpc-ctrl: Update userspace structure</title>
<updated>2017-01-16T23:46:29+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2017-01-16T23:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=26d51e63ed7433662b0137dff63b42d6969417d5'/>
<id>urn:sha1:26d51e63ed7433662b0137dff63b42d6969417d5</id>
<content type='text'>
Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt; wrote:
 &gt; The implicit padding is a matter of ABI more than C standard, we
 &gt; already rely on this in a bazillion of places but it *has* bitten us in
 &gt; a few corner cases (mostly when u64 is involved due to ABI differences
 &gt; between 32-bit and 64-bit), so explicit padding is indeed preferred.
 &gt;
 &gt; Cyril can you respin with:
 &gt;
 &gt;         struct aspeed_lpc_ctrl_mapping {
 &gt;                 __u8    window_type;
 &gt;                 __u8    window_id;
 &gt;                 __u16   pad;
 &gt;                 __u32   addr;
 &gt;                 __u32   offset;
 &gt;                 __u32   size;
 &gt;
 &gt; I prefer that, it makes more sense to keep the window type/id at the
 &gt; top. Alternatively call "pad", "flags", and describe that clients must
 &gt; zero it, that way we can use it for future extensions of we ever have
 &gt; to.

We have gone with the flags option.

Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>drivers/misc: Add Aspeed LPC control driver</title>
<updated>2017-01-16T00:19:03+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyrilbur@gmail.com</email>
</author>
<published>2017-01-15T23:09:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5ff1583c7ca2b413689288ff56ad51ed03747b30'/>
<id>urn:sha1:5ff1583c7ca2b413689288ff56ad51ed03747b30</id>
<content type='text'>
In order to manage server systems, there is typically another processor
known as a BMC (Baseboard Management Controller) which is responsible
for powering the server and other various elements, sometimes fans,
often the system flash.

The Aspeed BMC family which is what is used on OpenPOWER machines and a
number of x86 as well is typically connected to the host via an LPC
(Low Pin Count) bus (among others).

The LPC bus is an ISA bus on steroids. It's generally used by the
BMC chip to provide the host with access to the system flash (via MEM/FW
cycles) that contains the BIOS or other host firmware along with a
number of SuperIO-style IOs (via IO space) such as UARTs, IPMI
controllers.

On the BMC chip side, this is all configured via a bunch of registers
whose content is related to a given policy of what devices are exposed
at a per system level, which is system/vendor specific, so we don't want
to bolt that into the BMC kernel. This started with a need to provide
something nicer than /dev/mem for user space to configure these things.

One important aspect of the configuration is how the MEM/FW space is
exposed to the host (ie, the x86 or POWER). Some registers in that
bridge can define a window remapping all or portion of the LPC MEM/FW
space to a portion of the BMC internal bus, with no specific limits
imposed in HW.

I think it makes sense to ensure that this window is configured by a
kernel driver that can apply some serious sanity checks on what it is
configured to map.

In practice, user space wants to control this by flipping the mapping
between essentially two types of portions of the BMC address space:

   - The flash space. This is a region of the BMC MMIO space that
more/less directly maps the system flash (at least for reads, writes
are somewhat more complicated).

   - One (or more) reserved area(s) of the BMC physical memory.

The latter is needed for a number of things, such as avoiding letting
the host manipulate the innards of the BMC flash controller via some
evil backdoor, we want to do flash updates by routing the window to a
portion of memory (under control of a mailbox protocol via some
separate set of registers) which the host can use to write new data in
bulk and then request the BMC to flash it. There are other uses, such
as allowing the host to boot from an in-memory flash image rather than
the one in flash (very handy for continuous integration and test, the
BMC can just download new images).

It is important to note that due to the way the ASpeed chip lets the
kernel configure the mapping between host LPC addresses and BMC ram
addresses the offset within the window must be a multiple of size.
Not doing so will fragment the accessible space rather than simply
moving 'zero' upwards. This is caused by the nature of HICR8 being a
mask and the way host LPC addresses are translated.

Signed-off-by: Cyril Bur &lt;cyrilbur@gmail.com&gt;
[joel: Apply v3 from http://patchwork.ozlabs.org/patch/715545/ with
small fixes]
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>ipmi: add an Aspeed BT IPMI BMC driver</title>
<updated>2016-11-10T11:31:14+00:00</updated>
<author>
<name>Cédric Le Goater</name>
<email>clg@kaod.org</email>
</author>
<published>2016-10-26T06:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=22d0cff4cb7345d177d779708ca4263d97b891fb'/>
<id>urn:sha1:22d0cff4cb7345d177d779708ca4263d97b891fb</id>
<content type='text'>
Backport from mainline of the main IPMI BMC driver patch plus fixes :

 - commit d94655b405ba ("ipmi/bt-bmc: remove redundant return value
   check of platform_get_resource()")
 - commit a3e6061bad62 ("ipmi/bt-bmc: add a dependency on
   ARCH_ASPEED")
 - commit 1a377a79211a ("ipmi: Fix ioremap error handling in bt-bmc")
 - commit 54f9c4d0778b ("ipmi: add an Aspeed BT IPMI BMC driver")

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>Revert "misc: Add Aspeed BT IPMI host driver"</title>
<updated>2016-11-10T11:31:13+00:00</updated>
<author>
<name>Cédric Le Goater</name>
<email>clg@kaod.org</email>
</author>
<published>2016-10-26T06:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=a7949ee6075238fbc28578c2f1c6f8c9de106035'/>
<id>urn:sha1:a7949ee6075238fbc28578c2f1c6f8c9de106035</id>
<content type='text'>
This reverts commit f7b4775fdf656f00f1b692bf3db97b3a8088c057.

Signed-off-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v4.7.10' into dev-4.7</title>
<updated>2016-10-24T07:02:44+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2016-10-24T07:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=6a8429b102579e8699ffa58892689fcf2ec3d4ab'/>
<id>urn:sha1:6a8429b102579e8699ffa58892689fcf2ec3d4ab</id>
<content type='text'>
This is the 4.7.10 stable release
</content>
</entry>
<entry>
<title>Btrfs: catch invalid free space trees</title>
<updated>2016-10-22T10:06:47+00:00</updated>
<author>
<name>Omar Sandoval</name>
<email>osandov@fb.com</email>
</author>
<published>2016-09-23T00:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=56a17dd9eab1ea323f86adcbb05672369f63f8fa'/>
<id>urn:sha1:56a17dd9eab1ea323f86adcbb05672369f63f8fa</id>
<content type='text'>
commit 6675df311db87aa2107a04ef97e19420953cbace upstream.

There are two separate issues that can lead to corrupted free space
trees.

1. The free space tree bitmaps had an endianness issue on big-endian
   systems which is fixed by an earlier patch in this series.
2. btrfs-progs before v4.7.3 modified filesystems without updating the
   free space tree.

To catch both of these issues at once, we need to force the free space
tree to be rebuilt. To do so, add a FREE_SPACE_TREE_VALID compat_ro bit.
If the bit isn't set, we know that it was either produced by a broken
big-endian kernel or may have been corrupted by btrfs-progs.

This also provides us with a way to add rudimentary read-write support
for the free space tree to btrfs-progs: it can just clear this bit and
have the kernel rebuild the free space tree.

Tested-by: Holger Hoffstätte &lt;holger@applied-asynchrony.com&gt;
Tested-by: Chandan Rajendra &lt;chandan@linux.vnet.ibm.com&gt;
Signed-off-by: Omar Sandoval &lt;osandov@fb.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>misc: Add Aspeed BT IPMI host driver</title>
<updated>2016-08-09T06:22:16+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2015-10-06T00:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f7b4775fdf656f00f1b692bf3db97b3a8088c057'/>
<id>urn:sha1:f7b4775fdf656f00f1b692bf3db97b3a8088c057</id>
<content type='text'>
This patch adds a simple device driver to expose the iBT interface on
Aspeed chips as a character device (/dev/bt).

The iBT interface is used to perform in-band IPMI communication from a
BMC to the host.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>net/ncsi: NCSI command packet handler</title>
<updated>2016-08-09T06:22:00+00:00</updated>
<author>
<name>Gavin Shan</name>
<email>gwshan@linux.vnet.ibm.com</email>
</author>
<published>2016-07-19T01:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=ff1a39e428b4b7eef9d0fe6c4bf2031bcfab40a5'/>
<id>urn:sha1:ff1a39e428b4b7eef9d0fe6c4bf2031bcfab40a5</id>
<content type='text'>
The NCSI command packets are sent from MC (Management Controller)
to remote end. They are used for multiple purposes: probe existing
NCSI package/channel, retrieve NCSI channel's capability, configure
NCSI channel etc.

This defines struct to represent NCSI command packets and introduces
function ncsi_xmit_cmd(), which will be used to transmit NCSI command
packet according to the request. The request is represented by struct
ncsi_cmd_arg.

Signed-off-by: Gavin Shan &lt;gwshan@linux.vnet.ibm.com&gt;
Acked-by: Joel Stanley &lt;joel@jms.id.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
(cherry picked from commit 6389eaa7fa9c3ee6c7d39f6087b86660d17236ac)
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input</title>
<updated>2016-07-15T22:04:12+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-07-15T22:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=631517032f261f6fd35d11321cd2ba695573f2ed'/>
<id>urn:sha1:631517032f261f6fd35d11321cd2ba695573f2ed</id>
<content type='text'>
Pull input fixes from Dmitry Torokhov:
 "A few last-minute updates for the input subsystem"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: ts4800-ts - add missing of_node_put after calling of_parse_phandle
  Input: synaptics-rmi4 - use of_get_child_by_name() to fix refcount
  Revert "Input: wacom_w8001 - drop use of ABS_MT_TOOL_TYPE"
  Input: xpad - validate USB endpoint count during probe
  Input: add SW_PEN_INSERTED define
</content>
</entry>
</feed>
