From patchwork Tue Sep 13 14:28:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 605281 Delivered-To: patch@linaro.org Received: by 2002:ab3:1c02:0:b0:1e7:4ce8:c350 with SMTP id u2csp114445lth; Tue, 13 Sep 2022 07:32:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR7qJWcZIGx7SLX1TE4M2ejY8l7djtOUgTFNwdoFj9i2tfyv+PbhcWnfqW0Exqd7dkO06av+ X-Received: by 2002:a0c:cd12:0:b0:4a8:8981:fbdb with SMTP id b18-20020a0ccd12000000b004a88981fbdbmr27916964qvm.72.1663079530136; Tue, 13 Sep 2022 07:32:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663079530; cv=none; d=google.com; s=arc-20160816; b=ghFSTewS94d3NhX3Oje/rTrrnwHLW/Vazhh1DDT/eiqodEESywX/JLJ7HEiSPxZXBF 465URwgPCeV1ac239gW7CYQQOCTh+g73Ff+KUFcJLPyCG9GAbBi9NCP+z3PxmpikeYOV bszMBXzkG1vvT/xLUD6gMqH0YFXtG23Arzp7cmQOe3N5kdypBIqUzQV+lSDpjWlriRpj UsdD3O7Ut3ARVIMToYmaye4JxOzqpECQyyYSWUIFv0O2CEN5Sapv2Wbjtntvy/HQRbkk zLQPDkkNF/DAGTBcN00cIy/Flshd4DrKRVSWuZT7zrwp//duvi4wmROP2BO5wdlbqIYz kz1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=qmA5GFqrfBWnZ0AaIBtOilm8q63N0xZOj0jmOP28AFs=; b=caWhX/OmVeXhHZ7HxT6K9BniENCIrFx6EWAr5sYIDf3bGalr/y7gCmM0l7gagtBdD6 fnX++mXeM7r54tDwhbSgrAAza0v+b7y0XPoA9rc9n9/ToD4pQiXPS6aTAAtzJbKriyo+ dW3wU/qVRHNb6EzzL8p7Pz13NtIiLFCK+clQy+GMIkGCBV2fIgthWiMXUrlDpt2R+6Xz blD8MEHQW2lTepGeheCJsVEKoRJlnvSyERISiWeHEBVEfvit7QQQdQsvIIAzmO2sRL57 PRIT0Izy19Qqp7lyqbYncLf0DzDv8pZHCm+Q/+MHmtz+qUl8KahGqPHKznKYLJwf58o0 00Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="pu/7KHeB"; 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=pass (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 n19-20020a05620a295300b006bb0a475ecbsi7787957qkp.733.2022.09.13.07.32.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Sep 2022 07:32:10 -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=pass header.i=@linaro.org header.s=google header.b="pu/7KHeB"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oY6xL-0005T7-Lo for patch@linaro.org; Tue, 13 Sep 2022 10:32:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY6tn-0003pP-Pw for qemu-devel@nongnu.org; Tue, 13 Sep 2022 10:28:28 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:51737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oY6tk-0006xk-9A for qemu-devel@nongnu.org; Tue, 13 Sep 2022 10:28:26 -0400 Received: by mail-wm1-x335.google.com with SMTP id o5so5541899wms.1 for ; Tue, 13 Sep 2022 07:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=qmA5GFqrfBWnZ0AaIBtOilm8q63N0xZOj0jmOP28AFs=; b=pu/7KHeB/ycKrKBystx/AWDNlloZ7nSBpXajO40yYWbYj1wX8tndeRnfYdLMJIgm4G 81cwghPrW8vaL8GcPH1vUFN93RegPpjcQLFpXftInAHFqjTN4V1dYH74jkfFknvNBSHT YX/ixbSUxN8JAFfynSsVF2HCGV45+YggCR4UYcGWSe1UtKh1PbqlTPoAQlISZNaRPl70 VlQxnMDjgALEu21eFFBXbFmFAnydK9ba1r/8YAwNvHmfSXFny9X6qUNEX8bKHeUZcPZ0 eb1DSD3fV2mvmDPB6PetKwPhwn1SjXr236fXm6ehRFJPtyffbaJA/npKOcmbtJQeF5Qd ZQnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=qmA5GFqrfBWnZ0AaIBtOilm8q63N0xZOj0jmOP28AFs=; b=pFlAPAqHqiZMjpP4W++KBsQiP+F3tz28mpC8AFK5AMHlON4iQ+u+xiCtui0Ih8pMo3 a9Do4S2RNNWovM0bO4eEgcVei3y0GFqtopDJUUGhBhZtdU2MX8/n1D0iOes9AE+eu9i6 VCT1M7HsXAk1vjv4N1mY/p8EKTOToxJl3yPffpLPjsOWl68L+B6QiKDRjy3GrPVFS3TL JnhQgnODSS7KsAwu+XNJbK9XITrD9NddEidyg+ZV6IfFjHVVR5RvdXGW9HJzh9GQ5HRZ xJiac+uUwo2sR1rgZQG7TYzrGvwbeqUzx/1Th+u4HGwxy3bsn7l3Lls5aAGnztemngeE KHPw== X-Gm-Message-State: ACgBeo3Qypkz8dqJzpXwTQ8t2keYILleS/H+OKTc4cg8naItvBj7MEA9 z4v07oJR+SOi4iX0tsChPL0s4w/PowFGmjWK X-Received: by 2002:a1c:ed0e:0:b0:3b4:5ead:59ac with SMTP id l14-20020a1ced0e000000b003b45ead59acmr2727793wmh.105.1663079302710; Tue, 13 Sep 2022 07:28:22 -0700 (PDT) Received: from stoup.. ([89.101.193.68]) by smtp.gmail.com with ESMTPSA id e17-20020a5d5951000000b00228dc37ce2asm10673165wri.57.2022.09.13.07.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Sep 2022 07:28:22 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: laurent@vivier.eu, mark.cave-ayland@ilande.co.uk Subject: [PATCH 0/2] target/m68k: fix two writes to %sr Date: Tue, 13 Sep 2022 15:28:16 +0100 Message-Id: <20220913142818.7802-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The second was described by Mark in the lobby of KVM Forum. The first was found by inspection of other uses of gen_helper_set_sr. r~ Richard Henderson (2): target/m68k: Fix MACSR to CCR target/m68k: Perform writback before modifying SR target/m68k/translate.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)