All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miles Glenn <milesg@linux.ibm.com>
To: Caleb Schlossin <calebs@linux.ibm.com>, qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org, npiggin@gmail.com, adityag@linux.ibm.com,
	chalapathi.v@linux.ibm.com
Subject: Re: [PATCH 2/4] ppc/pnv: Support for SECURITY_SWITCH XSCOM register access
Date: Tue, 06 Jan 2026 10:58:45 -0600	[thread overview]
Message-ID: <592d42050fdbdba45f395487d8ee80de0ff247ca.camel@linux.ibm.com> (raw)
In-Reply-To: <20251218200353.301866-3-calebs@linux.ibm.com>

Reviewed-by: Glenn Miles <milesg@linux.ibm.com>

Thanks,

Glenn

On Thu, 2025-12-18 at 14:03 -0600, Caleb Schlossin wrote:
> Power Hypervisor code requires access to the SECURITY_SWITCH
> XSCOM register at MMIO address 0x80028 (scom address 0x10005).
> Adding basic read support for now so that is doesn't cause
> error messages to be posted.
> 
> Signed-off-by: Glenn Miles <milesg@linux.ibm.com>
> Signed-off-by: Caleb Schlossin <calebs@linux.ibm.com>
> ---
>  hw/ppc/pnv_xscom.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/hw/ppc/pnv_xscom.c b/hw/ppc/pnv_xscom.c
> index fbfec829d5..308430def7 100644
> --- a/hw/ppc/pnv_xscom.c
> +++ b/hw/ppc/pnv_xscom.c
> @@ -61,6 +61,8 @@ static uint32_t pnv_xscom_pcba(PnvChip *chip, uint64_t addr)
>  static uint64_t xscom_read_default(PnvChip *chip, uint32_t pcba)
>  {
>      switch (pcba) {
> +    case 0x10005:       /* SECURITY SWITCH */
> +        return 0;
>      case 0xf000f:
>          return PNV_CHIP_GET_CLASS(chip)->chip_cfam_id;
>      case 0x18002:       /* ECID2 */



  parent reply	other threads:[~2026-01-06 16:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-18 20:03 [PATCH 0/4] Power10 PowerVM bringup fixes Caleb Schlossin
2025-12-18 20:03 ` [PATCH 1/4] ppc/pnv: Suppress some "pnv_chiptod unimplemented register" messages Caleb Schlossin
2025-12-22 10:46   ` Chalapathi V
2026-01-06 16:49   ` Miles Glenn
2026-01-06 17:07     ` Caleb Schlossin
2026-01-07 18:04       ` Miles Glenn
2026-01-19 10:18       ` Aditya Gupta
2026-01-20 14:31         ` Caleb Schlossin
2026-01-24 12:07           ` Aditya Gupta
2025-12-18 20:03 ` [PATCH 2/4] ppc/pnv: Support for SECURITY_SWITCH XSCOM register access Caleb Schlossin
2025-12-22 10:47   ` Chalapathi V
2026-01-06 16:58   ` Miles Glenn [this message]
2026-01-19 10:22   ` Aditya Gupta
2025-12-18 20:03 ` [PATCH 3/4] ppc/pnv: Add unimplemented quad and core regs Caleb Schlossin
2025-12-22 10:48   ` Chalapathi V
2026-01-06 16:59   ` Miles Glenn
2026-01-24 12:20   ` Aditya Gupta
2025-12-18 20:03 ` [PATCH 4/4] ppc/pnv: Add OCC FLAG registers Caleb Schlossin
2025-12-22 10:49   ` Chalapathi V
2026-01-06 17:00   ` Miles Glenn
2026-01-24 12:13   ` Aditya Gupta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=592d42050fdbdba45f395487d8ee80de0ff247ca.camel@linux.ibm.com \
    --to=milesg@linux.ibm.com \
    --cc=adityag@linux.ibm.com \
    --cc=calebs@linux.ibm.com \
    --cc=chalapathi.v@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.