From patchwork Fri Oct 15 04:10:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 515827 Delivered-To: patch@linaro.org Received: by 2002:ac0:da11:0:0:0:0:0 with SMTP id d17csp148729imi; Thu, 14 Oct 2021 21:43:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4FamUpxfJiUXwRap8mhI2+i1Rt/yST5oDjkYijIzR3c1x82L8eDGrH2USWDlIEh7lYK1L X-Received: by 2002:a05:6602:3c5:: with SMTP id g5mr2375570iov.42.1634272992816; Thu, 14 Oct 2021 21:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634272992; cv=none; d=google.com; s=arc-20160816; b=VrIJbEmHEfJYV2/OFbEfju2UsCHuw2YuiZlEZl6W7ZGjw/tzWOXUZnao/VuVVlVpvU yckdtkszya3U0U/F7+u+D3fFMOk0CmQ7U4Yk8Ftp3V9L97+RE3lwoYsK5vHvW5l+H31Y Rmv4WIIyI+VQuSXD17kC+ooQOKUwvECivMxIAqgmVuk7VdLlv5lS48RiTjc4T4kjFg0d 69Cw6+FmVZJKBX6NaM0rL1VlpIK7gmlDsjMoniekeqozO4KjPKZhJBzTg2pZeJpxFUKG ybTGyCEp4p8ymMA41zb5G7D8IA7msRbFa7Ikjh3LirZWlwDx1fnt1SauSsOxqtuomNxA Uz6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=QuBUrcbK5IHnv9/MH2TrxQjSj4HGL7JlA8tE+X8E85A=; b=pru1RE0fnYrdOxgf1OP7/ogMb0cqN9Pe338J98KH0cKd0V7w0/spHunhJ/0QhE4bsJ an2cda3BjEolJQKD+8zF+wuOriesUKujQNS3fRXNRPj65kTsnbpwatd7YU5tGJHAk+Hf p/lGDAq03P9bhDlAR2JNzSOuDqq+tfU8MzsgjXhM8HmJ9bW/BuKXVJOu4+CXJuw1+pG9 mxW3zeR+sFykhCbeUxyV9S6U4MbwgvSR6hFr9y/rC/LHf+vxB56ewadqQNey1ecBpJEG kdElSN4pe5zYuA91ar11qTbICFUNzROT3rc4YzO13GXG8wZk7ZWkKitMXYWT5dV8ajGv Aabw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=giCakC6l; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id e7si5241374jaf.112.2021.10.14.21.43.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Oct 2021 21:43:12 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=giCakC6l; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbF3n-000858-3I for patch@linaro.org; Fri, 15 Oct 2021 00:43:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbEcB-0006r6-VM for qemu-devel@nongnu.org; Fri, 15 Oct 2021 00:14:41 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:43602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbEcA-0002sd-GN for qemu-devel@nongnu.org; Fri, 15 Oct 2021 00:14:39 -0400 Received: by mail-pg1-x530.google.com with SMTP id r2so7430327pgl.10 for ; Thu, 14 Oct 2021 21:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QuBUrcbK5IHnv9/MH2TrxQjSj4HGL7JlA8tE+X8E85A=; b=giCakC6l2MtvrckNHO00CDJOIHxjYyiiplMsqYrxIqY7SO11XjAkdl7LxsrcGAL39Z kg+U6SdomLFrTarLwoH76IJ+m7F9S9ufaoMWP433H4wFRsQJ5Mvs/d+wu82L1TMOa0+w wznc58l2+DtSlgByNYs/o9Y+CTD+7pFmjTKLdzYip32HwwDd2kq8OhlK6utG+JThcAQh xtTuPD3IkvreuKzlG4hAy8S+mtc9RNfWsUJxqB7jjep5vgaZfB1S9YAPzFbdeea9bE/N b5tOG7GqCzc9u/fzvs6Oz3jSrkte1GLF5V0+CCwHA3Jjw0UqnkxqmWUsbZs5EficOYiR zgvQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=QuBUrcbK5IHnv9/MH2TrxQjSj4HGL7JlA8tE+X8E85A=; b=mzXjpMN+wSWmq75H+0gST5AROvfFcVxbQGiicWp/wZeM0WY2bYhcdI/Ne789+R2eHE FtNWdOCT21GGEBtzi5SatGNKlz+nZ+SDyn9B3SXCdXcT529lt5Y0CtjrfoRTC+eRrfmF ql+8fL3yVvBm+kgPYmH+gx9qtzNZt6TCowDe1rDsYojxTspnbiOlPrkYYSNN+t5qkPPY fvY4NxoFRJXpk2moRRufUkoYGlzp+X90oD25ihwjeC/pu0AGTAqV2YzAM/7T1fOVBtli CZUyQblHUP4Exl5Gu7mW/kkIrewkRaH/cEjInkWxt29hPcQxh/z5+0G2h3Q6bAKA0QCT bFng== X-Gm-Message-State: AOAM530A/Dw1wHaJecqYtzDkoUuD4T2NWdFTplLtZ5XwqJRitTMxuoZO 2O9MWyMENiVyTCd7eYfl43SiEUnEhNc= X-Received: by 2002:a63:e116:: with SMTP id z22mr7227749pgh.223.1634271277080; Thu, 14 Oct 2021 21:14:37 -0700 (PDT) Received: from localhost.localdomain ([71.212.134.125]) by smtp.gmail.com with ESMTPSA id q8sm10236885pja.52.2021.10.14.21.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 21:14:36 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v5 53/67] linux-user/hppa: Remove POWERPC_EXCP_ALIGN handling Date: Thu, 14 Oct 2021 21:10:39 -0700 Message-Id: <20211015041053.2769193-54-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211015041053.2769193-1-richard.henderson@linaro.org> References: <20211015041053.2769193-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x530.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SUBJ_WIPE_DEBT=1.004 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alex.bennee@linaro.org, laurent@vivier.eu, imp@bsdimp.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We will raise SIGBUS directly from cpu_loop_exit_sigbus. Signed-off-by: Richard Henderson --- linux-user/ppc/cpu_loop.c | 8 -------- 1 file changed, 8 deletions(-) -- 2.25.1 diff --git a/linux-user/ppc/cpu_loop.c b/linux-user/ppc/cpu_loop.c index 840b23736b..483e669300 100644 --- a/linux-user/ppc/cpu_loop.c +++ b/linux-user/ppc/cpu_loop.c @@ -162,14 +162,6 @@ void cpu_loop(CPUPPCState *env) cpu_abort(cs, "External interrupt while in user mode. " "Aborting\n"); break; - case POWERPC_EXCP_ALIGN: /* Alignment exception */ - /* XXX: check this */ - info.si_signo = TARGET_SIGBUS; - info.si_errno = 0; - info.si_code = TARGET_BUS_ADRALN; - info._sifields._sigfault._addr = env->nip; - queue_signal(env, info.si_signo, QEMU_SI_FAULT, &info); - break; case POWERPC_EXCP_PROGRAM: /* Program exception */ case POWERPC_EXCP_HV_EMU: /* HV emulation */ /* XXX: check this */