Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2285434pxb; Fri, 5 Feb 2021 13:52:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXuDIwo1065Tt/vM/5qDKJJ6YccOOvZlYz5KmtP4YOesq/P+aQIUC3WBAUB2Rkwxu0me4S X-Received: by 2002:a17:906:55c5:: with SMTP id z5mr6013801ejp.275.1612561951019; Fri, 05 Feb 2021 13:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612561951; cv=none; d=google.com; s=arc-20160816; b=HcdF1QgPYlulNwXp6zBHoV1kvdhtyB+l9xMLFnHV/lz0wn/cZhiMxxPHcxzBrYqUT3 nBA507NqKwcFNy6AcXu4FRY3oE2y1kkTnB/YawtuIsWC8IjbjmUSm85VlQeJ8fW/vpb6 P/4oTjsAQsP+pCY4FmvHTRkImTad//hxs+yOaTpMR6pll5Fgf6J8EGCkCD5P9DxbnAPA ITaboZWatAfvfDhaesMcPn6dpU014/NfpMkm57SGNE4iliwyYVxR5gW10jCXCH479hyM VSukihrI4yRQ2MRI8N0A/E5fTUxa8TMYu8LaMBV9WWcY8ML88QjJY60G9qBTRWByfkh4 EKlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2Myi+FPtqdhmCRGtvUQRPlV0jT+RrPtESC3AjeVRvbg=; b=yZYau7G6uqvvvwc4a4eLuDAM2Q8W82fIWk5ogQOM54ntsssiGiuyz3IEU3NQFuiWJE +53J8eTvOdtUA056sgXbLRSEm4uXS1M6U9KMKJ2GGV2/Unob1DNOVGjA8vhfNgdkMid7 FvIHq8TpAUbclByKQoLWDmPlWOTUOp4bejJbNYLr0EFTNt+nhOtaE5PGR/jlQNfHsQQn /MyrTwMdCdv+SQP8p2P1DDQl1vl5mc41xNZAB3yBTT2rOB9nz3yWtkaAt6O7W3UH5CWv q9JdAIHvh3G7oQqkfnLgfne63T1TdD/sO57FSiJA8tfNgzEFN71oV6alCK2AAAMsEzaJ DlqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=eC9kB4a0; 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 f2si7554780edl.352.2021.02.05.13.52.06; Fri, 05 Feb 2021 13:52:31 -0800 (PST) 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=pass header.i=@ffwll.ch header.s=google header.b=eC9kB4a0; 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 S231428AbhBEVtn (ORCPT + 99 others); Fri, 5 Feb 2021 16:49:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231283AbhBEVtI (ORCPT ); Fri, 5 Feb 2021 16:49:08 -0500 Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17409C061756 for ; Fri, 5 Feb 2021 13:48:28 -0800 (PST) Received: by mail-ot1-x32e.google.com with SMTP id k25so6224365otb.4 for ; Fri, 05 Feb 2021 13:48:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2Myi+FPtqdhmCRGtvUQRPlV0jT+RrPtESC3AjeVRvbg=; b=eC9kB4a0zNfmjxF2GTa7/iPip18RksRG3N5wWZ5SO1JQZe9K/wF4qqPray7ex919OI t+tp9kXmieLVbXRxK2+JkQQDfBQ7qrCcDPjv892pP0Pm9Opne2wsFWOgNQ9fiIbaKohg 74D35sOMSr9T35Hijh1VZY9iv0qSmYcBVjy6U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2Myi+FPtqdhmCRGtvUQRPlV0jT+RrPtESC3AjeVRvbg=; b=JXbWDxG3johkzIVF1tP4Tty2NzzlyInUu8rFiPObT420NybzBKLH3ceuzKuqkCqDU4 G686n5EupR0yAnPxn0yASaua/u/3I/h80Do8ScGAfnmAg4Z6+mJ+mRaSXFUM+FlEZwX1 FZtRWQrlNfKskLmKhRbSlQ0OFhMR35WNE0IAQNK2fnJx0Qj+Y+RSuFhZY5cJYCaHIRk2 X0XTL47oQg2rRzQBofrGQp6Btv9/2TfcADGM4Evr0f8kXYDnfakdxtfGWY9MdE0ErN5Q J+zj15SbtYjntZDS2KaPHbcC2qFGWkwKWedwLcH3E5kJA2BXEjuxyRLJS9jMFynyBeNB LeeQ== X-Gm-Message-State: AOAM533n3AUjVDiFb3vcqSIlM9PlhpKrbZK63P8bDUF6JQ3lo9fEdr2O GJJDTmkW4HAhXLyOH2+EufWOJqYx1IVaujFg00DF5GMNq+Tx+g== X-Received: by 2002:a9d:b85:: with SMTP id 5mr4982641oth.281.1612561707504; Fri, 05 Feb 2021 13:48:27 -0800 (PST) MIME-Version: 1.0 References: <20210205163752.11932-1-chris@chris-wilson.co.uk> <20210205210610.29837-1-chris@chris-wilson.co.uk> <161255976138.12021.9385501710085642237@build.alporthouse.com> <202102051319.E5D8B4528D@keescook> <161256053234.12021.17815864250035077266@build.alporthouse.com> In-Reply-To: <161256053234.12021.17815864250035077266@build.alporthouse.com> From: Daniel Vetter Date: Fri, 5 Feb 2021 22:48:16 +0100 Message-ID: Subject: Re: [PATCH v2] kernel: Expose SYS_kcmp by default To: Chris Wilson Cc: Kees Cook , Linux Kernel Mailing List , dri-devel , intel-gfx , Andy Lutomirski , Will Drewry , Andrew Morton , Dave Airlie , Lucas Stach Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 5, 2021 at 10:28 PM Chris Wilson wrote: > > Quoting Kees Cook (2021-02-05 21:20:33) > > On Fri, Feb 05, 2021 at 09:16:01PM +0000, Chris Wilson wrote: > > > The subject should of course be changed, as it is no longer being > > > enabled by default. > > > > "default n" is redundant. > > I thought being explicit would be preferred. There are a few other > default n, so at least it's not the odd-one-out! > > > I thought Daniel said CONFIG_DRM needed to > > "select" it too, though? > > Yes. We will need to select it for any DRM driver so that the Vulkan/GL > stacks can rely on having SYS_kcmp. That deserves to be handled and > explain within drm/Kconfig, and as they are already shipping with calls > to SYS_kcmp we may have to ask for a stable backport. Oh I dreamed and thought it's part of this patch already. So v3 with matching subject to enabled it for drm? -Daniel > > > Otherwise, yeah, this looks good. Was the > > export due to the 0-day bot failure reports? > > Yes. > -Chris -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch