qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] ea2ccb: target/microblaze: Add use-non-secure


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] ea2ccb: target/microblaze: Add use-non-secure property
Date: Wed, 27 Jan 2021 09:46:02 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: ea2ccb65615f8e50d6002c6b0de33691c00aae9d
      
https://github.com/qemu/qemu/commit/ea2ccb65615f8e50d6002c6b0de33691c00aae9d
  Author: Joe Komlodi <joe.komlodi@xilinx.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M target/microblaze/cpu.c
    M target/microblaze/cpu.h

  Log Message:
  -----------
  target/microblaze: Add use-non-secure property

This property is used to control the security of the following interfaces
on MicroBlaze:
M_AXI_DP - data interface
M_AXI_IP - instruction interface
M_AXI_DC - dcache interface
M_AXI_IC - icache interface

It works by enabling or disabling the use of the non_secure[3:0] signals.

Interfaces and their corresponding values are taken from:
https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_2/ug984-vivado-microblaze-ref.pdf
page 153.

Signed-off-by: Joe Komlodi <komlodi@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-Id: <1611274735-303873-2-git-send-email-komlodi@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>


  Commit: 671a0a1265aeecae6775a8c7b8d6a5ede8a7ad32
      
https://github.com/qemu/qemu/commit/671a0a1265aeecae6775a8c7b8d6a5ede8a7ad32
  Author: Joe Komlodi <joe.komlodi@xilinx.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M target/microblaze/mmu.c
    M target/microblaze/mmu.h

  Log Message:
  -----------
  target/microblaze: use MMUAccessType instead of int in mmu_translate

Using MMUAccessType makes it more clear what the variable's use is.
No functional change.

Signed-off-by: Joe Komlodi <komlodi@xilinx.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-Id: <1611274735-303873-3-git-send-email-komlodi@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>


  Commit: 43a9ede1efd12d297278d017ce7df7130672e15d
      
https://github.com/qemu/qemu/commit/43a9ede1efd12d297278d017ce7df7130672e15d
  Author: Joe Komlodi <joe.komlodi@xilinx.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M target/microblaze/cpu.c
    M target/microblaze/cpu.h
    M target/microblaze/helper.c

  Log Message:
  -----------
  target/microblaze: Add security attributes on memory transactions

Using the cfg.use_non_secure bitfield and the MMU access type, we can determine
if the access should be secure or not.

Signed-off-by: Joe Komlodi <komlodi@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-Id: <1611274735-303873-4-git-send-email-komlodi@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>


  Commit: bf159f0bdc7b8e7aa8342dedb3829ca744c1b612
      
https://github.com/qemu/qemu/commit/bf159f0bdc7b8e7aa8342dedb3829ca744c1b612
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M target/microblaze/cpu.c
    M target/microblaze/cpu.h
    M target/microblaze/helper.c
    M target/microblaze/mmu.c
    M target/microblaze/mmu.h

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/edgar/tags/edgar/xilinx-next-2021-01-27.for-upstream' into staging

For upstream

# gpg: Signature made Wed 27 Jan 2021 07:41:20 GMT
# gpg:                using RSA key AC44FEDC14F7F1EBEDBF415129C596780F6BCA83
# gpg: Good signature from "Edgar E. Iglesias (Xilinx key) 
<edgar.iglesias@xilinx.com>" [unknown]
# gpg:                 aka "Edgar E. Iglesias <edgar.iglesias@gmail.com>" [full]
# Primary key fingerprint: AC44 FEDC 14F7 F1EB EDBF  4151 29C5 9678 0F6B CA83

* remotes/edgar/tags/edgar/xilinx-next-2021-01-27.for-upstream:
  target/microblaze: Add security attributes on memory transactions
  target/microblaze: use MMUAccessType instead of int in mmu_translate
  target/microblaze: Add use-non-secure property

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/565c86af519a...bf159f0bdc7b



reply via email to

[Prev in Thread] Current Thread [Next in Thread]