mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Nathan Chancellor <nathan@kernel.org>
Cc: x86@kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev
Subject: Re: Hang when booting guest kernels compiled with clang after SRSO mitigations
Date: Thu, 10 Aug 2023 16:43:44 +0200	[thread overview]
Message-ID: <20230810144344.GLZNT3oM6MLVdzGlyd@fat_crate.local> (raw)
In-Reply-To: <20230810134056.GA130730@dev-arch.thelio-3990X>

On Thu, Aug 10, 2023 at 06:40:56AM -0700, Nathan Chancellor wrote:
>   6.5.0-rc5-00039-g138bcddb86d8 (nathan@dev-arch.thelio-3990X) (x86_64-linux-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1 SMP PREEMPT_DYNAMIC Wed Aug  9 17:34:43 MST 2023

Mine:

Linux version 6.5.0-rc5+ (root@vh) (gcc (Debian 10.2.1-3) 10.2.1 20201224, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Thu Aug 10 16:13:54 CEST 2023

...

[    0.083541] Speculative Return Stack Overflow: Mitigation: safe RET

> Guest kernel string:
> 
>   6.5.0-rc5 (nathan@dev-arch.thelio-3990X) (ClangBuiltLinux clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6), GNU ld (GNU Binutils) 2.41.50.20230809) #1 SMP PREEMPT_DYNAMIC Wed Aug  9 16:54:33 MST 2023
> 

Mine:

[    0.000000] Linux version 6.5.0-rc5 (root@vh) (Debian clang version 14.0.6, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Thu Aug 10 13:22:30 CEST 2023

Guest and host are up and running.

There's something else missing.

Your host gcc is 13, maybe I should update...

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

  reply	other threads:[~2023-08-10 14:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10  1:33 Nathan Chancellor
2023-08-10  8:10 ` Borislav Petkov
2023-08-10  9:08   ` Borislav Petkov
2023-08-10  9:15     ` Borislav Petkov
2023-08-10 10:16     ` Nathan Chancellor
2023-08-10 12:51       ` Borislav Petkov
2023-08-10 13:27         ` Nathan Chancellor
2023-08-10 13:32           ` Borislav Petkov
2023-08-10 13:40             ` Nathan Chancellor
2023-08-10 14:43               ` Borislav Petkov [this message]
2023-08-10 15:07                 ` Nathan Chancellor
2023-08-10 15:14                   ` Borislav Petkov
2023-08-10 15:48                     ` Nathan Chancellor
2023-08-10 16:14                       ` Nathan Chancellor
2023-08-11 10:14                         ` Borislav Petkov
2023-08-11 14:09                           ` Nathan Chancellor
2023-08-11 16:03                             ` Sean Christopherson
2023-08-11 16:12                               ` Borislav Petkov
2023-08-12  0:42                                 ` Nick Desaulniers
2023-08-12 13:46                                   ` Borislav Petkov
2023-08-12 14:31                                     ` Nathan Chancellor

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=20230810144344.GLZNT3oM6MLVdzGlyd@fat_crate.local \
    --to=bp@alien8.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=nathan@kernel.org \
    --cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®