From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5077716A924 for ; Fri, 21 Jun 2024 18:33:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718994803; cv=none; b=Vun01z6vV8srESpyD/Q2DPwX13qnWenLeQfpyBvHM7CYinZp+yHrH8ls+5puuDNn83dOGjE97VlNF9mulRm/b57+YMlnnSA0PQEV82kQWOm/IepdFwKncNlnBtjalLuAyKtrxkX2mGh0Ofrbjyf4r17jyQHcaDCmZQwi10lgXoo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718994803; c=relaxed/simple; bh=uCLqzM/byq1KpJWm93hbn7C50XMi+GyhzzS/6R5QP18=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=duB2/RxXXfmp/ACG2oxSUqx1l8wsENq6GnbZ7qQmZ1dtLxZ6il4bROw/+kgTDR6lIt4UTDjyBy14IXNL10ogUBSQUAOM5AcBCk2RkXNq4Gp82FR2se+tAAtoGabHfxzQ271YoCR4dRU7FuOMNCI3BaDxcXsxf20ssI1XQTe5aRY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4W5Qvk2Xz4z6K6Sk; Sat, 22 Jun 2024 02:32:50 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 8DC95140B38; Sat, 22 Jun 2024 02:33:17 +0800 (CST) Received: from localhost (10.203.174.77) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 21 Jun 2024 19:33:17 +0100 Date: Fri, 21 Jun 2024 19:33:16 +0100 From: Jonathan Cameron To: CC: , , , , , Subject: Re: [RFC PATCH 1/1] hw/arm: FW first ARM processor error injection. Message-ID: <20240621193316.00000d83@Huawei.com> In-Reply-To: <20240621165115.336-1-shiju.jose@huawei.com> References: <20240621165115.336-1-shiju.jose@huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-edac@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100003.china.huawei.com (7.191.160.210) To lhrpeml500005.china.huawei.com (7.191.163.240) On Fri, 21 Jun 2024 17:51:15 +0100 wrote: > From: Shiju Jose Thanks for posting this. Given this is going to linux-edac, probably should mention this is QEMU based error injection. For cross postings between kernel related and qemu lists I tend to stick qemu in the [] of the patch description. > > Add support for FW first ARM processor error injection. > > Compliance with N.2.4.4 ARM Processor Error Section in > UEFI 2.9A/2.10 specs. > > Examples, > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['cache-error'] > } > } > > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['tlb-error'] > } > } > > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['bus-error'] > } > } > > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['cache-error', 'tlb-error'] > } > } > > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['cache-error', 'tlb-error', 'bus-error', 'micro-arch-error'] > } > } > etc. > > Signed-off-by: Shiju Jose With a few minor tweaks to build files, this is on my cxl gitlab qemu staging branch as that happens to have other injection stuff (this obviously has little to do with CXL!) http://gitlab.com/jic23/qemu/ cxl-2024-06-21 Note I haven't tested that branch beyond a quick boot test, so it might get some revisions early next week. Jonathan 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 7B67CC27C4F for ; Fri, 21 Jun 2024 18:34:09 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKj4k-0003SQ-Cl; Fri, 21 Jun 2024 14:33:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKj4h-0003Qe-Vt for qemu-devel@nongnu.org; Fri, 21 Jun 2024 14:33:27 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKj4f-0001ne-5y for qemu-devel@nongnu.org; Fri, 21 Jun 2024 14:33:27 -0400 Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4W5Qvk2Xz4z6K6Sk; Sat, 22 Jun 2024 02:32:50 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 8DC95140B38; Sat, 22 Jun 2024 02:33:17 +0800 (CST) Received: from localhost (10.203.174.77) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 21 Jun 2024 19:33:17 +0100 Date: Fri, 21 Jun 2024 19:33:16 +0100 To: CC: , , , , , Subject: Re: [RFC PATCH 1/1] hw/arm: FW first ARM processor error injection. Message-ID: <20240621193316.00000d83@Huawei.com> In-Reply-To: <20240621165115.336-1-shiju.jose@huawei.com> References: <20240621165115.336-1-shiju.jose@huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.203.174.77] X-ClientProxiedBy: lhrpeml100003.china.huawei.com (7.191.160.210) To lhrpeml500005.china.huawei.com (7.191.163.240) Received-SPF: pass client-ip=185.176.79.56; envelope-from=jonathan.cameron@huawei.com; helo=frasgout.his.huawei.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jonathan Cameron From: Jonathan Cameron via Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Fri, 21 Jun 2024 17:51:15 +0100 wrote: > From: Shiju Jose Thanks for posting this. Given this is going to linux-edac, probably should mention this is QEMU based error injection. For cross postings between kernel related and qemu lists I tend to stick qemu in the [] of the patch description. > > Add support for FW first ARM processor error injection. > > Compliance with N.2.4.4 ARM Processor Error Section in > UEFI 2.9A/2.10 specs. > > Examples, > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['cache-error'] > } > } > > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['tlb-error'] > } > } > > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['bus-error'] > } > } > > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['cache-error', 'tlb-error'] > } > } > > { "execute": "arm-inject-error", > "arguments": { > "errortypes": ['cache-error', 'tlb-error', 'bus-error', 'micro-arch-error'] > } > } > etc. > > Signed-off-by: Shiju Jose With a few minor tweaks to build files, this is on my cxl gitlab qemu staging branch as that happens to have other injection stuff (this obviously has little to do with CXL!) http://gitlab.com/jic23/qemu/ cxl-2024-06-21 Note I haven't tested that branch beyond a quick boot test, so it might get some revisions early next week. Jonathan