Re: What is TYPE_TPM_TIS_ISA? (Not an ISA Device)

2020-07-23 Thread Markus Armbruster
Stefan Berger writes: > On 7/22/20 1:55 AM, Markus Armbruster wrote: >> pm socket --tpmstate dir=tpm --ctrl type=unixio,path=tpm/swtpm-soc >> running in another terminal. >> 3/ no machine plug it using isa_register_ioport() (it is not registered to the ISA memory space) >>> There's

Re: What is TYPE_TPM_TIS_ISA? (Not an ISA Device)

2020-07-22 Thread Stefan Berger
On 7/22/20 1:55 AM, Markus Armbruster wrote: pm socket --tpmstate dir=tpm --ctrl type=unixio,path=tpm/swtpm-soc running in another terminal. 3/ no machine plug it using isa_register_ioport() (it is not registered to the ISA memory space) There's no requirement for an ISA device to have IO

Re: What is TYPE_TPM_TIS_ISA? (Not an ISA Device)

2020-07-21 Thread Markus Armbruster
Peter Maydell writes: > On Tue, 21 Jul 2020 at 17:07, Philippe Mathieu-Daudé > wrote: >> >> Hi Stefan, >> >> I'm trying to understand what is modelling the >> TYPE_TPM_TIS_ISA device. >> >> It inherits from TYPE_ISA_DEVICE, so I expected >> to see an ISA device, but then I noticed: >> >> 1/ it

Re: What is TYPE_TPM_TIS_ISA? (Not an ISA Device)

2020-07-21 Thread Peter Maydell
On Tue, 21 Jul 2020 at 17:07, Philippe Mathieu-Daudé wrote: > > Hi Stefan, > > I'm trying to understand what is modelling the > TYPE_TPM_TIS_ISA device. > > It inherits from TYPE_ISA_DEVICE, so I expected > to see an ISA device, but then I noticed: > > 1/ it doesn't use the ISA I/O space, it

Re: What is TYPE_TPM_TIS_ISA? (Not an ISA Device)

2020-07-21 Thread Stefan Berger
On 7/21/20 12:02 PM, Philippe Mathieu-Daudé wrote: Hi Stefan, I'm trying to understand what is modelling the TYPE_TPM_TIS_ISA device. It inherits from TYPE_ISA_DEVICE, so I expected to see an ISA device, but then I noticed: 1/ it doesn't use the ISA I/O space, it directly maps the device in

What is TYPE_TPM_TIS_ISA? (Not an ISA Device)

2020-07-21 Thread Philippe Mathieu-Daudé
Hi Stefan, I'm trying to understand what is modelling the TYPE_TPM_TIS_ISA device. It inherits from TYPE_ISA_DEVICE, so I expected to see an ISA device, but then I noticed: 1/ it doesn't use the ISA I/O space, it directly maps the device in the system memory at a fixed address that is not