From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB1FAC433E2 for ; Fri, 11 Sep 2020 19:00:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A59821D81 for ; Fri, 11 Sep 2020 19:00:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jE6sRtf7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="iSnKmmH+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A59821D81 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NEZ9bBy6herFD5PO+zMuLOnNeOpqoq02SIaOn4QQUVM=; b=jE6sRtf7g/6G/H9WFfvNUwORV w1+WDSDZ2aYLWhjD1F621lreB5GjlGs7j6ocjN2s3zhgB0wZTQYg1klpnDmyAS+T/uV5u4iHxxr6q 9co+AvY1G5tom8CvtAfhQE2qj/623AQci1PRH6KjFj1qsguryqpWXQLYSJxhn9mwLy4XfX9LR+/ck h7Lo8bZqU5jnRb0rOu816Wvgh/OCsINlhz4qtCKisdNxpOsuCfc0nnxOzkE0+NBWb5qRNdvQfHSky 3Kg7Pj2w41d+/dzWcHLOyzCYbLRCZ66dYNqZUbuHDJaGFAsb5FJRDlYw1kTZ7uOTPdPfb6Iy4ys26 Q/R0/hDqw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGoGQ-0006IW-01; Fri, 11 Sep 2020 18:59:14 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGoGM-0006I8-EP for linux-arm-kernel@lists.infradead.org; Fri, 11 Sep 2020 18:59:11 +0000 Received: by mail-pf1-x443.google.com with SMTP id x123so8078166pfc.7 for ; Fri, 11 Sep 2020 11:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=l7yQ4I+mJfCkDREZ7m8UzsT++cLB3topPtsXiXVvg8c=; b=iSnKmmH+SWxNIbvIw0RaGSsN1jM64GGDc7UTbY+u8dZt6n+anbr4/iY7+MbxYH3+t9 KM2sengitdTxdXdX2224N5P56B21stwsN0TE795ThumZWl76Hyev9gt4q08ubLrKO/wF 84Uic9AQxbqiTvZ+zJ80Rx+6P7U/Guj5Lmsvo= 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; bh=l7yQ4I+mJfCkDREZ7m8UzsT++cLB3topPtsXiXVvg8c=; b=QasafQNaMaHzoAGmgsfJIbunme+U15J/wKKIAsM6vaK2zIyAtMnGyVFwumpFIimQIA UHNAaPyzWy1XjrMI0l+bHmmn/2jnz8Ie4OLMSE9+9fWxD5afL9CkLXFNBmW467keTWXi mCaaAFDNlil3IgKBI1JvxHg6nJNSdSE+zkjljCSuB7IInNa8pSIoBzh/gdnIIvK76qm4 dc7HmfHVfODO0aL2T8lAxubgxiBZ+Nr3304CTpod3772qpvVfb3sj3+27iZWgTW8NHbT kGd9qdbWTc72lww6bQGhUeAqs+PxpMlUyuZEvPqWKAhzcXoYRMokPkPrAhUudZr3ph29 3eAA== X-Gm-Message-State: AOAM531D08yWyq0eHjwBPTz35bkfeorQEI8aEJ+Y/ZTr4D+y0LToLGYt HlmzbXFeefUHe5nnhLIf9Cdtbw== X-Google-Smtp-Source: ABdhPJyGl3BMR0q3wZ0a9sZH0Uk3Nw3/fqQLS/Z0M9ofzl3tt4nWfQA9tIOBW86S1/8HiV23e4+RXA== X-Received: by 2002:a62:1d51:0:b029:13e:d13d:a0fc with SMTP id d78-20020a621d510000b029013ed13da0fcmr3300547pfd.24.1599850745787; Fri, 11 Sep 2020 11:59:05 -0700 (PDT) Received: from localhost ([2620:15c:202:1:f693:9fff:fef4:e70a]) by smtp.gmail.com with ESMTPSA id v12sm2514477pgk.81.2020.09.11.11.59.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 11:59:05 -0700 (PDT) Date: Fri, 11 Sep 2020 11:59:03 -0700 From: Matthias Kaehlcke To: Marc Zyngier Subject: Re: [PATCH] arm64: Allow CPUs unffected by ARM erratum 1418040 to come in late Message-ID: <20200911185903.GA942772@google.com> References: <20200911181611.2073183-1-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200911181611.2073183-1-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200911_145910_487605_6D5A50FC X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sai Prakash Ranjan , kernel-team@android.com, Catalin Marinas , Doug Anderson , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Sep 11, 2020 at 07:16:11PM +0100, Marc Zyngier wrote: > Now that we allow CPUs affected by erratum 1418040 to come in late, > this prevents their unaffected sibblings from coming in late (or > coming back after a suspend or hotplug-off, which amounts to the > same thing). > > To allow this, we need to add ARM64_CPUCAP_OPTIONAL_FOR_LATE_CPU, > which amounts to set .type to ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE. > > Reported-by: Doug Anderson > Tested-by: Sai Prakash Ranjan > Fixes: bf87bb0881d0 ("arm64: Allow booting of late CPUs affected by erratum 1418040") > Signed-off-by: Marc Zyngier Tested-by: Matthias Kaehlcke And I guess I deserve brownie points for having found the problem initially and identified the offending commit, even though it was Doug who reported it to the list :) Reported-by: Matthias Kaehlcke _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel