linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: LKML: Vasily Gorbik: [GIT PULL] s390 patches for the 5.6 merge window
       [not found] ` <CAKwvOdm+1bMq-uZxe96HViKLzT7jRyxdS68KLyOXhMm2hM9F5w@mail.gmail.com>
@ 2020-02-10 17:58   ` Vasily Gorbik
  2020-02-10 18:30     ` David Hildenbrand
  0 siblings, 1 reply; 2+ messages in thread
From: Vasily Gorbik @ 2020-02-10 17:58 UTC (permalink / raw)
  To: Nick Desaulniers; +Cc: clang-built-linux, LKML, David Hildenbrand

On Fri, Feb 07, 2020 at 10:22:20PM +0000, Nick Desaulniers wrote:
> + Vasily for real
> 
> On Fri, Feb 7, 2020, 11:02 PM Nick Desaulniers <ndesaulniers@google.com>
> wrote:
> 
> > https://lkml.org/lkml/2020/1/28/1141
> >
> > Yo, what's up with clang 10 support?
I believe s390 kernel had limited clang build support since about 5.2
(with jump labels and ftrace disabled), thanks to contributions from Arnd
Bergmann. With asm goto support in clang 9 and now everything for ftrace
in place in clang 10 s390 kernel should be in a good shape feature wise
(including KASAN). At this stage clang based tooling is the main interest.

> >
> > Can I boot this in qemu?
> >
qemu tcg seems to work fine for gcc built s390 kernels. While clang built
kernels run smoothly natively and with accel=kvm there is still something
to be fixed for accel=tcg (kernel fails to boot on both s390 and x86).


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

* Re: LKML: Vasily Gorbik: [GIT PULL] s390 patches for the 5.6 merge window
  2020-02-10 17:58   ` LKML: Vasily Gorbik: [GIT PULL] s390 patches for the 5.6 merge window Vasily Gorbik
@ 2020-02-10 18:30     ` David Hildenbrand
  0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2020-02-10 18:30 UTC (permalink / raw)
  To: Vasily Gorbik, Nick Desaulniers; +Cc: clang-built-linux, LKML

On 10.02.20 18:58, Vasily Gorbik wrote:
> On Fri, Feb 07, 2020 at 10:22:20PM +0000, Nick Desaulniers wrote:
>> + Vasily for real
>>
>> On Fri, Feb 7, 2020, 11:02 PM Nick Desaulniers <ndesaulniers@google.com>
>> wrote:
>>
>>> https://lkml.org/lkml/2020/1/28/1141
>>>
>>> Yo, what's up with clang 10 support?
> I believe s390 kernel had limited clang build support since about 5.2
> (with jump labels and ftrace disabled), thanks to contributions from Arnd
> Bergmann. With asm goto support in clang 9 and now everything for ftrace
> in place in clang 10 s390 kernel should be in a good shape feature wise
> (including KASAN). At this stage clang based tooling is the main interest.
> 
>>>
>>> Can I boot this in qemu?
>>>
> qemu tcg seems to work fine for gcc built s390 kernels. While clang built
> kernels run smoothly natively and with accel=kvm there is still something
> to be fixed for accel=tcg (kernel fails to boot on both s390 and x86).
> 

Any details on that (e.g., kernel splat)? Could be that TCG doesn't like
a specific instruction - but could also be that some code is broken that
is not taken by HW/KVM (esp. because TCG implements less CPU facilities
- e.g., no support for huge pages).

Cheers!

-- 
Thanks,

David / dhildenb


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

end of thread, other threads:[~2020-02-10 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAKwvOdkCtyGPeO2kNQSJ3adX6t6k46tf3Au-P06c1G3McRE2KQ@mail.gmail.com>
     [not found] ` <CAKwvOdm+1bMq-uZxe96HViKLzT7jRyxdS68KLyOXhMm2hM9F5w@mail.gmail.com>
2020-02-10 17:58   ` LKML: Vasily Gorbik: [GIT PULL] s390 patches for the 5.6 merge window Vasily Gorbik
2020-02-10 18:30     ` David Hildenbrand

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 NNTP newsgroup(s).