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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A561CC5B549 for ; Mon, 2 Jun 2025 06:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sJqhJIqVur86Ub8yCPFmQutZHglOy7xYoavk/lkNNu4=; b=fmYSjP1vfHLEXfbzYlVf4o1vf0 2bp1N1eILEYqexOHykLdlLr3ZBXdtcoNTIMGPorydbXr0fa8l9p1lWFGVgZDR62bsybvUz+9ZbqyD BG9TpS8fNCmMGpFAkMZ+nXUF2TI185S32CS2uPuvZsJ8VFbfEjDEX2/R0RQhVSQla2AbjiYLIIJX8 z29acwGh+a2dosT6zkbp6JPKfUwF4IuOVnZ+h3j9yHTbeHjD95iLbZHW3GZITAIe6ian1hrYP/Xae 4qYkSlf6wGQGmH06u2YyzaSrX7Mzezbc4VjvzyZROLxeuBubHkH47hwXtpdvddRx6ErmM1fq+fEf5 ADiKGEtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uLyqn-00000006qxy-3Csl; Mon, 02 Jun 2025 06:40:49 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uLyod-00000006qhx-3BeV for linux-arm-kernel@lists.infradead.org; Mon, 02 Jun 2025 06:38:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id CA0436111C; Mon, 2 Jun 2025 06:38:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7422EC4CEEB; Mon, 2 Jun 2025 06:38:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1748846314; bh=y+jISBhb9tnNJM7RWsHHximpJvsm7hHfcJ7ztH+PlOQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cuG+xMABCZX0jFG3RY1tgS0txvtNEnR/WpUPTu6T8vyeRA+1h6FPDbNAzPdOvstsE SCGC6WeTmoVUcvOime6hKtufAkCQrgcjUfM/z1JWMpm5SdlkBYNAjpTdx1MddStEYF rtzOikXuKVme21qXDUJzc280r2GO0oKyKGwU44yY9lJDFRhhtGQYVQOcrhgwfn6Lgf BzU8gLw/je4gv3ABp3taBxACaU2eLgspOrrHWwatysTSivvhyTdXx2rC+6VPfEdqch PyfFLAgTaO2dUvoYhGm+jZkGdMic8JnNzAJf4NFNvFnm4JC3BaqE1v4Zu0MrRUbBp0 oNoomsiobQzPQ== Received: from [149.88.19.236] (helo=lobster-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1uLyoZ-002QQ4-R6; Mon, 02 Jun 2025 07:38:32 +0100 Date: Mon, 02 Jun 2025 07:38:30 +0100 Message-ID: <87o6v6ejh5.wl-maz@kernel.org> From: Marc Zyngier To: Xi Ruoyao Cc: James Morse , Anshuman Khandual , Ben Horgan , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Shameer Kolothum , Mingcong Bai , Shaopeng Tan Subject: Re: [PATCH v4] arm64: Add override for MPAM In-Reply-To: <20250602043723.216338-1-xry111@xry111.site> References: <20250602043723.216338-1-xry111@xry111.site> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 149.88.19.236 X-SA-Exim-Rcpt-To: xry111@xry111.site, james.morse@arm.com, anshuman.khandual@arm.com, ben.horgan@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, shameerali.kolothum.thodi@huawei.com, jeffbai@aosc.io, tan.shaopeng@fujitsu.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 02 Jun 2025 05:33:21 +0100, Xi Ruoyao wrote: > > As the message of the commit 09e6b306f3ba ("arm64: cpufeature: discover > CPU support for MPAM") already states, if a buggy firmware fails to > either enable MPAM or emulate the trap as if it were disabled, the > kernel will just fail to boot. While upgrading the firmware should be > the best solution, we have some hardware of which the vendor have made > no response 2 months after we requested a firmware update. Allow > overriding it so our devices don't become some e-waste. > > Cc: James Morse > Cc: Marc Zyngier > Cc: Will Deacon > Cc: Shameer Kolothum > Cc: Mingcong Bai > Cc: Shaopeng Tan > Cc: Ben Horgan > Signed-off-by: Xi Ruoyao Reviewed-by: Marc Zyngier M. -- Jazz isn't dead. It just smells funny.