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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 758F4D116F3 for ; Sun, 30 Nov 2025 18:27:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D258210E279; Sun, 30 Nov 2025 18:27:47 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="U6isQ2fh"; dkim-atps=neutral Received: from mail-yx1-f44.google.com (mail-yx1-f44.google.com [74.125.224.44]) by gabe.freedesktop.org (Postfix) with ESMTPS id E315D10E279 for ; Sun, 30 Nov 2025 18:27:46 +0000 (UTC) Received: by mail-yx1-f44.google.com with SMTP id 956f58d0204a3-6420c0cf4abso3140082d50.1 for ; Sun, 30 Nov 2025 10:27:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764527266; x=1765132066; darn=lists.freedesktop.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=gQ0UOimIv+Gqhv0/1FQc2e2rNrHodQEz9DgOtiLMoSM=; b=U6isQ2fhf2qu7YIhnwn+4JfFPEdYILm5b7bv4EeyrhT/FwokHy3ckIQwBzcRlMZUJY P7ROCyG9ix9Xbm+7PW0eGsTs/lcEQiNn7gnBeyD2w007x+5WWobeB1r2GZGi2OqU/opV zDvGQqCKsZ0cQhGqhO7/SGmN8xF1B/8hqLNPAB8Nn3eZvOSYtcqVu+P3TQZaMtjFDgOF ye8JbFq9QpTN7j86TvsOE78HJ7WRAZqyqzhV51EzQ4t2h3PMDq8XCZ8SaH58jHBA8sf9 6GEayT+b87pp2/IvOv5FbAi9uu8vlkH0IDO4twb3LX0wSXYP0W+GttFhy1kFVkJ62Nks pAUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764527266; x=1765132066; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gQ0UOimIv+Gqhv0/1FQc2e2rNrHodQEz9DgOtiLMoSM=; b=hDNQWyOVWutOI7OqcHDwy1K+/9NcJTQlbr0o+bqTeItR7zoWZ45f1e0vtzFlt11Z84 P1txk4mRCwaxGK9bvgJAMcrxPqgt7xjnlbp39zs+M7Dt+bx5wthLDMGw5hDlDFPbPeId SoAVuZ+7TmP4QrznM73HeSetwGT8TgrB9jYLmBIyTCHZQdFQjE2yjD/9nHq9pL21bo27 zt4wnZxgnEvxngErq7tovxotFtLsgNx0IcBP5ZqRnLcc6fwDQ/Eglf1rDHhP+J4HO2ZA DrJ6xer8dhDjtnx16R+FPnYWJ8tGwkKycZo+ZPeJDVVqLVZgUHMaWrCx6PCJNAe+sahR 4NtQ== X-Forwarded-Encrypted: i=1; AJvYcCW+rvX3JZ/v+k8BaAOG8rOrNTwMDXWtNWP4DvAun08iZm/++5SV2rIyPauH8Pf3U8D+KI5ZG++sJzM=@lists.freedesktop.org X-Gm-Message-State: AOJu0YwBuEjmT6XN5CzCvg3zubBS/dwZS63PuHrJqkIR44CMveRsN8Dh NKLxsbxYa5McugliC9ZiGUpd4r4qJgEd2vK/oXq1clx+sU6krALRxRQE X-Gm-Gg: ASbGncvwZ8en7X2qqDVt+67EtZaiZ5XLeRR0PDzgNUPtO2kSjWmagXwDY8F+oi/VXmc Dtds5VPxkZ9W6XsL5Y/M7YbDm0SdKumUALNOfpyIKNFjQFJZJJyexy7NSIfGAK0h1yG6mQYNhld 8NK00to7j35AoZuhRfF35vWucUndH4MQj8Cl0vEMzuVBF8Ub7txOwAv5A301nK/DOnMsCiavlrK OS2buYohwcikMkx2onAiiDXNyn1z2RajkGUkRqy3ZtbFq0alLHE9vEiYt3t1fwP+EbPffK3i3Xk WjsRiL4+0l3lZEV5UZ7Z3FccdY4Zfh74lPoVXAZLWDkOEj0TVzx56IOAhggeDHwW2EDKj9ROAjS XQ7KjuY0awOcDhCKZL0bFVHO4z3rsrPjho9d7ug/q+gcUwGQ3xoP5/E5RMVUeqk6y+f7XvgxGNT NyHELAUZY= X-Google-Smtp-Source: AGHT+IFDyYOeUhT8Bbb9GCbxFDItrQuSs7u5k0phj03PaXnRWntIOvKeCN52kZaBXAUM/+2zDMUHvw== X-Received: by 2002:a53:b2f5:0:b0:63e:1ca0:be73 with SMTP id 956f58d0204a3-64302ac3594mr20527544d50.37.1764527265793; Sun, 30 Nov 2025 10:27:45 -0800 (PST) Received: from localhost ([2601:346:0:79bd:b42b:4ad9:10af:cabc]) by smtp.gmail.com with ESMTPSA id 00721157ae682-78ad1011c00sm39418837b3.33.2025.11.30.10.27.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Nov 2025 10:27:45 -0800 (PST) Date: Sun, 30 Nov 2025 13:27:45 -0500 From: Yury Norov To: Andy Shevchenko Cc: Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Randy Dunlap , Ingo Molnar , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Petr Pavlu , Daniel Gomez , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Andrew Morton , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-modules@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] kernel.h: move VERIFY_OCTAL_PERMISSIONS() to sysfs.h Message-ID: References: <20251129195304.204082-1-yury.norov@gmail.com> <20251129195304.204082-3-yury.norov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Sat, Nov 29, 2025 at 10:24:48PM +0200, Andy Shevchenko wrote: > On Sat, Nov 29, 2025 at 02:53:01PM -0500, Yury Norov (NVIDIA) wrote: > > The macro is related to sysfs, but is defined in kernel.h. Move it to > > the proper header, and unload the generic kernel.h. > > Tough guy :-) > I hope it builds well in your case. > > FWIW, > https://lore.kernel.org/lkml/20220603172101.49950-1-andriy.shevchenko@linux.intel.com/ > https://lore.kernel.org/lkml/20240212115500.2078463-1-max.kellermann@ionos.com/ > https://lore.kernel.org/lkml/20240215093646.3265823-1-max.kellermann@ionos.com/ Oh, OK. Surely I didn't want to undercut your or Max's work. Do you know why it wasn't merged in 2022 and 2024? > Assuming it builds in allmodconfig, allyesconfig on x86_32/64 and arm/64 > Reviewed-by: Andy Shevchenko It seemingly builds well. Thanks for review.