All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux 0/3] LPC/MBOX work
@ 2016-12-09  5:43 Cyril Bur
  2016-12-09  5:43 ` [PATCH linux 1/3] ARM: dts: aspeed: Update palmetto device tree Cyril Bur
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Cyril Bur @ 2016-12-09  5:43 UTC (permalink / raw)
  To: openbmc

Hello all,

I sent an email a while ago about my work to be able for the host to
be able to access to contents of the pnor without nessesarily being
able to modify it.

This involves a protocol for requests through the mbox regsters on the
BMC and moving the HOST<->BMC LPC bus mapping to a region of BMC RAM.

These are the kernel patches required to do this. I am going to do the
changes for the dts for all platforms but I have some questions as to
how much RAM these platforms truely have. You'll notice I bumped the
palmetto from 256 to 512, this was in response to my palmetto having
512 megs. Part of the reason for this is that while I'm at it, I may
as well reserve off the framebuffer memory (which there is work to
perhaps use as well), the location of which depends on how much ram
the BMC has. I'm thinking everything is actually 512, if that is
accurate, I'll add those changes to a v2.

Cedric (or anyone really): Do you know of a way the lpc-ctrl driver
could query the MTD subsystem for the size of the PNOR? There is
currently a hack in the UNMAP ioctl() which can't hang around.

I'm not sure driver/misc is the place for these, thoughts?

Thanks,

Cyril

Cyril Bur (3):
  ARM: dts: aspeed: Update palmetto device tree
  drivers/misc: Add aspeed mbox driver
  drivers/misc: Add aspeed lpc controlling driver

 arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts |  25 +-
 arch/arm/boot/dts/aspeed-g4.dtsi              |   6 +
 drivers/misc/Kconfig                          |  14 ++
 drivers/misc/Makefile                         |   2 +
 drivers/misc/lpc-ctrl.c                       | 251 ++++++++++++++++++++
 drivers/misc/mbox-host.c                      | 326 ++++++++++++++++++++++++++
 include/uapi/linux/lpc-ctrl.h                 |  25 ++
 include/uapi/linux/mbox-host.h                |  18 ++
 8 files changed, 666 insertions(+), 1 deletion(-)
 create mode 100644 drivers/misc/lpc-ctrl.c
 create mode 100644 drivers/misc/mbox-host.c
 create mode 100644 include/uapi/linux/lpc-ctrl.h
 create mode 100644 include/uapi/linux/mbox-host.h

-- 
2.10.2

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-12-18 23:40 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-09  5:43 [PATCH linux 0/3] LPC/MBOX work Cyril Bur
2016-12-09  5:43 ` [PATCH linux 1/3] ARM: dts: aspeed: Update palmetto device tree Cyril Bur
2016-12-13  0:44   ` Joel Stanley
2016-12-13  3:11     ` Cyril Bur
2016-12-13  3:29       ` Joel Stanley
2016-12-13  3:48         ` Cyril Bur
2016-12-13  4:34           ` Joel Stanley
2016-12-09  5:43 ` [PATCH linux 2/3] drivers/misc: Add aspeed mbox driver Cyril Bur
2016-12-13  1:26   ` Joel Stanley
2016-12-13  8:03     ` Cédric Le Goater
2016-12-15  7:59     ` Cyril Bur
2016-12-15 22:50       ` Andrew Jeffery
2016-12-13  8:14   ` Cédric Le Goater
2016-12-15  8:01     ` Cyril Bur
2016-12-14 23:14   ` Andrew Jeffery
2016-12-14 23:14   ` Andrew Jeffery
2016-12-09  5:43 ` [PATCH linux 3/3] drivers/misc: Add aspeed lpc controlling driver Cyril Bur
2016-12-13  0:51   ` Joel Stanley
2016-12-15  0:58   ` Andrew Jeffery
2016-12-15  8:01     ` Cyril Bur
2016-12-13 10:24 ` [PATCH linux 0/3] LPC/MBOX work Cédric Le Goater
2016-12-14  0:13   ` Cyril Bur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.