Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp24700pxf; Wed, 31 Mar 2021 15:28:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaijLbDTiJljgk5WN1teFnikUFEqSPKqlIBPeokZ+mnbj8Tf+f1cWLYC+NsTRmJaVIg8in X-Received: by 2002:a17:906:53d7:: with SMTP id p23mr6075157ejo.140.1617229680405; Wed, 31 Mar 2021 15:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617229680; cv=none; d=google.com; s=arc-20160816; b=j2QBPzi+n5b+ka5CEhpXfFjZE84URRfime6Sg5YQ+JVdlLrYnZpzzryeta5LORvkLY THp/qcuwbMY2mShUqz7S/Vwy1CqfZ7N3wP8ThVJF6OKne19Fc1s1yPTDzBrhoPkVkw96 MguJmKpJ3nmCsF2bSJBhIXGg3ht+BJ4lnm0Jl5FtPhrdy54jcaJSo7eHCOM953/Swrum 2Wr+i/tSHqqy+bN8nQchMgbBqr2Pt0JpigdV20eIVFQWFrDmG2J5iRcPRWGvkk3HzFfX ihjmprGiCWhWcUknePI+MoI93o/dhQ73U74KPPWuTovsb93VM6KZnP8y1zb4FymzNDUA c4mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=mB/Kauq49fNc7fmKhqM4N7BjVkdR8uxC1s7Yi4sWz5A=; b=vdXCreee+JD3ZVOdvVJsKevqZFmCIpTb1jPlsvYsjFrC2LoX0HQX5SwrwmWr+Bwqu2 dBW4oddl5Xxq/21s5KB0QfPNhQOHyBmYDW0B0Nvo+IZQR2qywYRvsd1Z2yaU7XeFSPTD oTqA3W2/V+NmUuIqZP4hRJTR8rsDyNzS3UR+uMAzoweUFEmACHL23vdpgQxE8Jb3z+9T 4Ogw2k722zQbEcvVqs2JSjWq3DDksGc89JOBJiNFAGNFSt9BluNMf8eFnFdJb9vy060G jQOK2qBfpQvXN2wGjeVvTi6Mz8DoU4oj7PjJR/WXRU0nv+9WsyOP1Trr93woqCOSRF+9 zMWw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si2998288eds.274.2021.03.31.15.27.37; Wed, 31 Mar 2021 15:28:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231544AbhCaW0l (ORCPT + 99 others); Wed, 31 Mar 2021 18:26:41 -0400 Received: from gate.crashing.org ([63.228.1.57]:42091 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229812AbhCaW0I (ORCPT ); Wed, 31 Mar 2021 18:26:08 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 12VLQ2ZF019229; Wed, 31 Mar 2021 16:26:02 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 12VLPpYe019220; Wed, 31 Mar 2021 16:25:51 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Wed, 31 Mar 2021 16:25:51 -0500 From: Segher Boessenkool To: Michael Ellerman Cc: Xiongwei Song , benh@kernel.crashing.org, paulus@samba.org, oleg@redhat.com, npiggin@gmail.com, christophe.leroy@csgroup.eu, msuchanek@suse.de, aneesh.kumar@linux.ibm.com, ravi.bangoria@linux.ibm.com, mikey@neuling.org, haren@linux.ibm.com, alistair@popple.id.au, jniethe5@gmail.com, peterz@infradead.org, leobras.c@gmail.com, akpm@linux-foundation.org, rppt@kernel.org, peterx@redhat.com, atrajeev@linux.vnet.ibm.com, maddy@linux.ibm.com, kjain@linux.ibm.com, kan.liang@linux.intel.com, aik@ozlabs.ru, pmladek@suse.com, john.ogness@linutronix.de, Xiongwei Song , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org Subject: Re: [PATCH v2] powerpc/traps: Enhance readability for trap types Message-ID: <20210331212550.GD13863@gate.crashing.org> References: <20210330150425.10145-1-sxwjean@me.com> <875z17y79i.fsf@mpe.ellerman.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <875z17y79i.fsf@mpe.ellerman.id.au> User-Agent: Mutt/1.4.2.3i Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 31, 2021 at 08:58:17PM +1100, Michael Ellerman wrote: > So perhaps: > > EXC_SYSTEM_RESET > EXC_MACHINE_CHECK > EXC_DATA_STORAGE > EXC_DATA_SEGMENT > EXC_INST_STORAGE > EXC_INST_SEGMENT > EXC_EXTERNAL_INTERRUPT > EXC_ALIGNMENT > EXC_PROGRAM_CHECK > EXC_FP_UNAVAILABLE > EXC_DECREMENTER > EXC_HV_DECREMENTER > EXC_SYSTEM_CALL > EXC_HV_DATA_STORAGE > EXC_PERF_MONITOR These are interrupt (vectors), not exceptions. It doesn't matter all that much, but confusing things more isn't useful either! There can be multiple exceptions that all can trigger the same interrupt. Segher