From: Eddie James <eajames@linux.ibm.com> To: linux-spi@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, broonie@kernel.org, openbmc@lists.ozlabs.org, joel@jms.id.au, Eddie James <eajames@linux.ibm.com> Subject: [PATCH 0/2] spi: fsi: Reduce max transfer size to 8 bytes Date: Fri, 16 Jul 2021 08:39:13 -0500 [thread overview] Message-ID: <20210716133915.14697-1-eajames@linux.ibm.com> (raw) The security restrictions on the FSI-attached SPI controllers have been applied universally to all controllers, so the controller can no longer transfer more than 8 bytes for one transfer. Refactor the driver to remove the looping and support for larger transfers, and remove the "restricted" compatible string, as all the controllers are now considered restricted. Eddie James (2): spi: fsi: Reduce max transfer size to 8 bytes dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible .../devicetree/bindings/fsi/ibm,fsi2spi.yaml | 1 - drivers/spi/spi-fsi.c | 125 +++--------------- 2 files changed, 22 insertions(+), 104 deletions(-) -- 2.27.0
WARNING: multiple messages have this Message-ID (diff)
From: Eddie James <eajames@linux.ibm.com> To: linux-spi@vger.kernel.org Cc: devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, Eddie James <eajames@linux.ibm.com>, linux-kernel@vger.kernel.org, robh+dt@kernel.org, broonie@kernel.org Subject: [PATCH 0/2] spi: fsi: Reduce max transfer size to 8 bytes Date: Fri, 16 Jul 2021 08:39:13 -0500 [thread overview] Message-ID: <20210716133915.14697-1-eajames@linux.ibm.com> (raw) The security restrictions on the FSI-attached SPI controllers have been applied universally to all controllers, so the controller can no longer transfer more than 8 bytes for one transfer. Refactor the driver to remove the looping and support for larger transfers, and remove the "restricted" compatible string, as all the controllers are now considered restricted. Eddie James (2): spi: fsi: Reduce max transfer size to 8 bytes dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible .../devicetree/bindings/fsi/ibm,fsi2spi.yaml | 1 - drivers/spi/spi-fsi.c | 125 +++--------------- 2 files changed, 22 insertions(+), 104 deletions(-) -- 2.27.0
next reply other threads:[~2021-07-16 13:39 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-16 13:39 Eddie James [this message] 2021-07-16 13:39 ` [PATCH 0/2] spi: fsi: Reduce max transfer size to 8 bytes Eddie James 2021-07-16 13:39 ` [PATCH 1/2] " Eddie James 2021-07-16 13:39 ` Eddie James 2021-07-16 17:19 ` Mark Brown 2021-07-16 17:19 ` Mark Brown 2021-07-16 18:34 ` Eddie James 2021-07-16 18:34 ` Eddie James 2021-07-19 15:20 ` Mark Brown 2021-07-19 15:20 ` Mark Brown 2021-07-19 15:46 ` Eddie James 2021-07-20 13:04 ` David Laight 2021-07-20 13:13 ` Mark Brown 2021-07-20 13:13 ` Mark Brown 2021-07-20 17:32 ` David Laight 2021-07-20 17:32 ` David Laight 2021-07-16 13:39 ` [PATCH 2/2] dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible Eddie James 2021-07-16 13:39 ` [PATCH 2/2] dt-bindings: fsi: Remove ibm, fsi2spi-restricted compatible Eddie James 2021-07-19 15:54 ` [PATCH 2/2] dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible Mark Brown 2021-07-19 15:54 ` Mark Brown 2021-07-17 13:46 ` [PATCH 0/2] spi: fsi: Reduce max transfer size to 8 bytes David Laight 2021-07-17 13:46 ` David Laight 2021-07-19 15:57 ` Eddie James 2021-07-19 15:57 ` Eddie James 2021-07-19 18:00 ` Mark Brown 2021-07-19 18:00 ` Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210716133915.14697-1-eajames@linux.ibm.com \ --to=eajames@linux.ibm.com \ --cc=broonie@kernel.org \ --cc=devicetree@vger.kernel.org \ --cc=joel@jms.id.au \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-spi@vger.kernel.org \ --cc=openbmc@lists.ozlabs.org \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.