Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp860788iob; Fri, 13 May 2022 14:44:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdSiKtUgjtnaDNFXFdAVHslJeHFk/l8+v3mpyuMA/1s5yna+zjlOTzXkfA2iml0CBytRRd X-Received: by 2002:a05:6402:1d48:b0:427:dfa3:2272 with SMTP id dz8-20020a0564021d4800b00427dfa32272mr677735edb.333.1652478288549; Fri, 13 May 2022 14:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652478288; cv=none; d=google.com; s=arc-20160816; b=eR4to91VwmBstufDjeh40nPKw5QS2/FxqjrEJFuSUE//92K+Xreohcv1oW6kRYiJt7 aozuVDGVT+tYPPVGCF+TjjOCkT34wVl1qr7CL2/Iv7NAhWbclkEO6hfy9ScsVir3A8QK QwwExAsqJ5PgaDigPCdHRj3lrhloXB8pue0FbnlvnoZit9xpZotDEejSa95e6a8ko7hg +ktuuSYKl/c8o1IhkcdZ4NUdpKzgKUQ/41l1WzwXyt5VBIX6rJPyTIWufuHTxhyjvG01 8k7tzLkZMWH/jhzzeNS/3fld2G0Uh0p2zUSL/vnO9BoekdSsSrxU6SHECzqIgMQ1cWvx koFg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0jWGnYLEOk89JafvWxo6D1kM2erWRnT7G0Vcy9GTq3A=; b=bRmnKVrJW0jJ75IZCUp9PwLnplqFcsTB+5CGagRe2ITzpzyK45AfWpwiSqb2HQPr9G Jff2H74dPM9H6Xngxi2qmLzDIXjJnQNGQGlpnovVu3Cv7Aktw6iwEJJ8WCmYTWOF4Ufs wD+8T7wUx9EGYgoTC6x++si3jCDgZpdBcCaZvQzT5noHKE7xqyFytqIGpUIjk8bE9Quj GYYtDTvjlj00SYrMX5mleRCALQJCHTPpQO3UpPF+pL6QTYhdkQf2lpvmTZ8Su0+CU33j ZR1KgovJlsbeHIe7innx2nOZRsVWjcAu411yqK7aRX5cTivyZOfdgEYyCOLbmYgzALvw C9GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HpqS9gFk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o2-20020a056402438200b00425d7acafeesi3412393edc.374.2022.05.13.14.44.22; Fri, 13 May 2022 14:44:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HpqS9gFk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234817AbiEMPmG (ORCPT + 99 others); Fri, 13 May 2022 11:42:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234776AbiEMPmF (ORCPT ); Fri, 13 May 2022 11:42:05 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3456BE21 for ; Fri, 13 May 2022 08:42:02 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id y21so10474746edo.2 for ; Fri, 13 May 2022 08:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0jWGnYLEOk89JafvWxo6D1kM2erWRnT7G0Vcy9GTq3A=; b=HpqS9gFkTjrWtg3APSVnSpcFvdLsAvhXFrMHchP5dOwOPur4/MHCSpD+1jgS/THOBb twUYDkbdG3yEyeKd5xyWKSAVp8SOujvPMmth9JuJkFICzgoaBc4pIc6O1Q/Dzahkniyr ZAKTS7qJXuOEmVFADkUMYE8kGVYmFDZqme1eQGok0tJa74rjOFlLMwlaSiNCKF5ijVd6 QsL4C1e/QGwTjtv5fp/pz9DfuRFy0cdIsS/OL67TkjOdb/O3tZb+IZDIRvUmdZ1qQHjj q20wr6VMebenCmCYJppMUV/YXCIbaWtxdCaesmr7dNL4oCZaA8BlGqg1GmmG2OTCTJLB QXnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0jWGnYLEOk89JafvWxo6D1kM2erWRnT7G0Vcy9GTq3A=; b=QPukNrO3uvSQFeXOotlBKHtptoYzfXGM5CGFgl9qHQWH2gBu3Q6n8q3Bf7FL7SOgPv 4BGR7qF/gBwAP/N+dtiwiEI6IlF83HtqG0lYGeu0X5Ax9tz5The9Ney8s5DYodA3J/cf gUtpdfqujsdHHTRf9g/ORe9pf2fSVZy5N9gcsK3EveimVmF6xlofPhI9WmURbSF3hfOw htjq8bAI4RBwpxC2CIYfijIOPlrhgopbClOXAbXzebMBJqMSGM76UEnMrCDkAZcXOvPT ZMaI431fCY7X297LlR0+Yga08757ESUJ7KdZVxeTSV+Yi799aqTosdtiiqaFiAPgVEhK dC7g== X-Gm-Message-State: AOAM532UThGKAkqS/Is703gadhhtp2/pPJxZ0IC6KYe4J3sR7M0M6uiT AhrWPfxtWFM2QZ3ECbbKVJ4= X-Received: by 2002:a05:6402:2741:b0:41f:69dc:9bcd with SMTP id z1-20020a056402274100b0041f69dc9bcdmr41052576edd.239.1652456521092; Fri, 13 May 2022 08:42:01 -0700 (PDT) Received: from octofox.metropolis ([178.134.103.46]) by smtp.gmail.com with ESMTPSA id h16-20020a1709066d9000b006f3ef214e73sm848313ejt.217.2022.05.13.08.42.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 08:42:00 -0700 (PDT) From: Max Filippov To: linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org, Max Filippov Subject: [PATCH 0/2] xtensa: add division by zero exception handler Date: Fri, 13 May 2022 08:41:49 -0700 Message-Id: <20220513154151.4135905-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, this series adds handlers for hardware and artificial division by zero exceptions. Max Filippov (2): xtensa: add trap handler for division by zero xtensa: support artificial division by 0 exception arch/xtensa/include/asm/thread_info.h | 4 ++ arch/xtensa/kernel/asm-offsets.c | 3 ++ arch/xtensa/kernel/entry.S | 5 +++ arch/xtensa/kernel/traps.c | 53 ++++++++++++++++++++++++++- 4 files changed, 64 insertions(+), 1 deletion(-) -- 2.30.2