On 09/01/2011 08:09 AM, David Gibson wrote:
The patch defines wmb() as __sync_synchronize(), a cross platform memory
barrier primitive available in sufficiently recent gcc versions (gcc 4.2
and after?). If we care about older gccs then this patch will need to
be updated with some sort of fallbac
The virtio code already has memory barrier wmb() macros in the code.
However they are was defined as no-ops. The comment claims that real
barriers are not necessary because the code does not run concurrent.
However, with kvm and io-thread enabled, this is not true and this qemu
code can indeed run
This patch adds functions to pci.[ch] to perform PCI DMA operations. At
present, these are just stubs which perform directly cpu physical memory
accesses.
Using these stubs, however, distinguishes PCI device DMA transactions from
other accesses to physical memory, which will allow PCI IOMMU suppo
From: Eduard - Gabriel Munteanu
This updates the lsi53c895a device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: Eduard - Gabriel Munteanu
Signed-off-by: David Gibson
---
hw/lsi53c895a.c | 30 ++-
On 08/31/2011 07:59 PM, Blue Swirl wrote:
>
> That makes it impossible to migrate level-triggered irq lines. Or at least,
> the receiver has to remember the state, instead of (or in addition to) the
> sender.
Both ends probably need to remember the state. That should work
without any multiph
From: Mark Wu
Without this fix, it will not compile when simpletrace is configured:
$ ./configure --enable-trace-backend=simple
$ make
GEN config-host.h
GEN trace.h
CCqemu-ga.o
GEN trace.c
LINK qemu-ga
simpletrace.o: In function `get_clock':
$qemu_src/qemu-timer.h:122: undefi
From: Eduard - Gabriel Munteanu
This updates the rtl8139 device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: Eduard - Gabriel Munteanu
Signed-off-by: David Gibson
---
hw/rtl8139.c | 98 +
From: Eduard - Gabriel Munteanu
This updates the ac97 device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: Eduard - Gabriel Munteanu
Signed-off-by: David Gibson
---
hw/ac97.c |7 ---
1 files changed, 4 ins
On 09/01/2011 01:54 AM, Michael Walle wrote:
Hi Avi,
while debugging, i noticed, that mr->offset is never set, expect in the
initializer. (The subregion collision warning is printed although the regions
are not overlapping.) Is this intended?
Did you miss memory_region_set_offset()?
The subre
A while back, Eduard - Gabriel Munteanu send a series of patches
implementing support for emulating the AMD IOMMU in conjunction with
qemu emulated PCI devices. A revised patch series added support for
the Intel IOMMU, and I also send a revised version of this series
which added support for the hy
From: Eduard - Gabriel Munteanu
This updates the es1370 device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: Eduard - Gabriel Munteanu
Signed-off-by: David Gibson
---
hw/es1370.c |5 +++--
1 files changed, 3 i
This updates the intel-hda device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: David Gibson
---
hw/intel-hda.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/intel-hda.c b/hw/intel-
From: Eduard - Gabriel Munteanu
This updates the usb-ohci device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: Eduard - Gabriel Munteanu
Signed-off-by: David Gibson
---
hw/usb-ohci.c | 46 +++
From: Eduard - Gabriel Munteanu
This updates the pcnet-pci device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: Eduard - Gabriel Munteanu
Signed-off-by: David Gibson
---
hw/pcnet-pci.c |6 --
1 files chang
The current SLOF firmware for the pseries machine has a bug in SCSI
condition handling that was exposed by recent updates to qemu's SCSI
emulation. This patch updates the SLOF image to one with the bug fixed.
Signed-off-by: David Gibson
---
pc-bios/README |2 +-
pc-bios/slof.bin | Bin 57
From: Eduard - Gabriel Munteanu
This updates the eepro100 device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: Eduard - Gabriel Munteanu
Signed-off-by: David Gibson
---
hw/eepro100.c | 113 +--
- Forwarded message from Zhi Yong Wu -
Date: Thu, 1 Sep 2011 11:55:17 +0800
From: Zhi Yong Wu
To: Stefan Hajnoczi
Cc: "Daniel P. Berrange" , Stefan Hajnoczi
, Adam Litke , Zhi Yong Wu
, QEMU Developers ,
guijianf...@cn.fujitsu.com, hu...@cn.fujitsu.com
Subject: [R
From: Eduard - Gabriel Munteanu
This updates the e1000 device emulation to use the explicit PCI DMA
functions, instead of directly calling physical memory access functions.
Signed-off-by: Eduard - Gabriel Munteanu
Signed-off-by: David Gibson
---
hw/e1000.c | 29 +++--
On Thu, Sep 01, 2011 at 12:21:20PM +0800, Osier Yang wrote:
>Message-ID: <4e5f0840.5010...@redhat.com>
>Date: Thu, 01 Sep 2011 12:21:20 +0800
>From: Osier Yang
>User-Agent: Mozilla/5.0 (X11; Linux x86_64;rv:6.0) Gecko/20110816
> Thunderbird/6.0
>MIME-Version: 1.0
>To: Zhi Yong Wu
>References:
On Tue, Aug 30, 2011 at 08:51:38AM -0600, Alex Williamson wrote:
> On Tue, 2011-08-30 at 17:48 +1000, David Gibson wrote:
> > On Mon, Aug 29, 2011 at 10:24:43PM -0600, Alex Williamson wrote:
> > > On Tue, 2011-08-30 at 13:04 +1000, David Gibson wrote:
> > > > On Fri, Aug 26, 2011 at 11:05:23AM -060
于 2011年09月01日 11:55, Zhi Yong Wu 写道:
On Wed, Aug 31, 2011 at 08:18:19AM +0100, Stefan Hajnoczi wrote:
Subject: Re: The design choice for how to enable block I/O throttling
function in libvirt
From: Stefan Hajnoczi
To: Adam Litke
Cc: libvir-l...@redhat.com, "Daniel P. Berrange", Zhi
Yong Wu, Zhi
On Wed, Aug 31, 2011 at 08:18:19AM +0100, Stefan Hajnoczi wrote:
>Subject: Re: The design choice for how to enable block I/O throttling
> function in libvirt
>From: Stefan Hajnoczi
>To: Adam Litke
>Cc: libvir-l...@redhat.com, "Daniel P. Berrange" , Zhi
> Yong Wu , Zhi Yong Wu
>Content-Type: text
On Wed, Aug 31, 2011 at 06:31:44PM +0800, Zhi Yong Wu wrote:
>Return-Path:
>Received: from imap.linux.ibm.com ([unix socket]) by imap.linux.ibm.com
> (Cyrus v2.3.16-Fedora-RPM-2.3.16-6.el6_1.2) with LMTPA; Wed, 31 Aug 2011
> 07:10:59 -0400
>X-Sieve: CMU Sieve 2.3
>Received: from localhost (local
I recently made a major addition (about 150 new instructions) to MIPS
QEMU to add the DSP instructions for Mips and Micro MIPS processors.
To make this process simpler and less error prone, I generated a large
amount of the code and framework from python scripts. This code is much
easier to p
On Wed, Aug 31, 2011 at 11:17:13AM +0200, Alexander Graf wrote:
>
> On 11.08.2011, at 02:39, David Gibson wrote:
>
> > On Wed, Aug 10, 2011 at 05:16:35PM +0200, Alexander Graf wrote:
> >> On 08/04/2011 09:02 AM, David Gibson wrote:
> >>> Hi Alex,
> >>>
> >>> Here's another batch of assorted upda
On Wed, Aug 31, 2011 at 11:22:18AM +0200, Alexander Graf wrote:
> On 11.08.2011, at 04:36, David Gibson wrote:
[snip]
> > +#define H_BULK_REMOVE_TYPE 0xc000ULL
> > +#define H_BULK_REMOVE_REQUEST0x4000ULL
> > +#define H_BULK_REMOVE_RESPONSE 0x800
All operations in this group are no-ops, because cache ought to be
transparent to applications. However cache may be abused, then we'll
need to actually implement these opcodes.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 95 -
1 file
- BZ (comparison to zero);
- BI0 (comparison to signed immediate);
- BI1 (comparison to unsigned immediate);
- B (two registers comparison, bit sets comparison);
- BEQZ.N/BNEZ.N (narrow comparison to zero).
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 164
Signed-off-by: Max Filippov
---
v2 -> v3 changes:
- handle integer overflow for QUOS/REMS.
---
target-xtensa/translate.c | 77 -
1 files changed, 76 insertions(+), 1 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c
inde
Tensilica iss provides support for applications running in freestanding
environment through SIMCALL command. It is used by Tensilica libc to
access argc/argv, for file I/O, etc.
Note that simcalls that accept buffer addresses expect virtual addresses.
Signed-off-by: Max Filippov
---
Makefile.ta
- mark privileged opcodes with ring check;
- make debug exception on exception handler entry.
Signed-off-by: Max Filippov
---
cpu-exec.c|6 +++
target-xtensa/cpu.h | 67
target-xtensa/helper.c| 37 +++-
target-xtensa/help
This series adds support for Tensilica Xtensa target.
Port status: Linux for DC232B works in the qemu.
Not implemented xtensa options: MAC16, floating point coprocessor,
boolean option, cache option, debug option.
v2 -> v3 changes:
- add regression test suite;
- fix bugs spotted by the testsui
- access to Special Registers (wsr, rsr);
- access to User Registers (wur, rur);
- misc. operations option (value clamp, sign extension, min, max);
- conditional moves.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 161 +
1 files changed
Instructions with op0 >= 8 are 2 bytes long, others are 3 bytes long.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 54 +
1 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translat
See ISA, 4.4.3 for details.
Vector addresses recorded in core configuration are absolute values that
correspond to default VECBASE value.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h |2 ++
target-xtensa/helper.c| 18 --
target-xtensa/translate.c |1 +
Signed-off-by: Max Filippov
---
Makefile.target |2 +
arch_init.c |2 +
arch_init.h |1 +
cpu-exec.c|2 +
elf.h |2 +
hw/xtensa_pic.c | 38 ++
target-xtensa/cpu.h | 95
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h | 53 -
target-xtensa/helper.c|1 +
target-xtensa/translate.c | 29
3 files changed, 77 insertions(+), 6 deletions(-)
diff --git a/target-xtensa/cpu.h b/targ
Set up disas_xtensa_insn switch structure, mark required options on high
level groups. Implement arithmetic/bit logic/jump/call0.
Implement code generation loop with single step/breakpoint checking.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h | 67 +++
target-xtensa/helper.c
See ISA, 4.3.2 for details.
Operations that change LEND SR value invalidate TBs at the old and at
the new LEND. LEND value at TB compilation time is considered constant
and loop instruction is generated based on this value.
Invalidation may be avoided for the TB at the old LEND address, since
loo
- ST1: SAR (shift amount special register) manipulation, NSA(U);
- RST1: shifts, 16-bit multiplication.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h |4 +
target-xtensa/helpers.h |2 +
target-xtensa/op_helper.c | 14 +++
target-xtensa/translate.c | 242 +
Special Registers hold the majority of the state added to the processor
by the options. See ISA, 5.3 for details.
User Registers hold state added in support of designer's TIE and in some
cases of options that Tensilica provides. See ISA, 5.4 for details.
Only registers mapped in sregnames or ureg
See ISA, 4.7.1 for details.
Physical registers and currently visible window are separate fields in
CPUEnv. Only current window is accessible to TCG. On operations that
change window base helpers copy current window to and from physical
registers.
Window overflow check described in 4.7.1.3 is in s
Signed-off-by: Max Filippov
---
hw/xtensa_sample.c|1 +
target-xtensa/cpu.h |2 ++
target-xtensa/translate.c |7 +++
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/hw/xtensa_sample.c b/hw/xtensa_sample.c
index 9f7733b..c2ad48a 100644
--- a/hw/xtensa_
- TLB opcode group;
- region protection option (ISA, 4.6.3);
- region translation option (ISA, 4.6.4);
- MMU option (ISA, 4.6.5).
Cache control attribute bits are not used by this implementation.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h | 56 -
target-xtensa/helper.c
See ISA, 4.7.1.3 for details.
Window check is inserted before commands that push "used register
watermark" beyond its current level. Used register watermark is reset on
instructions that change WINDOW_BASE/WINDOW_START SRs.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 110 ++
Signed-off-by: Max Filippov
---
configure| 12 +++-
default-configs/xtensa-softmmu.mak |1 +
default-configs/xtensaeb-softmmu.mak |1 +
3 files changed, 13 insertions(+), 1 deletions(-)
create mode 100644 default-configs/xtensa-softmmu.mak
create
All operations in this group are no-ops, because there are no delayed
side effects.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 31 ++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translat
Sample board and sample CPU core are used for debug and may be used for
development of custom SoC emulators.
This board has two fixed size memory regions for DTCM and ITCM and
variable length SRAM region.
Signed-off-by: Max Filippov
---
Makefile.target|1 +
hw/xtensa_sample.c | 105 +++
Group SNM0 (indirect jumps and calls).
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 43 +++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c
index c6ebb3d..400c995 100644
NEG and ABS are the only members of RT0 group.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c
index 2ff5838..dcbc0ae 100644
--- a/target-xt
Reserved opcodes must generate illegal instruction exception. Usually
they signal emulation quality problems.
Not implemented opcodes are good to see.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 110 -
1 files changed, 109 insertions(+
See ISA, 4.4.4 for details.
Correct (aligned as per ISA) address for unaligned access is generated
in case this option is not enabled.
Signed-off-by: Max Filippov
---
target-xtensa/helper.c|4 ++-
target-xtensa/op_helper.c | 26
target-xtensa/translate.c | 4
- base + offset load/store operations for 1/2/4 byte values;
- cache operations (not implemented);
- multiprocessor synchronization operations.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h |1 +
target-xtensa/translate.c | 89 +
2 fi
This is Diamond 232L Standard Core Rev.B (LE).
Signed-off-by: Max Filippov
---
Makefile.target |1 +
hw/xtensa_dc232b.c| 112
target-xtensa/gdb-config-dc232b.c | 261 +
target-xtensa/helper.c
Hi Avi,
while debugging, i noticed, that mr->offset is never set, expect in the
initializer. (The subregion collision warning is printed although the regions
are not overlapping.) Is this intended?
btw. you may include the memory region name in the warning.
--
Michael
Specific xtensa processor overlay for GDB contains register map in
the gdb/xtensa-config.c. This description is used by the GDB to e.g.
parse 'g' response packets and it may be reused in the qemu's gdbstub
(only XTREG definitions for non-pseudoregisters are needed).
Currently mainline GDB does not
See ISA, 4.3.3 for details.
TB flag XTENSA_TBFLAG_LITBASE is used to track enable bit of LITBASE SR.
Signed-off-by: Max Filippov
---
v2 -> v3 changes:
- correctly mask stored litbase value on wsr.
---
target-xtensa/cpu.h |6 ++
target-xtensa/helper.c|1 +
target-xtensa/tra
See ISA, 4.4.6 (interrupt option), 4.4.7 (high priority interrupt
option) and 4.4.8 (timer interrupt option) for details.
Signed-off-by: Max Filippov
---
v2 -> v3 changes:
- handle IRQ deassertion for INTTYPE_LEVEL interrupts only;
- initialize PS at reset in accordance with interrupt option pres
Add myself as target-xtensa and DC232B maintainer.
Signed-off-by: Max Filippov
---
MAINTAINERS | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 508ea1e..72b2099 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -115,6 +115,12 @@ M:
Share the TLB array with KVM. This allows us to set the initial TLB
both on initial boot and reset, is useful for debugging, and could
eventually be used to support migration.
Signed-off-by: Scott Wood
---
v3: use glib malloc/free, and fix GCC 4.6 unused variable warning
Other patches in set u
--- On Wed, 31/8/11, Blue Swirl wrote:
> I agree about importance of consistency, though I'd even go
> further and reformat globally. New code gets introduced
> based on copying old code so the pain goes on.
I think this is the most important point.
I've worked on many projects where coding s
I am wondering if it's the use of the "-redir tcp:2232::22:" argument
which is broken in GIT.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/824650
Title:
Latest GIT assert error in arp_table.c
Sta
On Wed, Aug 31, 2011 at 06:06:09PM -0300, Lucas Meneghel Rodrigues wrote:
> Add a test device which supports the kvmctl ioports,
> for running the KVM test suite.
>
> Usage:
>
> qemu
> -chardev file,path=/log/file/some/where,id=testlog
> -device pc-testdev,chardev=testlog
>
> lmr: I'
Rather than letting the test dev do it.
CC: Avi Kivity
CC: Marcelo Tosatti
Signed-off-by: Lucas Meneghel Rodrigues
---
lib/x86/fwcfg.c |5 +
lib/x86/fwcfg.h |1 +
lib/x86/vm.c|2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/lib/x86/fwcfg.c b/lib/x86/fwc
Add a test device which supports the kvmctl ioports,
for running the KVM test suite.
Usage:
qemu
-chardev file,path=/log/file/some/where,id=testlog
-device pc-testdev,chardev=testlog
lmr: I've tried to address the comments made by the
reviewers, but I probably left out some things. P
Initialise usb-musb by passing it a DeviceState* and the offset of the
IRQs in its gpio array, rather than a plain pointer to an irq array.
This is simpler for callers and also allows us to pass in a valid parent
to usb_bus_new(), so the USB bus actually appears in the qdev tree.
Signed-off-by: Pe
Identifiers with double leading underscore are reserved, so rename
__musb_irq_max so we don't encroach on reserved namespace.
Signed-off-by: Peter Maydell
---
hw/tusb6010.c |6 +++---
hw/usb.h |3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/hw/tusb6010.c b/hw/
This patchset has some minor cleanups to usb-musb that we can make now
that the only user (tusb6010) is a qdev device.
I've thrown in a minor piece of renaming to avoid a C-standard reserved
namespace.
These patches depend only on the just-committed bdc76462a so they
should be fine to go in throu
From: Juha Riihimäki
Add a separate reset function musb_reset() to the usb-musb interface,
so that users who implement a reset function can also reset usb-musb.
Use this in tusb6010.
Signed-off-by: Juha Riihimäki
[Riku Voipio: Fixes and restructuring patchset]
Signed-off-by: Riku Voipio
[Peter
This one goes on top of the recently posted MIPS SMP patches.
It allows a linux MIPS SMTC kernel too boot with one VPE and
one thread.
Multiple threads per core still dont work.
Cheers
commit 063f70f8faf4b856bd0e3a4d9edac47c7d9aa2d4
Author: Edgar E. Iglesias
Date: Tue Aug 30 00:44:28 2011 +0
On Tue, Aug 30, 2011 at 7:36 PM, Peter Maydell wrote:
> Convert the tusb6010 to qdev.
>
> Signed-off-by: Juha Riihimäki
> [Riku Voipio: Fixes and restructuring patchset]
> Signed-off-by: Riku Voipio
> [Peter Maydell: More fixes and cleanups for upstream submission]
> Signed-off-by: Peter Maydel
On Wed, 2011-08-31 at 10:14 +0200, Kevin Wolf wrote:
> Am 31.08.2011 09:40, schrieb Jan Kiszka:
> > On 2011-08-31 02:03, Chris Friesen wrote:
> > c62f6d1d76aea587556c85b6b7b5c44167006264 and
> > 860341f60582959698d2e1d839a5b7a004a2d76f need to be applied to
> > stable-0.15 of upstream QEMU.
>
> S
On Sun, 2011-08-07 at 21:44 -0400, Brad wrote:
> Could this please be pulled back to the 0.15 branch?
>
>
> commit b49b710aae35add54321e4ba1b338cf6db25c2a2
> Author: Brad Smith
> Date: Sat Jul 30 19:08:51 2011 -0400
>
> Fix forcing multicast msgs to loopback on OpenBSD.
>
Pulled, thank
Here it is again with copyright, typo fix and hopefully now complying with
coding standards.
Signed-off-by: Mark Kelly
diff --git a/Makefile.objs b/Makefile.objs
index 6991a9f..7d87503 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -240,6 +240,7 @@ hw-obj-$(CONFIG_PCNET_PCI) += pcnet-pci.o
On Wed, Aug 31, 2011 at 09:58:58PM +0200, Edgar E. Iglesias wrote:
> On Wed, Aug 31, 2011 at 03:45:45PM -0400, Stefan Berger wrote:
> > This patch implements the TCG BIOS interrupt handler 1ah. It is for
> > example used by trusted grub.
> >
> > This patch adds an implementation of SHA1 (following
On Wed, Aug 31, 2011 at 03:45:45PM -0400, Stefan Berger wrote:
> This patch implements the TCG BIOS interrupt handler 1ah. It is for
> example used by trusted grub.
>
> This patch adds an implementation of SHA1 (following NIST specs., IETF RFC
> 3147
> and Wikipedia) for speeding up measurements
On Wed, Aug 31, 2011 at 7:23 PM, Anthony Liguori wrote:
> On 08/31/2011 02:12 PM, Edgar E. Iglesias wrote:
>>
>> On Wed, Aug 31, 2011 at 01:48:34PM -0500, Anthony Liguori wrote:
etc, etc. IMO, those bring codingstyle issues into the pretty much
neglectable space.
>>>
>>> I don't thi
This patch implements the main part of the TCG BIOS extensions. It provides
the following functionality:
- initialization of the TCPA ACPI table used for logging of measurements
- initialization of the TPM by sending a sequence of commands to it
- proper setup of the TPM once the BIOS hands over c
This patch adds a global get_rsdp() function call and refactors
find_resume_vector() to call it.
Signed-off-by: Stefan Berger
---
src/acpi.c | 12 ++--
src/acpi.h |1 +
2 files changed, 11 insertions(+), 2 deletions(-)
Index: seabios/src/acpi.c
===
The following set of patches add TPM and Trusted Computing support to SeaBIOS.
In particular the patches add:
- a TPM driver for the Qemu's TPM TIS emulation (not yet in Qemu git)
- ACPI support for the TPM device (SSDT table)
- ACPI support for measurement logging (TCPA table)
- Support for initi
This patch adds support for measurements provided by Qemu via the
firmware interface. In the case where Qemu was started with the -kernel,
-initrd and -append command lines, Qemu hashes the kernel and initrd files
as well as the command line parameters and provides the measurements to
SeaBIOS via t
This patch adds invocactions of functions that measure various parts of the
code and data through various parts of the BIOS code. It follows TCG
specifications on what needs to be measured. It also adds the implementation
of the called functions.
Reference for what needs to be measured can be foun
This patch provides an addtional menu entry that enables the user to control
certain aspects of the TPM.
If a working TPM has been detected, the top level BIOS menu
will look like this:
Press F12 for boot menu.
Press F11 to TPM menu.
Upon pressing F11 the TPM menu will be shown:
1. Enable TPM
2
This patch adds an optional test suite (CONFIG_TIS_TEST) for the TIS interface
to SeaBIOS. If compiled into the BIOS, it can be invoked through the
TPM-specific menu item 8.
1. Enable TPM
2. Disable TPM
3. Activate TPM
4. Deactivate TPM
5. Clear ownership
6. Allow installation of owner
7. Prevent
This patch adds an implementation of a TPM TIS driver for the TPM TIS
emulation supported by Qemu (patches posted, not in git yet). Usage of the
driver is broken up into several functions. The driver is cleanly separated
from the rest of the code through an interface holding pointers to the driver'
This patch provides ACPI support for the TPM device. It probes for the TPM
device and only if a TPM device is found then the TPM's SSDT and TCPA table
are created. This patch also connects them to the RSDT.
Since the logging area in the TCPA table requires 64kb, the memory reserved
for ACPI tables
This patch implements the TCG BIOS interrupt handler 1ah. It is for
example used by trusted grub.
This patch adds an implementation of SHA1 (following NIST specs., IETF RFC 3147
and Wikipedia) for speeding up measurements of code. Trusted Grub for example
makes use of this interface and measures (
On Wed, Aug 31, 2011 at 6:17 PM, Jan Kiszka wrote:
> On 2011-08-31 19:41, Blue Swirl wrote:
>> On Wed, Aug 31, 2011 at 10:53 AM, Jan Kiszka wrote:
>>> On 2011-08-31 10:25, Peter Maydell wrote:
On 30 August 2011 20:28, Jan Kiszka wrote:
> Yes, that's the current state. Once we have bidir
The current interface is generic for this small set of operations, and thus
other backends can easily modify the "trace/control.c" file to add their own
implementation.
Signed-off-by: Lluís Vilanova
---
docs/tracing.txt | 48 ++--
hmp-commands.hx |
On 08/31/2011 02:12 PM, Edgar E. Iglesias wrote:
On Wed, Aug 31, 2011 at 01:48:34PM -0500, Anthony Liguori wrote:
etc, etc. IMO, those bring codingstyle issues into the pretty much
neglectable space.
I don't think we lack contributors. Documentation and tests are
really about discipline. If
Provides a more hierarchical view of the variable domain.
Also adds the CONFIG_TRACE_* variables for all backends.
Signed-off-by: Lluís Vilanova
---
Makefile.target |6 +++---
configure | 20 +++-
hmp-commands.hx |4 ++--
monitor.c |8
On Wed, Aug 31, 2011 at 09:12:06PM +0200, Edgar E. Iglesias wrote:
> On Wed, Aug 31, 2011 at 01:48:34PM -0500, Anthony Liguori wrote:
> > On 08/31/2011 12:59 PM, Edgar E. Iglesias wrote:
> > >On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote:
> > >>On 08/31/2011 09:35 AM, malc wrote:
Given that all events with programmatically-controlled state are disabled by
default, we can delete the "disable" property from all events.
Signed-off-by: Lluís Vilanova
---
trace-events | 648 +-
1 files changed, 324 insertions(+), 324 de
On Wed, Aug 31, 2011 at 01:48:34PM -0500, Anthony Liguori wrote:
> On 08/31/2011 12:59 PM, Edgar E. Iglesias wrote:
> >On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote:
> >>On 08/31/2011 09:35 AM, malc wrote:
> >>>On Wed, 31 Aug 2011, Anthony Liguori wrote:
> >>>
> Upper case fie
This adds/modifies the following functions:
* get_name: Get _only_ the event name
* has_property: Return whether an event has a property (keyword before the event
name)
Signed-off-by: Lluís Vilanova
---
docs/tracing.txt |4 +--
scripts/tracetool | 73 ---
Any event with the keyword/property "disable" generates an empty trace event
using the "nop" backend, regardless of the current backend.
Signed-off-by: Lluís Vilanova
---
docs/tracing.txt | 25 +++--
scripts/tracetool | 15 ++-
2 files changed, 17 insertions(
On Wed, Aug 31, 2011 at 06:46:37PM +, Blue Swirl wrote:
> On Wed, Aug 31, 2011 at 5:59 PM, Edgar E. Iglesias
> wrote:
> > On Wed, Aug 31, 2011 at 11:06:11AM -0500, Anthony Liguori wrote:
> >> On 08/31/2011 09:35 AM, malc wrote:
> >> >On Wed, 31 Aug 2011, Anthony Liguori wrote:
> >> >
> >> >>Up
On 2011-08-29 23:19, Anthony Liguori wrote:
> On 08/29/2011 03:56 PM, Jan Kiszka wrote:
>> On 2011-08-29 21:23, Anthony Liguori wrote:
>>> On 08/26/2011 09:48 AM, Jan Kiszka wrote:
In order to address devices for that the user forgot or is even unable
(no_user) to provide an ID, assign an
Note that this refers to the backend-specific state (whether the output must be
generated), not the event "disabled" property (which always uses the "nop"
backend).
Signed-off-by: Lluís Vilanova
---
docs/tracing.txt | 11 ---
scripts/tracetool |9 ++---
trace-events |
The "-trace events" argument can be used to provide a file with a list of trace
event names that will be enabled prior to starting execution, thus providing
early tracing.
This saves the user from manually toggling event states through the monitor
interface or whichever backend-specific interface.
1 - 100 of 230 matches
Mail list logo