lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <f3b94de2-9dee-3c5c-f5d4-579824abb0d0@linux.vnet.ibm.com>
Date:   Thu, 11 May 2017 11:14:13 -0500
From:   Christopher Bostic <cbostic@...ux.vnet.ibm.com>
To:     Jeremy Kerr <jk@...abs.org>, Joel Stanley <joel@....id.au>
Cc:     Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Russell King <linux@...linux.org.uk>, rostedt@...dmis.org,
        mingo@...hat.com, Greg KH <gregkh@...uxfoundation.org>,
        devicetree <devicetree@...r.kernel.org>,
        linux-arm-kernel@...ts.infradead.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Andrew Jeffery <andrew@...id.au>,
        Alistair Popple <alistair@...ple.id.au>,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        "Edward A . James" <eajames@...ibm.com>
Subject: Re: [PATCH v6 19/23] drivers/fsi: Add GPIO based FSI master



On 5/10/17 8:58 PM, Jeremy Kerr wrote:
> Hi Chris,
>
>> I don't think we'd want this per master.   The lock is for the 'top'
>> master issuing commands.  Only the top master can initiate any
>> transactions on the bus to any devices connected downstream. Downstream
>> masters such as hub masters, etc... cannot initiate a command.
> I think what Joel meant there was that we have it per *GPIO* master; if
> there are two GPIO masters on a system, there's no need to provide
> mutual exclusion to each (separate) set of GPIOs.
>
> To implement this, we'd just move the lock into struct fsi_master_gpio.

Hi Jeremy,

Understand now -will make the change.

Thanks
-Chris

> Cheers,
>
>
> Jeremy
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ