[siemens/jailhouse] f66435: arm: Rework and fix SGIR write handling

6 views
Skip to first unread message

GitHub

unread,
Sep 21, 2016, 1:44:59 PM9/21/16
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: f664353cb76719b1407d9cd13637f0e3a719291a
https://github.com/siemens/jailhouse/commit/f664353cb76719b1407d9cd13637f0e3a719291a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M hypervisor/arch/arm/gic-common.c

Log Message:
-----------
arm: Rework and fix SGIR write handling

We only handled routing mode 0 (filtered) and 1 (broadcast) so far, but
mode 0 incorrectly skipped the caller CPU as target. Mode 2 (self-SGI)
was completely ignored.

This rewrites gic_handle_sgir_write, addressing all 3 cases properly.

Reported-by: Johannes Rosa <johann...@siemens.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 756cc02e51c8f64b4ecde10a3880e5637240cd34
https://github.com/siemens/jailhouse/commit/756cc02e51c8f64b4ecde10a3880e5637240cd34
Author: Claudio Scordino <cla...@evidence.eu.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M README.md

Log Message:
-----------
Documentation: Add working URL for mailing list's archive

gmane is still down /wrt its web interface.

Signed-off-by: Claudio Scordino <cla...@evidence.eu.com>
[Jan: leave gmane link, they may recover]
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: e6a4a9be518a77a5840c3cabe5f5fac6e8154116
https://github.com/siemens/jailhouse/commit/e6a4a9be518a77a5840c3cabe5f5fac6e8154116
Author: Claudio Scordino <cla...@evidence.eu.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M FAQ.md

Log Message:
-----------
Documentation: highlight questions in the FAQ

This commit highlights questions (using the bold character) to ease
reading of the FAQ.

Signed-off-by: Claudio Scordino <cla...@evidence.eu.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: ddcabdd33ea254544c014716062c2db2ce79bad5
https://github.com/siemens/jailhouse/commit/ddcabdd33ea254544c014716062c2db2ce79bad5
Author: Claudio Scordino <cla...@evidence.eu.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M FAQ.md

Log Message:
-----------
Documentation: FAQ: how to enable error tracing

This commit adds further information in the FAQ about how to enable
error tracing on serial console.

Signed-off-by: Claudio Scordino <cla...@evidence.eu.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 8ca10bfc3c8063bb1dd1ebd36f689123b28eccb2
https://github.com/siemens/jailhouse/commit/8ca10bfc3c8063bb1dd1ebd36f689123b28eccb2
Author: Claudio Scordino <cla...@evidence.eu.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M README.md

Log Message:
-----------
Documentation: suggest three escape characters for memmap on GRUB2

This commit explains that on GRUB2 three characters are needed for
escaping the dollar sign in the memmap boot argument.

See thread discussion at
https://groups.google.com/forum/#!topic/jailhouse-dev/uRYWRdbIdOg

Signed-off-by: Claudio Scordino <cla...@evidence.eu.com>
[Jan: mention /etc/default/grub as target file]
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 9f8d9c1c56863711695ffa78552659cf21c5fc65
https://github.com/siemens/jailhouse/commit/9f8d9c1c56863711695ffa78552659cf21c5fc65
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M hypervisor/arch/arm/traps.c

Log Message:
-----------
arm: Remove HVC dispatching to PSCI services

The root cell can't be using HVC dispatching as it can't be running a
hypervisor prior to Jailhouse. And we can tell our non-root cells to use
the SMC method for PSCI services.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: 4b03b20fb9ac78eb08c570160a0c82998e1e19c3
https://github.com/siemens/jailhouse/commit/4b03b20fb9ac78eb08c570160a0c82998e1e19c3
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M hypervisor/arch/arm/exception.S
M hypervisor/arch/arm/traps.c

Log Message:
-----------
arm: Reject unknown SMC invocations

Reject every SMC requests except for the emulated PSCI services. This is
required because we have generally no idea about what services are
behind an interface, and even the calling convention is undefined.
Better fail loudly and then resolve the valid cases on a per-platform
basis.

This obsoletes the smc stub in exception.S, so remove it.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: b267f36bfd9583425a7d151c977c4f5d602421e3
https://github.com/siemens/jailhouse/commit/b267f36bfd9583425a7d151c977c4f5d602421e3
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-21 (Wed, 21 Sep 2016)

Changed paths:
M inmates/lib/arm/gic.c

Log Message:
-----------
inmates: arm: Do not report spurious interrupt ID to handler

This ID is the break condition for the loop ("no more interrupts"),
nothing the handler should be interested in.

Reported-by: Johannes Rosa <johann...@siemens.com>
Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Compare: https://github.com/siemens/jailhouse/compare/025006ee669f...b267f36bfd95
Reply all
Reply to author
Forward
0 new messages