Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1737021ybt; Mon, 15 Jun 2020 08:09:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytI0hTra30EKJgpOvE+OYvqPIFgQIKxR+Js0n2DBdQItR5v4LtxUFvHgiSERRSDc4X2IQl X-Received: by 2002:a17:906:3158:: with SMTP id e24mr25436485eje.543.1592233779286; Mon, 15 Jun 2020 08:09:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592233779; cv=none; d=google.com; s=arc-20160816; b=CMV82nvfwnbPoA65PeJwcBF60U6d0pFTd5fI3iBfW2tm03cCRWQiFSOU87SJ7MNKf1 ABfX/Bbt68W2kt8yNT6uR9uruqL0HFwDvMVmQCAHMv7DhobWYLbPplip0ZQzEruuxkam CpJJ4mkhU2R3LCjk1ZnDE6YhN6vFIJt6Z9+ripNMa5Oo+hSflWz2TLUzHRPy5ry0Z7iG pE0xlRRFGVMvbqz2lx48d3qjBoV4Z675G4M9K8bGNN4gFJlD2if2jOnHrmdWURLO833Q gV/55+oQstYd0MXP89aayFanHPEDzOJXBBEwd5BvLAcZxGj4nFC8pMaoJd5pyITd2ra5 Z9JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=pdG9YeyyHFpa+KDZLF5PuhAEcav4b8GAmq2VKm/tnYI=; b=eB/xme2fhk6KSUwUHCf0T9C+d0zgGaBdHvX3XohaNxiW/L/28QyKxHOSN6hHzOp+ap cdnOL2JZ+e6sCYGa0+OMwiSB+dgR3S0g/32D6XHkshpnTfmjh0rJMeEZt3KPCgtKI6lK YDJTmZWNvmN2rItjiK0HmvQub7PwqR1fZ+89r0Nk8E6Kug0xLh6GbREaQd321jtKWnwg rKE6uz/3Tj443QH5NKqezfwCFP6QnezF3143W0oeE/bNLPUmPI5hcwwyxXetT+Dv5os3 at70I4GfyGAaiRQQa6SZ9azjfYfBrI7FS4R4jTdatSnUQwiHoY8q0LszKE8Q/TM8FxLJ FQAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=emIMXaZp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk11si8694236edb.19.2020.06.15.08.09.16; Mon, 15 Jun 2020 08:09:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=emIMXaZp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730853AbgFOPGu (ORCPT + 99 others); Mon, 15 Jun 2020 11:06:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729875AbgFOPGt (ORCPT ); Mon, 15 Jun 2020 11:06:49 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2A50C061A0E for ; Mon, 15 Jun 2020 08:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=pdG9YeyyHFpa+KDZLF5PuhAEcav4b8GAmq2VKm/tnYI=; b=emIMXaZpW6q7kNFFjh+T+DtfAb /Dt0mj7nyLVO095SDNFCCpwb5WS7TOIwk1jOCcQFLZAXR8Ak6RwFIt2Fkr0XrKEi/nXPOn+h27xbR zHCnzHz4gS/DVbpPu0u4J2PkO9d7JxJ03P+d7iYOdrqBXKeRvizZwNfLiktWqtw1x066NwoZ7lHES QMTz2xdZJZJErtesFxkoe2foeRihikrPekJu2wGRVEDLpadnydis4eKH9JMByCdXrwu1D0O3Q1nZU eYhy8v/yfW+wTpuJZtheuETFh7v5b2BNEnehwLocQ0Dotk6hE6e4+AhVFTVMu0ay7SUykug3HhHhP eDZzYavw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkqh7-00034R-BW; Mon, 15 Jun 2020 15:06:41 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 51A5E30604B; Mon, 15 Jun 2020 17:06:39 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3723B203C3761; Mon, 15 Jun 2020 17:06:39 +0200 (CEST) Date: Mon, 15 Jun 2020 17:06:39 +0200 From: Peter Zijlstra To: Qian Cai Cc: Marco Elver , Thomas Gleixner , the arch/x86 maintainers , "Paul E. McKenney" , kasan-dev , LKML , Will Deacon , Dmitry Vyukov , Alexander Potapenko , Andrey Konovalov Subject: Re: [PATCH 0/8] x86/entry: KCSAN/KASAN/UBSAN vs noinstr Message-ID: <20200615150639.GX2531@hirez.programming.kicks-ass.net> References: <20200604102241.466509982@infradead.org> <20200615145718.GA1091@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200615145718.GA1091@lca.pw> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 15, 2020 at 10:57:18AM -0400, Qian Cai wrote: > On Mon, Jun 15, 2020 at 12:07:34PM +0200, 'Marco Elver' via kasan-dev wrote: > > On Thu, 4 Jun 2020 at 13:01, Marco Elver wrote: > > > > > > On Thu, 4 Jun 2020 at 12:25, Peter Zijlstra wrote: > > > > > > > > Hai, > > > > > > > > Here's the remaining few patches to make KCSAN/KASAN and UBSAN work with noinstr. > > > > > > Thanks for assembling the series! > > > > > > For where it's missing (1,2,3 and last one): > > > > > > Acked-by: Marco Elver > > > > Where was this series supposed to go? I can't find it on any tree yet. > > > > How urgent is this? Boot-test seems fine without this, but likely > > doesn't hit the corner cases. Syzbot will likely find them, and if we > > noticeably end up breaking various sanitizers without this, I'd > > consider this urgent. > > Today's linux-next had a lot of those with this .config, > > https://raw.githubusercontent.com/cailca/linux-mm/master/x86.config > > Wondering if this patchset will cure them all? Many, not all, you also need: https://lkml.kernel.org/r/20200603114051.896465666@infradead.org and then I think you're down to only 1 kasan thing. But also read this thread: https://lkml.kernel.org/r/20200611215812.GF4496@worktop.programming.kicks-ass.net latest version of that actual patch here: https://lkml.kernel.org/r/20200612143034.933422660@infradead.org