public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH v2] Cygwin: cpuinfo: Linux 6.5 additions
@ 2023-09-01 17:42 Brian Inglis
  2023-09-01 19:12 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Inglis @ 2023-09-01 17:42 UTC (permalink / raw)
  To: cygwin-patches

add AMD 0x8000001f EAX 14 debug_swap SEV-ES full debug state swap

Signed-off-by: Brian Inglis <Brian.Inglis@Shaw.ca>
---
 winsup/cygwin/fhandler/proc.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc
index cbc49a12a417..be107cb8eacc 100644
--- a/winsup/cygwin/fhandler/proc.cc
+++ b/winsup/cygwin/fhandler/proc.cc
@@ -1652,7 +1652,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
 /*	  ftcprint (features2, 11, "sev_64b");*//* SEV 64 bit host guest only */
 /*	  ftcprint (features2, 12, "sev_rest_inj");   *//* SEV restricted injection */
 /*	  ftcprint (features2, 13, "sev_alt_inj");    *//* SEV alternate injection */
-/*	  ftcprint (features2, 14, "sev_es_dbg_swap");*//* SEV-ES debug state swap */
+	  ftcprint (features2, 14, "debug_swap");   /* SEV-ES full debug state swap */
 /*	  ftcprint (features2, 15, "no_host_ibs");    *//* host IBS unsupported */
 /*	  ftcprint (features2, 16, "vte");    *//* virtual transparent encryption */
 	}
-- 
2.39.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] Cygwin: cpuinfo: Linux 6.5 additions
  2023-09-01 17:42 [PATCH v2] Cygwin: cpuinfo: Linux 6.5 additions Brian Inglis
@ 2023-09-01 19:12 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2023-09-01 19:12 UTC (permalink / raw)
  To: cygwin-patches

On Sep  1 11:42, Brian Inglis wrote:
> add AMD 0x8000001f EAX 14 debug_swap SEV-ES full debug state swap
> 
> Signed-off-by: Brian Inglis <Brian.Inglis@Shaw.ca>
> ---
>  winsup/cygwin/fhandler/proc.cc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc
> index cbc49a12a417..be107cb8eacc 100644
> --- a/winsup/cygwin/fhandler/proc.cc
> +++ b/winsup/cygwin/fhandler/proc.cc
> @@ -1652,7 +1652,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
>  /*	  ftcprint (features2, 11, "sev_64b");*//* SEV 64 bit host guest only */
>  /*	  ftcprint (features2, 12, "sev_rest_inj");   *//* SEV restricted injection */
>  /*	  ftcprint (features2, 13, "sev_alt_inj");    *//* SEV alternate injection */
> -/*	  ftcprint (features2, 14, "sev_es_dbg_swap");*//* SEV-ES debug state swap */
> +	  ftcprint (features2, 14, "debug_swap");   /* SEV-ES full debug state swap */
>  /*	  ftcprint (features2, 15, "no_host_ibs");    *//* host IBS unsupported */
>  /*	  ftcprint (features2, 16, "vte");    *//* virtual transparent encryption */
>  	}
> -- 
> 2.39.0

Pushed.

Thanks,
Corinna

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-01 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-01 17:42 [PATCH v2] Cygwin: cpuinfo: Linux 6.5 additions Brian Inglis
2023-09-01 19:12 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).