From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 697E6C433EF for ; Wed, 15 Dec 2021 09:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=i/+wZ/3+JUHOjlt6m7Id4sO+4KFt7cD9rZ2a+qR+o6o=; b=WyHQK9afDDLt7H /kVPbX61foUJbPlKhOssw26/1rp/Ymr4eqeM2Pr+0jJiIZf+8P53NKVmzrNqoBiZ2Q+9OC7nY53RD NtSSPXd04ccTk1d3lCpKqqgTJMJzjODCymObjT0GFGJkitV/zaOzSlS0Ik1VOMQjnd2+pptcHxWey uzEj2EqUdxo76LjKvzI2LtxwCZ1HHidublhF+7pS0lKgjUYioOQ0vxYAxlbhT5iCVwTGPg7kgsGZw uwogitd3O6DTH1PBU/755suuzhgogwVyCuHTVLrtNLmbvduyZ4lr3SgGKPBFdQQYQeBqbbJ21kbzU vujIHQdgaqa4EJ+kvvQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxQkq-00HWhs-DA; Wed, 15 Dec 2021 09:39:20 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxQkW-00HWdz-NH for linux-arm-kernel@lists.infradead.org; Wed, 15 Dec 2021 09:39:02 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BD7976D; Wed, 15 Dec 2021 01:38:57 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.66.121]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7F6903F5A1; Wed, 15 Dec 2021 01:38:56 -0800 (PST) Date: Wed, 15 Dec 2021 09:38:53 +0000 From: Mark Rutland To: Marco Elver Cc: Kefeng Wang , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Joey Gouly Subject: Re: [PATCH v4] arm64: Enable KCSAN Message-ID: References: <20211211131734.126874-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211215_013900_835467_522B63B3 X-CRM114-Status: GOOD ( 13.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Dec 14, 2021 at 08:11:24PM +0100, Marco Elver wrote: > On Tue, 14 Dec 2021 at 19:24, Mark Rutland wrote: > > > > Reviewed-by: Mark Rutland > > Tested-by: Mark Rutland > > Thanks for taking a look and testing! Thought I'd update you re status > of some of the reports below. :-) Thanks for the pointers below! I'll fold those into a test branch, so that I can soak this under Syzkaller over the holiday break. I've given precise refernces below in case I've misunderstood or missed something. > > * BUG: KCSAN: data-race in mutex_spin_on_owner+0xcc/0x150 > > * BUG: KCSAN: data-race in rwsem_spin_on_owner+0xa8/0x13c > > These are going away, fixes are already in -tip/-next. Cool! I assume that means commits: * c0bed69daf4b6780 ("locking: Make owner_on_cpu() into ") from https://lore.kernel.org/r/20211203075935.136808-2-wangkefeng.wang@huawei.com * 4cf75fd4a2545ca4 ("locking: Mark racy reads of owner->on_cpu") from https://lore.kernel.org/r/20211203075935.136808-3-wangkefeng.wang@huawei.com ... in the tip locking/core branch (the head commit of which is currently 5fb6e8cf53b005d2 ("locking/atomic: atomic64: Remove unusable atomic ops")). > > * UBSAN: object-size-mismatch in net/unix/af_unix.c:977:14 > > The UBSAN object-size-mismatch warnings are going away, as > fsanitize=object-size is broken/incomplete as it turns out -- > UBSAN_OBJECT_SIZE will be removed from 5.17: > https://bugzilla.kernel.org/show_bug.cgi?id=214861#c4 I see the relevant patch is: * "[PATCH] ubsan: Remove CONFIG_UBSAN_OBJECT_SIZE" from https://lore.kernel.org/all/20211203235346.110809-1-keescook@chromium.org/ ... and from looking at next-20211214 that's been picked up by Andrew Morton. Thanks, Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel