Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3554267pxp; Tue, 8 Mar 2022 17:19:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGediFdnF2SzB9Epjo19O/RbaKN+W9tcvIuuUwT14A8FfCNne8u2B1kctZ5zo+G1o4LUeU X-Received: by 2002:a17:902:9348:b0:14e:ec3d:2baa with SMTP id g8-20020a170902934800b0014eec3d2baamr20472332plp.107.1646788761928; Tue, 08 Mar 2022 17:19:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646788761; cv=none; d=google.com; s=arc-20160816; b=0rIwF9rsMIfDXd1u+A9hxF2SIz2UpDcWbYayWx31/3vL1amJSBwLzg9l6CjCE/KbV+ ibXvvdZddjIG9dyc5CsgNWuEP8mXcyTheX1DXCeQvGeNDRU0RfA/YL+yXmTZ5k7xekSF KlbrmPIwE+AG5jiQdcKOFyClwN1bsXD4uegHEXppFal8lGHySB+x4WcaABM7Lsl2R/Sq ECv4evsuOHnmkCde2HvLn98FXvHGduN+HvBjwp3dThYh66K+YEOCMjCcbicubo6IjULl xn+9PzyzEIpOLcZ49sPqx7MAjCuW+mRX9kUh8rCW+0CMwEAgSN1UwRmq2BNoFHxFKpE2 RBLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=elipnysKnwVcUg6EqGSfkpdeNGiB7Z2+ASCRq74nOM0=; b=ifwt0DE2fs4KfmJXwl+BHagPxo4AtHgSmF/rZ5du/pbJhWOUO+68OziAdKgKOSngho 48e5pxP02PMCSXthguFRuhBvhvMdhiauhYWpduZNqQWOr2ImMh4r9AJirhdGyus760iQ IT7j54ywBzdVsdrXjkkNbAqBE/9pGWJ6ulOswLnc/Kc+2lPT/0YjqAOIH9MXJ8eIVujN Br1Kf86FB1ETXbFX2AKWIBski5LtFBjcx+VbeR6bBLAJh2hNJ6ttA9hvk/d8YB/UwjdN +/X6pBQgxS+CgM4lZeyXFmduEBkii4fAgsmit11E3QX7v9jF8Qgfm5qU6xmhjcoCxqyr lRow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SaeCvK65; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n14-20020a170902e54e00b001520ac8f15asi534547plf.156.2022.03.08.17.19.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 17:19:21 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SaeCvK65; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 01096186BAA; Tue, 8 Mar 2022 16:13:43 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243646AbiCHUHT (ORCPT + 99 others); Tue, 8 Mar 2022 15:07:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234107AbiCHUHS (ORCPT ); Tue, 8 Mar 2022 15:07:18 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 426B14A3F2 for ; Tue, 8 Mar 2022 12:06:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646769980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=elipnysKnwVcUg6EqGSfkpdeNGiB7Z2+ASCRq74nOM0=; b=SaeCvK65zMQ/dgdtSH9qi1mGe+s96wHlfbq6aghDfxaYANYxPK/fd3yNkAfL3wTL/Mq8rl gMgZFfddmrlkDr+DiskFRXfsL/zrEj0Sywt+XZ2wgkxgRdt4nrG+DZNu+cF4oDkh+bUj07 8HKBV+M/JdJghCKsUIszeg7zZeTjhlw= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-171-vv824g7oMzucns72dXYANQ-1; Tue, 08 Mar 2022 15:06:19 -0500 X-MC-Unique: vv824g7oMzucns72dXYANQ-1 Received: by mail-qk1-f198.google.com with SMTP id m123-20020a375881000000b0067af33d4ac1so17677qkb.4 for ; Tue, 08 Mar 2022 12:06:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=elipnysKnwVcUg6EqGSfkpdeNGiB7Z2+ASCRq74nOM0=; b=j2kOD/rjEi/n8T1qPOxQ0N8/TKUOvmJhskgbGS5EjCypslnxfH0Eo9d123dYZ/jVWQ ctVfI42nzGpHHhOdzy1rCsr3ihyhoS8Qd4ZC3XWX+LkuoK21ElnrYHmdN3hYmjFcncBT v0IUj7snqgMZMSILZsnLQ0wpw17i7+ddN1SD47i5ASBN1OQ+y3ckhzEoNiyYPYcWdnD8 uzeoiPbS2EskUyNwKd6+0HVyQfFdocZe7WsfyPajncWcRx1qaJF1FmBNRUq2KMw83CcX uFoiIURcjQiP2k+GAL9HwH0XLqMMP7TATX/lzMHmLrnFM0Ahgqs8a0En53/X2k7NBGH6 kC9Q== X-Gm-Message-State: AOAM533+0Q9htnYi81hTZW3oHq/X8r/4hI3Xu05A2y//a7dF2OSD/rd5 kHOS4m4zqOSewxMAU9VsOMbk1HNIrdUS9dNS6lhrewCNsh+0KSfHZqsMrdyc8fs9EXGnrteaiBZ HVQp9varqi8AUqzIwRGi0ssGm X-Received: by 2002:a0c:c3c6:0:b0:42c:17e4:9a75 with SMTP id p6-20020a0cc3c6000000b0042c17e49a75mr13650526qvi.124.1646769978829; Tue, 08 Mar 2022 12:06:18 -0800 (PST) X-Received: by 2002:a0c:c3c6:0:b0:42c:17e4:9a75 with SMTP id p6-20020a0cc3c6000000b0042c17e49a75mr13650497qvi.124.1646769978497; Tue, 08 Mar 2022 12:06:18 -0800 (PST) Received: from treble ([2600:1700:6e32:6c00::35]) by smtp.gmail.com with ESMTPSA id t207-20020a3746d8000000b0067b33b6a4efsm2547341qka.21.2022.03.08.12.06.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 12:06:17 -0800 (PST) Date: Tue, 8 Mar 2022 12:06:14 -0800 From: Josh Poimboeuf To: Peter Zijlstra Cc: x86@kernel.org, joao@overdrivepizza.com, hjl.tools@gmail.com, andrew.cooper3@citrix.com, linux-kernel@vger.kernel.org, ndesaulniers@google.com, keescook@chromium.org, samitolvanen@google.com, mark.rutland@arm.com, alyssa.milburn@intel.com, mbenes@suse.cz, rostedt@goodmis.org, mhiramat@kernel.org, alexei.starovoitov@gmail.com Subject: Re: [PATCH v4 00/45] x86: Kernel IBT Message-ID: <20220308200614.gyhp657bdq3rxapl@treble> References: <20220308153011.021123062@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220308153011.021123062@infradead.org> X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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, Mar 08, 2022 at 04:30:11PM +0100, Peter Zijlstra wrote: > Hopefully last posting... > > Since last time: > > - updated the ftrace_location() patch (naveen, rostedt) > - added a few comments and clarifications (bpetkov) > - disable jump-tables (joao) > - verified clang-14-rc2 works > - fixed a whole bunch of objtool unreachable insn issue > - picked up a few more tags > > Patches go on top of tip/master + arm64/for-next/linkage. Also available here: > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.ibt Nice work!!! kernel shadow stacks next? ;-) Acked-by: Josh Poimboeuf As talked about on IRC there are still a few outstanding issues, that I'm fine with fixing after the merge window during the upcoming -next cycle: - xen hypercall page functions need 'ret' - (I think you already fixed) - why don't unreachables need to fill up the entire sym hole? - get rid of the 'c_file' hack - improve cmdline option intuitive-ness - properly integrate the retpoline "demotion" with the new Spectre BHI related patches - probably still needs more discussion - for example we might instead want to disable IBT and warn -- Josh