Displaying 20 results from an estimated 20 matches for "assert32flat".
2013 Jun 06
4
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...> It's not tracking allocation. It is that accessing memory above 1 MiB
> is incredibly painful in the BIOS environment, which basically means
> MMIO is inaccessible.
Oh, you mean in real mode.
SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
There are loads of ASSERT32FLAT()s in the code to make sure of this.
Regards,
Anthony Liguori
>
> -hpa
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordom...
2013 Jun 06
4
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...> It's not tracking allocation. It is that accessing memory above 1 MiB
> is incredibly painful in the BIOS environment, which basically means
> MMIO is inaccessible.
Oh, you mean in real mode.
SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
There are loads of ASSERT32FLAT()s in the code to make sure of this.
Regards,
Anthony Liguori
>
> -hpa
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordom...
2013 Jun 06
4
[PATCH RFC] virtio-pci: new config layout: using memory BAR
On 06/06/13 08:34, Gleb Natapov wrote:
> On Wed, Jun 05, 2013 at 07:41:17PM -0500, Anthony Liguori wrote:
>>
>> Oh, you mean in real mode.
>>
>> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
>> There are loads of ASSERT32FLAT()s in the code to make sure of this.
>>
> Well, not exactly. Initialization is done in 32bit, but disk
> reads/writes are done in 16bit mode since it should work from int13
> interrupt handler.
Exactly. It's "only" the initialization code which has ASSERt32FLAT()
all...
2013 Jun 06
4
[PATCH RFC] virtio-pci: new config layout: using memory BAR
On 06/06/13 08:34, Gleb Natapov wrote:
> On Wed, Jun 05, 2013 at 07:41:17PM -0500, Anthony Liguori wrote:
>>
>> Oh, you mean in real mode.
>>
>> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
>> There are loads of ASSERT32FLAT()s in the code to make sure of this.
>>
> Well, not exactly. Initialization is done in 32bit, but disk
> reads/writes are done in 16bit mode since it should work from int13
> interrupt handler.
Exactly. It's "only" the initialization code which has ASSERt32FLAT()
all...
2013 Jun 06
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...mory above 1 MiB
>> > is incredibly painful in the BIOS environment, which basically means
>> > MMIO is inaccessible.
>>
>> Oh, you mean in real mode.
>>
>> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
>> There are loads of ASSERT32FLAT()s in the code to make sure of this.
>>
> Well, not exactly. Initialization is done in 32bit, but disk
> reads/writes are done in 16bit mode since it should work from int13
> interrupt handler. The only way I know to access MMIO bars from 16 bit
> is to use SMM which we do not ha...
2013 Jun 06
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...mory above 1 MiB
>> > is incredibly painful in the BIOS environment, which basically means
>> > MMIO is inaccessible.
>>
>> Oh, you mean in real mode.
>>
>> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
>> There are loads of ASSERT32FLAT()s in the code to make sure of this.
>>
> Well, not exactly. Initialization is done in 32bit, but disk
> reads/writes are done in 16bit mode since it should work from int13
> interrupt handler. The only way I know to access MMIO bars from 16 bit
> is to use SMM which we do not ha...
2013 Jun 11
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...BIOS environment, which basically means
> > >> > MMIO is inaccessible.
> > >>
> > >> Oh, you mean in real mode.
> > >>
> > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > >>
> > > Well, not exactly. Initialization is done in 32bit, but disk
> > > reads/writes are done in 16bit mode since it should work from int13
> > > interrupt handler. The only way I know to access MMIO bars from 16 b...
2013 Jun 11
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...BIOS environment, which basically means
> > >> > MMIO is inaccessible.
> > >>
> > >> Oh, you mean in real mode.
> > >>
> > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > >>
> > > Well, not exactly. Initialization is done in 32bit, but disk
> > > reads/writes are done in 16bit mode since it should work from int13
> > > interrupt handler. The only way I know to access MMIO bars from 16 b...
2013 Jun 06
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...n 06/06/13 08:34, Gleb Natapov wrote:
> > On Wed, Jun 05, 2013 at 07:41:17PM -0500, Anthony Liguori wrote:
> >>
> >> Oh, you mean in real mode.
> >>
> >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> >>
> > Well, not exactly. Initialization is done in 32bit, but disk
> > reads/writes are done in 16bit mode since it should work from int13
> > interrupt handler.
>
> Exactly. It's "only" the initialization code...
2013 Jun 11
2
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...>> > MMIO is inaccessible.
> > > > >>
> > > > >> Oh, you mean in real mode.
> > > > >>
> > > > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > > > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > > > >>
> > > > > Well, not exactly. Initialization is done in 32bit, but disk
> > > > > reads/writes are done in 16bit mode since it should work from int13
> > > > > interrupt handler. The only...
2013 Jun 11
2
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...>> > MMIO is inaccessible.
> > > > >>
> > > > >> Oh, you mean in real mode.
> > > > >>
> > > > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > > > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > > > >>
> > > > > Well, not exactly. Initialization is done in 32bit, but disk
> > > > > reads/writes are done in 16bit mode since it should work from int13
> > > > > interrupt handler. The only...
2013 Jun 11
2
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...> > > >>
> > > > > > >> Oh, you mean in real mode.
> > > > > > >>
> > > > > > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > > > > > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > > > > > >>
> > > > > > > Well, not exactly. Initialization is done in 32bit, but disk
> > > > > > > reads/writes are done in 16bit mode since it should work from int13
> > > > >...
2013 Jun 11
2
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...> > > >>
> > > > > > >> Oh, you mean in real mode.
> > > > > > >>
> > > > > > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > > > > > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > > > > > >>
> > > > > > > Well, not exactly. Initialization is done in 32bit, but disk
> > > > > > > reads/writes are done in 16bit mode since it should work from int13
> > > > >...
2013 Jun 06
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...on. It is that accessing memory above 1 MiB
> > is incredibly painful in the BIOS environment, which basically means
> > MMIO is inaccessible.
>
> Oh, you mean in real mode.
>
> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> There are loads of ASSERT32FLAT()s in the code to make sure of this.
>
Well, not exactly. Initialization is done in 32bit, but disk
reads/writes are done in 16bit mode since it should work from int13
interrupt handler. The only way I know to access MMIO bars from 16 bit
is to use SMM which we do not have in KVM.
--
Gleb.
2013 Jun 11
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...is incredibly painful in the BIOS environment, which basically means
> >> > MMIO is inaccessible.
> >>
> >> Oh, you mean in real mode.
> >>
> >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> >>
> > Well, not exactly. Initialization is done in 32bit, but disk
> > reads/writes are done in 16bit mode since it should work from int13
> > interrupt handler. The only way I know to access MMIO bars from 16 bit
> > is to u...
2013 Jun 11
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...lly means
> > > >> > MMIO is inaccessible.
> > > >>
> > > >> Oh, you mean in real mode.
> > > >>
> > > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > > >>
> > > > Well, not exactly. Initialization is done in 32bit, but disk
> > > > reads/writes are done in 16bit mode since it should work from int13
> > > > interrupt handler. The only way I know to access...
2013 Jun 11
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...ccessible.
> > > > > >>
> > > > > >> Oh, you mean in real mode.
> > > > > >>
> > > > > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > > > > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > > > > >>
> > > > > > Well, not exactly. Initialization is done in 32bit, but disk
> > > > > > reads/writes are done in 16bit mode since it should work from int13
> > > > > > interrup...
2013 Jun 11
0
[PATCH RFC] virtio-pci: new config layout: using memory BAR
...>
> > > > > > > >> Oh, you mean in real mode.
> > > > > > > >>
> > > > > > > >> SeaBIOS runs the virtio code in 32-bit mode with a flat memory layout.
> > > > > > > >> There are loads of ASSERT32FLAT()s in the code to make sure of this.
> > > > > > > >>
> > > > > > > > Well, not exactly. Initialization is done in 32bit, but disk
> > > > > > > > reads/writes are done in 16bit mode since it should work from int13
> >...
2013 Jun 05
2
[PATCH RFC] virtio-pci: new config layout: using memory BAR
"H. Peter Anvin" <hpa at zytor.com> writes:
> On 06/05/2013 02:50 PM, Anthony Liguori wrote:
>> "H. Peter Anvin" <hpa at zytor.com> writes:
>>
>>> On 06/05/2013 09:20 AM, Michael S. Tsirkin wrote:
>>>>
>>>> Spec says IO and memory can be enabled/disabled, separately.
>>>> PCI Express spec says devices
2013 Jun 05
2
[PATCH RFC] virtio-pci: new config layout: using memory BAR
"H. Peter Anvin" <hpa at zytor.com> writes:
> On 06/05/2013 02:50 PM, Anthony Liguori wrote:
>> "H. Peter Anvin" <hpa at zytor.com> writes:
>>
>>> On 06/05/2013 09:20 AM, Michael S. Tsirkin wrote:
>>>>
>>>> Spec says IO and memory can be enabled/disabled, separately.
>>>> PCI Express spec says devices