lkml.org 
[lkml]   [2015]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] firmware: qcom: scm: Peripheral Authentication Service
On 07/02/2015 10:37 AM, Bjorn Andersson wrote:
> On Thu 02 Jul 09:19 PDT 2015, Stephen Boyd wrote:
>
>> On 06/30/2015 12:46 PM, Bjorn Andersson wrote:
>>> +
>>> +int __qcom_scm_pas_init_image(u32 peripheral, const void *metadata, size_t size)
>>> +{
>>> + dma_addr_t mdata_phys;
>>> + void *mdata_buf;
>>> + u32 scm_ret;
>>> + int ret;
>>> + struct pas_init_image_req {
>>> + u32 proc;
>>> + u32 image_addr;
>> Please mark these as __le32 and do the appropriate conversions to little
>> endian.
> Just out of curiosity, are there any big endian systems out there that
> will run this code?

The option is available to turn on if someone wants to. I'm not aware of
anyone that's doing it besides me though.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



\
 
 \ /
  Last update: 2015-07-02 20:41    [W:0.037 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site