[linux dev-4.13 0/6] SMC driver updates

Joel Stanley joel at jms.id.au
Tue Oct 10 14:04:54 AEDT 2017


Hello Cedric,

On Mon, Oct 9, 2017 at 11:11 PM, Cédric Le Goater <clg at kaod.org> wrote:
> Hello,
>
> Here is a series bringing the Aspeed SMC driver to the level of what
> we had in openbmc kernel 4.10. There are a couple of changes :
>
>  - the DMA support is gone. It is not used, it only works for
>    kmalloc'ed buffers and UBIFS uses vmalloc'ed buffers for instance.
>
>  - the driver was slightly adapted to take into account the new clk
>    driver.
>
> Tested on a palmetto and an ast2500 eval boards.

Thanks! I applied these to dev-4.13. They did not cleanly apply. Can
you double check that head of the remote you're using is
c0df354f409687d3565073e17fab75913755ed07?

I did them applied, but they appear to fail to probe on my evb:

[    1.901227] aspeed-smc 1e620000.flash-controller: mx25l25635e (32768 Kbytes)
[    1.908304] aspeed-smc 1e620000.flash-controller: CE0 window [
0x20000000 - 0x22000000 ] 32MB
[    1.916831] aspeed-smc 1e620000.flash-controller: CE1 window [
0x22000000 - 0x2a000000 ] 128MB
[    1.925540] aspeed-smc 1e620000.flash-controller: unsupported SPI read mode
[    1.932516] aspeed-smc 1e620000.flash-controller: Aspeed SMC probe failed -22
[    1.946376] aspeed-smc: probe of 1e620000.flash-controller failed
with error -22
[    1.955217] aspeed-smc 1e630000.flash-controller: w25q256 (32768 Kbytes)
[    1.961943] aspeed-smc 1e630000.flash-controller: CE0 window [
0x30000000 - 0x32000000 ] 32MB
[    1.970467] aspeed-smc 1e630000.flash-controller: CE1 window [
0x32000000 - 0x38000000 ] 96MB
[    1.978982] aspeed-smc 1e630000.flash-controller: unsupported SPI read mode
[    1.985941] aspeed-smc 1e630000.flash-controller: Aspeed SMC probe failed -22
[    1.995375] aspeed-smc: probe of 1e630000.flash-controller failed
with error -22
[    2.004072] aspeed-smc 1e631000.flash-controller: Aspeed SMC probe failed -19

Cheers,

Joel


More information about the openbmc mailing list