Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1827113rwe; Fri, 2 Sep 2022 04:37:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR71mYwz76J9btJN+7tzMpkgFS8AkBL0xAOBQwBtieJ2RvAajd341gvjMc4LDH2juocm4EDK X-Received: by 2002:a05:6402:378e:b0:43e:73f7:5c53 with SMTP id et14-20020a056402378e00b0043e73f75c53mr32692190edb.124.1662118672410; Fri, 02 Sep 2022 04:37:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662118672; cv=none; d=google.com; s=arc-20160816; b=Lfl3tD3zFuDcvGNI+a6q+n8nQj2broY3mnd91Zm46oGgEtxgnxaxUYxr+S05ezCRjt Bh7yeWQROVapG42xzGM1jdKyxJ2AImlGWWy8HDrWhmKLHZnVX80f4PpNxgF3utmBX1Z9 P23V3ln49NIs2ORIyfAaehzOqcz0SIS+QhfMeqvJBptjyKYFNXGoWc1zULChKH7xF5GD lDkD+gjj29pvKtELEmLW6tD4GCp3t0igxEKVaKpbyXOSqMIO0h4dlhRVP9BEpgT4ZNdS kCq2yHyef4Q9JD0Ru/w7X7mKiqeXV+lA4NnH7WjBmK6Dmfx/0fp6CQbSEIveAmoc2nqX UvOQ== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=DrxrpRtd68kApPOhsnQICEDiomFnHQ331uV6gCXmRL8=; b=yc32zMCDC8z9+5/JsxD+TDsGWy73POQ0/FEHQsPEkhX8iHaQOGbNl5cBHggFkmy/Y/ GzhHv1HA2zhGnbryii5b0p/GVs8VyBhhK/N99XKED+S2RF+ydqFM9ZF10SGxdNDoeRov UgC5mMNuT12KL2PQts1jwyfETdX2tCIzpJCvMIMfb2Ge4Z8ait3RBKeGixKrp/ZztOgV 2hgzrPfSZYI2WoNQtuGXYnj+euZOsSY+bzpfcKEzcB/ttugFMMB3Iw9hXvQjYJB4Wm05 Id25VuBcnoBBFQo4RAqp2719rs5aKJ9JWxOAOC0A0Z7yn/JLYd+BPP3+sXo+FyJ3GD+g oM7A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf11-20020a17090731cb00b0073d68e6a8a8si1440155ejb.422.2022.09.02.04.37.25; Fri, 02 Sep 2022 04:37:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235223AbiIBLdG (ORCPT + 99 others); Fri, 2 Sep 2022 07:33:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235530AbiIBLcP (ORCPT ); Fri, 2 Sep 2022 07:32:15 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E0856437 for ; Fri, 2 Sep 2022 04:31:21 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4MJwhz5DdGz4wgr; Fri, 2 Sep 2022 21:31:15 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Christophe Leroy , Nicholas Piggin Cc: linuxppc-dev@lists.ozlabs.org, Zhouyi Zhou , linux-kernel@vger.kernel.org In-Reply-To: References: Subject: Re: [PATCH] powerpc: Fix hard_irq_disable() with sanitizer Message-Id: <166211825114.554590.4796763378822550345.b4-ty@ellerman.id.au> Date: Fri, 02 Sep 2022 21:30:51 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Tue, 23 Aug 2022 18:36:35 +0200, Christophe Leroy wrote: > As reported by Zhouyi Zhou, WRITE_ONCE() is not atomic > as expected when KASAN or KCSAN are compiled in. > > Fix it by re-implementing it using inline assembly. > > Applied to powerpc/fixes. [1/1] powerpc: Fix hard_irq_disable() with sanitizer https://git.kernel.org/powerpc/c/814816d71e29934d0a76ee259b54c0b80c3b0e4a cheers