Received: by 10.223.176.5 with SMTP id f5csp2365177wra; Mon, 5 Feb 2018 02:52:19 -0800 (PST) X-Google-Smtp-Source: AH8x2272Etrl3BdUug5KZ0hYnrbPTRs/08mUdRtlExSq8kou83qPsr6jf3pm5qsYB4wNLPQFQIab X-Received: by 10.99.166.18 with SMTP id t18mr38591732pge.42.1517827939693; Mon, 05 Feb 2018 02:52:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517827939; cv=none; d=google.com; s=arc-20160816; b=oQEzfp0/xkvMU16k8ZIM/ll6a0e88KEscfp7DI3G2fIKDniVp8aTPdOB85OWoj0/Vx jTOqTNbCJjNnwPq2NnIAJb6FqgPcRa39bsVkWDnsjRTTY/G7XktN+HQhjeLYybIMSRlj couH6sL2cZRhbpoxKyhJx7f+pkDRDjYzF+vkKY57gzokG0HMn9M0dlSGaTBZHRWhdCWf x64jFKEsY9V09UvBlTCM7lbEVW2yb7xrm4ooDa5bANkACumG0qbEdcxat9BiMx0/loTM eXP7pmMwb6bUl6mX/YrNLZxiHHDWeJ76Af0oKR2eLpmniaUo/KrkyNx01yoIFpab71aY 4R4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=iQBxdRH8FcfUf4VRRt1O+f8SCfeecggaOhCjteUtNO4=; b=OOe7Fcf7ATNLNBAOwHQOx8f60d3+wY5qUv1VTdMebGIaw4UAjIeFEUzHigMbB9Xkwr GayUcEA0R5EeI37MH9cC6cD7j2bpeCem/dCtp5CnxHN4bhTC4EnoRl4Z8aL1cUyrAOHv ItenDanIuaUrLgO6eDazqBZfe3sRfStJL2NKpOzI3/OM4P8z3+5CCioi7fp5xuT2E8z1 tVNnJiV03vPG9EO+cBWZAWMYlZ36rS7fA2eRZw+s4WlzQjRLJAilbJFula2c51AWLTeF 5/Y1HKN8JdA8qv5bPw3WwUAsvoJoJp7hyORAYVJXAjdfMdSPiwqN3WJzrgGTzuwK1Vun NDsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jRZnH3lE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d14-v6si4358827plj.519.2018.02.05.02.52.05; Mon, 05 Feb 2018 02:52:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jRZnH3lE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752808AbeBEKuk (ORCPT + 99 others); Mon, 5 Feb 2018 05:50:40 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:51479 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbeBEKue (ORCPT ); Mon, 5 Feb 2018 05:50:34 -0500 Received: by mail-wm0-f48.google.com with SMTP id r71so25319926wmd.1 for ; Mon, 05 Feb 2018 02:50:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=iQBxdRH8FcfUf4VRRt1O+f8SCfeecggaOhCjteUtNO4=; b=jRZnH3lE8Xb9p+tfiVN/VpHNq08oFlFEA5uJkIDtyvDgBhT8vTQYY3epRcANs3Cqdz qx4NvdEZ7mugt8QQXXus2koDyLkQazlkEJAXkIhGr0+w2b8gx2FtU8Bk/S21Lf/l5KTQ UOvwPG52stuLe03Qc25PiEkLzbQ2uARBYSxdg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iQBxdRH8FcfUf4VRRt1O+f8SCfeecggaOhCjteUtNO4=; b=JKTnMXg5By93ThDnexJvB5Op8z9fGra2r0nrFSxDRbfWlrYsxOPn2H1fgWj/PDgQcf MTdOUfoK3bbIUhVT8iO+kDZg0MxcihxCHtxRhQspRAX8/ZLUFd3Dh8Ioq/LfZzFlMOvk Oxjrt4S2ADENhn3DqGGlV3NkkFLWauxTRZVGRup8g4EZ7JBBOHqonVbOs/oxQ9SZF/EN W+D60wlO7x0tqi/d2NKHGHkMJlvxQ6s3PGZjBqx0j9pfeWuqwBr7EmknjD/2sLnxSU9k kBd+YM/9VnqBgIuLaNAHbmaCO0HYbCYutc7uwkOqgOp+92mZYwjekPbdW6/EbQZ34P9/ 4bbQ== X-Gm-Message-State: AKwxytcvMpbfspNLnUcyqiBjCa8PgvohtLF8v6VKhasOguicamiEkX5n iFNORsmgMgAM5259J/pZJ/d5+A== X-Received: by 10.80.128.197 with SMTP id 63mr79365798edb.55.1517827833194; Mon, 05 Feb 2018 02:50:33 -0800 (PST) Received: from localhost (x50d2404e.cust.hiper.dk. [80.210.64.78]) by smtp.gmail.com with ESMTPSA id l50sm7214609eda.72.2018.02.05.02.50.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 02:50:32 -0800 (PST) Date: Mon, 5 Feb 2018 11:50:31 +0100 From: Christoffer Dall To: Marc Zyngier Cc: Andrew Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, Catalin Marinas , Will Deacon , Peter Maydell , Lorenzo Pieralisi , Mark Rutland , Robin Murphy , Ard Biesheuvel , Hanjun Guo , Jayachandran C , Jon Masters , Russell King - ARM Linux Subject: Re: [PATCH v3 08/18] arm/arm64: KVM: Add PSCI version selection API Message-ID: <20180205105031.GV21802@cbox> References: <20180201114657.7323-1-marc.zyngier@arm.com> <20180201114657.7323-9-marc.zyngier@arm.com> <20180202201706.dj6jmff7lh7bleze@kamzik.brq.redhat.com> <20180203115932.24c4bcfb@why.wild-wind.fr.eu.org> <20180204123701.GK21802@cbox> <6b0d5f23-950c-b2a6-3cc8-63c3145893b4@arm.com> <20180205095823.r5vlfkovrgksykxh@hawk.localdomain> <7eb71dd4-c06b-9680-0280-03569925283b@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7eb71dd4-c06b-9680-0280-03569925283b@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 05, 2018 at 10:42:44AM +0000, Marc Zyngier wrote: > On 05/02/18 09:58, Andrew Jones wrote: > > On Mon, Feb 05, 2018 at 09:24:33AM +0000, Marc Zyngier wrote: > >> On 04/02/18 12:37, Christoffer Dall wrote: > > [...] > > >>> Given the urgency of adding mitigation towards variant 2 which is the > >>> driver for this work, I think we should drop the compat functionality in > >>> this series and work this out later on if needed. I think we can just > >>> tweak the previous patch to enable PSCI 1.0 by default and drop this > >>> patch for the current merge window. > >> > >> I'd be fine with that, as long as we have a clear agreement on the > >> impact of such a move. > > > > Yeah, that's what I was trying to figure out with my fancy tables. I might > > be coming around more to your approach now, though. Ensuring the new->old > > migration fails is a nice feature of this series. It would be good if > > we could preserve that behavior without committing to a new userspace > > interface, but I'm not sure how. Maybe I should just apologize for the > > noise, and this patch be left as is... > > How about we don't decide now? > > I can remove this patch from the series so that the core stuff can make > it into the arm64 tree ASAP (I think Catalin wants to queue something > early this week so that it can hit Linus' tree before the end of the > merge window), and then repost this single patch on its own (with fixes > for the things that Christoffer found in his review) after -rc1. > > It leaves us time to haggle over the userspace ABI (which is > realistically not going to affect anyone), and we get the core stuff in > place for SoC vendors to start updating their firmware. > I agree, that's what I tried to suggest in my e-mail as well. Just remember to tweak the previous patch to actually enable PSCI 1.0 by default. Thanks, -Christoffer