All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: Lars Kurth <lars.kurth@citrix.com>, Wei Liu <wei.liu2@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	andre.przywara@linaro.org, Jan Beulich <JBeulich@suse.com>,
	xen-devel <xen-devel@lists.xenproject.org>,
	nd@arm.com
Subject: Re: preparations for 4.9.2 and 4.7.5
Date: Fri, 16 Mar 2018 16:56:06 +0000	[thread overview]
Message-ID: <81eb8430-e104-1f37-38ae-b9dffbf2f2cb@arm.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1803160929540.15548@sstabellini-ThinkPad-X260>

Hi Stefano,

On 16/03/2018 16:33, Stefano Stabellini wrote:
> On Fri, 16 Mar 2018, Julien Grall wrote:
>> Hi Stefano,
>>
>> On 15/03/18 23:52, Stefano Stabellini wrote:
>>> On Wed, 14 Mar 2018, Stefano Stabellini wrote:
>>>> After looking at the test results, which are good for arm, and
>>>> considering that master hasn't passed yet after 2 more days, I agree
>>>> with Julien: I think we should not release 4.9.2 and 4.7.5 without the
>>>> arm64 spectre patches. At this point, I'll proceed to backport the
>>>> patches now.
>>>
>>> Julien, Andre,
>>>
>>> Please give a look at the following branches:
>>>
>>> git://xenbits.xen.org/people/sstabellini/xen-unstable.git
>>> staging-4.7-spectre
>>> git://xenbits.xen.org/people/sstabellini/xen-unstable.git
>>> staging-4.8-spectre
>>> git://xenbits.xen.org/people/sstabellini/xen-unstable.git
>>> staging-4.9-spectre
>>
>> For all of the tree above, as I said yesterday, I clearly don't want to see
>> the smccc framework backport for Xen 4.9 and older. This is a massive changes
>> of the interface that is not necessary for spectre. My main concern is making
>> SMC instruction available to the guest.
>>
>> It would be just sufficient to emulate the few SMCCC function ID we care in
>> do_trap_psci (function can be renamed).
>>
>> This is also clearly wrong to backport coding style or code non-justified code
>> movement (sysreg) just to please the cherry-pick.
>>
>> I am also worry to bump the version of the emulated PSCI (0.2 -> 1.0) for
>> those releases. Some guests may rely on a specific version and may now
>> crashes.
>>
>> Overall, the right way to support spectre in earlier releases is custom patch
>> and only do minimal modification.
>>
>>> git://xenbits.xen.org/people/sstabellini/xen-unstable.git
>>> staging-4.10-spectre
>>
>> The patches below should not be part of spectre nor backport to 4.10:
>>    - 82e29c87dc7f4f2a7e2f111c3646479da21a910a "ARM: remove unneeded gic.h
>> inclusions"
>>    - 79563717c9dd5383abcf0ba94d813de9b42e3793 "xen/arm: psci: Prefix with
>> static any functions not exported"
>>    - 6d0e9b21b1f7213c1994cc2d636448ee2d5372c2 "xen/arm: vpsci: Update the
>> return type for MIGRATE_INFO_TYPE"
>>
>> The patches below should not be part of spectre but candidate to 4.10:
>>    - c2d70f77cc7987be164cd87b76459782497fc540 "xen/arm: vpsci: Rework the logic
>> to start AArch32 vCPU in Thumb mode"
>>
>> You will also want to backport [1] which address a relaxation of the
>> ARM_SMCCC_ARCH_WORKAROUND_1.
> 
> I understand your concerns, in that case could you please provide the
> git branches?

That will have to wait when I have spare cycle. Most likely somewhere in 
April when I am done from the Xen 4.11 patches and back from holidays.

So It is probably the right time to put into contribution stakeholders 
who are using those Xen 4.* stable releases.

Cheers,

[1] https://developer.arm.com/support/security-update/downloads

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2018-03-16 16:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06 15:32 preparations for 4.9.2 and 4.7.5 Jan Beulich
2018-03-06 19:24 ` Stefano Stabellini
2018-03-07  7:35   ` Jan Beulich
2018-03-11 20:48     ` Stefano Stabellini
2018-03-12 10:24       ` Julien Grall
2018-03-12 10:27         ` Julien Grall
2018-03-15  0:36           ` Stefano Stabellini
2018-03-15 23:52             ` Stefano Stabellini
2018-03-16 11:15               ` Julien Grall
2018-03-16 16:33                 ` Stefano Stabellini
2018-03-16 16:56                   ` Julien Grall [this message]
2018-03-16 17:15                     ` Julien Grall
2018-04-03 14:43                       ` Julien Grall
2018-04-03 23:55                         ` Stefano Stabellini
2018-04-04  8:59                           ` Julien Grall
2018-04-04  9:37                             ` Lars Kurth
2018-04-04 10:56                               ` Lars Kurth
2018-04-04 21:02                             ` Stefano Stabellini
2018-03-07 16:54 ` Wei Liu

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=81eb8430-e104-1f37-38ae-b9dffbf2f2cb@arm.com \
    --to=julien.grall@arm.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andre.przywara@linaro.org \
    --cc=lars.kurth@citrix.com \
    --cc=nd@arm.com \
    --cc=sstabellini@kernel.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.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.