Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1637286pxj; Wed, 19 May 2021 10:19:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHrI5nHBnLQxJayppcDKjaIOIt/eKM1wopWSDr2t1JPde6lpx3ME2b2LcVECmrmT4TS8BM X-Received: by 2002:a50:fb0f:: with SMTP id d15mr80155edq.343.1621444746605; Wed, 19 May 2021 10:19:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621444746; cv=none; d=google.com; s=arc-20160816; b=F9s9GhsWHZCLGYgueD7yUHe6SaCB+kZl/BafGQRgPd28s9BWgND9uTnPX3lb7xKdFH WpsYZAWgkBMFXRQb9Q0q1uwZx7B0l8Hpp57sAad9Ks3h6UdVHZCnnmNoZOefyomWM+gK AwwwVtF3Zl97nonAMKpPEIfcGVTI+beGWOBNoX7Dow4c+eQxKnifWxj2/VTvZFuUWRio DSBG1bGApdUgSMRV3Vug4Y/+X4ICrTYldmsORxDMZU2w33I28YvK5C4fbyWXEHIYwulG t0OdwX8Y1I3lYADgAmZKEElyrH1/hbFjU9Gv4MIpRXaRzJsI428qtOSRo5jM5OeHshVm XvYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=Ff8SSG849fNHcYzr/rvAKGbCBzDghp42qUMZJWngw28=; b=kajFRiy854BFIUICQETUp+2qTSdlFUsNnvF5L9w509CpEhk1IWHDbaSTrjeQaW5Ju5 YRANFf+/FoTp4qd90ghwD6TnhmSi37QhE4i+9s3JrDgMkNgD07+jrxtd7BKMQJ0PciCg hGSwvKm/TwoXSm0Nmw/KErGhfHygAREJywSwzRoXDBZepYdDd6GV7+zJOhxYLknMz565 V8X6V/2+SuNgSw0cnKSvoh6fnM1CDgwZzuFsph3pK6VhxkHW2OeNzhhOmeMByphtPPAi THTsN263ciY1FT2k8VKb6DSgd9RaWDMn80gazdF2LCUCL//XQFwxkCbJzuKfcM9s8jhP Bt7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uUUVSHeH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ba8si476788edb.263.2021.05.19.10.18.37; Wed, 19 May 2021 10:19:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uUUVSHeH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347675AbhERJFA (ORCPT + 99 others); Tue, 18 May 2021 05:05:00 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:48610 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S241978AbhERJFA (ORCPT ); Tue, 18 May 2021 05:05:00 -0400 X-UUID: 8c1b65f0da6a4294a839ce39e8d245cb-20210518 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=Ff8SSG849fNHcYzr/rvAKGbCBzDghp42qUMZJWngw28=; b=uUUVSHeHO6sDyUYj/SoN3EkPgv0kWg5lICXYkb9fk3zi2ODHvynO/WGXTOxrD2wUCTxcRHnMLif6fkeDi1zwb3t/Nv7dyKNhRWJKzEUqC+l+1jxoHQbOrprpWXdCgIBcMkul2JyTu3bVhlNJUkjZ7ulRUzjr3HolWlnOp2cfmPc=; X-UUID: 8c1b65f0da6a4294a839ce39e8d245cb-20210518 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2135526858; Tue, 18 May 2021 17:03:38 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 18 May 2021 17:03:36 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 18 May 2021 17:03:36 +0800 Message-ID: <1621328616.14194.12.camel@mtkswgap22> Subject: Re: REGRESSION: kernel BUG at arch/arm64/kernel/alternative.c:157! From: Miles Chen To: John Stultz CC: Catalin Marinas , Kees Cook , Will Deacon , Sami Tolvanen , linux-arm-kernel , Linux Kernel Mailing List , Bjorn Andersson , YongQin Liu , "Amit Pundir" Date: Tue, 18 May 2021 17:03:36 +0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIxLTA1LTE3IGF0IDE0OjUyIC0wNzAwLCBKb2huIFN0dWx0eiB3cm90ZToNCj4g V2l0aCB2NS4xMy1yYzIsIEkndmUgYmVlbiBzZWVpbmcgYW4gb2RkIGJvb3QgcmVncmVzc2lvbiB3 aXRoIHRoZQ0KPiBEcmFnb25Cb2FyZCA4NDVjOg0KDQpJIGFsc28gb2JzZXJ2ZWQgdGhlIHNhbWUg aXNzdWUgd2l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