Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1286931pxb; Wed, 10 Feb 2021 05:05:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJz78cDfPgTNyRO8+4VYd55+bb2YCdlSeQkTphreHsSpU/bX3XkbYiYCW+SlKvbBVfHh3p2m X-Received: by 2002:a17:906:c051:: with SMTP id bm17mr2726635ejb.493.1612962320988; Wed, 10 Feb 2021 05:05:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612962320; cv=none; d=google.com; s=arc-20160816; b=JrgREngRXgpbQDLajsZ1OLZOZ2yb9tLvkNxqLLk0rOgxJnf8HNcB0WGexYz5GiLHpp IhuJ9Qkke3bkS3DJkEnH67Tama3xHNzmMi/bdS1oL++c2mGJqyVqza5DGSLOUCWgzUAc NRubeCV1vKeXTYY11kcIr6qY1O/QUxA10yirDN1ujLA24uBTu6ram4k7a28Vwv7X8ITy xMEh8B+GoskuIpdU79BHj0RhafPNskoCIh0feDtQWUjx4Avq9EG44tgJNQFACHDfxwip OD/lgJFotIxkVskLjHf6Ab5s2jm7h230O5rc/M/cTTnfzclzqzF3qrA5oc9iUUQ5dhAY F/zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=FbJUOTCrmdHvzgkY6a7ogWj4EWGxVAMP/SXiMMcxu38=; b=wvWoV76HT0sOv/mGXxWIr4y4ROyDC5imelepYKD6s9Ljt6j6oD7ToHtSd0NM/CJZAB CwOrT6/ehl7dxnZ5HN3saxmslm546hjAMa86a+2uCmiMM2XtmN7gcoOK7//n3b+0Q8sQ 6O7kElgzeusV0x1nRuvMWj8B2Dv59vCrGaQk+2lbTu9SgfX9oQr7RdqNzVl3gwJqtWt/ N6hxb8jjojUOW0/7eZ6oEIFmjnkO74aPBGcuAC2keADhVKP9Wsr/rGIqUG09ReM7uvOX 1wuhCe7jVV1LrvcbFkdHHhoj9yWKvI3RPVieg+gJw2SgO2nGozt+/+XtDa89ny/5qFZJ ncNg== 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 cf5si1222598ejb.684.2021.02.10.05.04.55; Wed, 10 Feb 2021 05:05:20 -0800 (PST) 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 S231482AbhBJNDl (ORCPT + 99 others); Wed, 10 Feb 2021 08:03:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231710AbhBJM6S (ORCPT ); Wed, 10 Feb 2021 07:58:18 -0500 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5C29C061786 for ; Wed, 10 Feb 2021 04:57:31 -0800 (PST) Received: by ozlabs.org (Postfix, from userid 1034) id 4DbKY26GsFz9sW3; Wed, 10 Feb 2021 23:57:26 +1100 (AEDT) From: Michael Ellerman To: npiggin@gmail.com, Michael Ellerman , Benjamin Herrenschmidt , Christophe Leroy , Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: References: Subject: Re: [PATCH] powerpc/8xx: Fix software emulation interrupt Message-Id: <161296172333.3178259.7272491290910741468.b4-ty@ellerman.id.au> Date: Wed, 10 Feb 2021 23:57:26 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Feb 2021 08:56:13 +0000 (UTC), Christophe Leroy wrote: > For unimplemented instructions or unimplemented SPRs, the 8xx triggers > a "Software Emulation Exception" (0x1000). That interrupt doesn't set > reason bits in SRR1 as the "Program Check Exception" does. > > Go through emulation_assist_interrupt() to set REASON_ILLEGAL. Applied to powerpc/next. [1/1] powerpc/8xx: Fix software emulation interrupt https://git.kernel.org/powerpc/c/903178d0ce6bb30ef80a3604ab9ee2b57869fbc9 cheers