Messages in this thread | | | Subject | Re: [PATCH v8 1/8] tpm: tpm_tis: Make implementation of read16, read32 and write32 optional | From | Jarkko Sakkinen <> | Date | Thu, 14 May 2020 14:26:14 +0300 |
| |
On Tue, 2020-05-12 at 17:14 +0300, amirmizi6@gmail.com wrote: > From: Amir Mizinski <amirmizi6@gmail.com> > > Only tpm_tis can use memory-mapped I/O, which is truly mapped into > the kernel's memory space. Therefore, using ioread16/ioread32/iowrite32 > turns into a straightforward pointer dereference. > Every other driver requires more complicated operations to read more than > one byte at a time and will just fall back to read_bytes/write_bytes. > Therefore, move this common code out of tpm_tis_spi and into tpm_tis_core > so that it is used automatically when low-level drivers do not implement > the specialized methods. > > Co-developed-by: Alexander Steffen <Alexander.Steffen@infineon.com> > Signed-off-by: Alexander Steffen <Alexander.Steffen@infineon.com> > Signed-off-by: Amir Mizinski <amirmizi6@gmail.com> > Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
OK, so I applied this one:
http://git.infradead.org/users/jjs/linux-tpmdd.git/commit/fa05dc792ea02043f3c21467cb4485a38ac19bdf
I.e. no need to carry this one any more in the series. Sorry that I haven't done this before (should have).
/Jarkko
| |