1. 20 9月, 2011 3 次提交
    • B
      powerpc/powernv: Support for OPAL console · daea1175
      Benjamin Herrenschmidt 提交于
      This adds a udbg and an hvc console backend for supporting a console
      using the OPAL console interfaces.
      
      On OPAL v1 we have hvc0 mapped to whatever console the system was
      configured for (network or hvsi serial port) via the service
      processor.
      
      On OPAL v2 we have hvcN mapped to the Nth console provided by OPAL
      which generally corresponds to:
      
      	hvc0 : network console (raw protocol)
      	hvc1 : serial port S1 (hvsi)
      	hvc2 : serial port S2 (hvsi)
      
      Note: At this point, early debug console only works with OPAL v1
      and shouldn't be enabled in a normal kernel.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      daea1175
    • B
      powerpc/powernv: Basic support for OPAL · 14a43e69
      Benjamin Herrenschmidt 提交于
      Add definition of OPAL interfaces along with  the wrappers to call
      into OPAL runtime and the early device-tree parsing hook to locate
      the OPAL runtime firmware.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      14a43e69
    • B
      powerpc: Add skeleton PowerNV platform · 55190f88
      Benjamin Herrenschmidt 提交于
      This adds a skeletton for the new Power "Non Virtualized"
      platform which will be used by machines supporting running
      without an hypervisor, for example in order to run KVM.
      
      These machines will be using a new firmware called OPAL
      for which the support will be provided by later patches.
      
      The PowerNV platform is intended to be also usable under
      the BML environment used internally for early CPU bringup
      which is why the code also supports using RTAS instead of
      OPAL in various places.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      55190f88