1. 12 Aug, 2019 1 commit
  2. 10 Sep, 2018 1 commit
  3. 10 May, 2018 1 commit
    • Sudeep Holla's avatar
      firmware: arm_scmi: rename scmi_xfer_{init,get,put} · 14e297b3
      Sudeep Holla authored
      
      
      Just after the initial patches were queued, Jonathan Cameron mentioned
      that scmi_one_xfer_{get_put} were not very clear and suggested to use
      scmi_xfer_{alloc,free}. While I agree to some extent, the reason not to
      have alloc/free as these are preallocated buffers and these functions
      just returns a reference to free slot in that preallocated array.
      However it was agreed to drop "_one" as it's implicit that we are always
      dealing with one slot anyways.
      
      This patch updates the name accordingly dropping "_one" in both {get,put}
      functions. Also scmi_one_xfer_init is renamed as scmi_xfer_get_init to
      reflect the fact that it gets the free slots and then initialise it.
      Reported-by: default avatarJonathan Cameron <jonathan.cameron@huawei.com>
      Signed-off-by: Sudeep Holla's avatarSudeep Holla <sudeep.holla@arm.com>
      14e297b3
  4. 09 May, 2018 1 commit
  5. 28 Feb, 2018 1 commit
    • Sudeep Holla's avatar
      firmware: arm_scmi: add common infrastructure and support for base protocol · b6f20ff8
      Sudeep Holla authored
      
      
      The base protocol describes the properties of the implementation and
      provide generic error management. The base protocol provides commands
      to describe protocol version, discover implementation specific
      attributes and vendor/sub-vendor identification, list of protocols
      implemented and the various agents are in the system including OSPM
      and the platform. It also supports registering for notifications of
      platform errors.
      
      This protocol is mandatory. This patch adds support for the same along
      with some basic infrastructure to add support for other protocols.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: Sudeep Holla's avatarSudeep Holla <sudeep.holla@arm.com>
      b6f20ff8