From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.15 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796405026; b=aMJUqEIets13JADXAPp3k34gsW6+YvEwbeEyBYIHh9hMkE/D2z5qs+zhihbNaMwkOg0X AhP50vb3k74EFj3HhG0bb0+3IkXT4J5e6nH+LB+qCMG3CohpHhp1b6Ff8c/2EQx+JDh7c Wu89Eu2gJSyewtkAH+oofZeJbLjzYGjhnvAqhs0fvRhYuFaII+G/Nd2ogiPOumTEnBIaG jF2LS3AEK93bE78BkNYp3bDJXr0zUQ3MOcQLfIRCgUhR+EURnYLwg3QDxyQ+xm4kKdZdz fpCNSTRShLbyKUuG+gNV8jBLXuGo+sPcERYEELGIZtB5RPJGgKgRxO/j8cIsfb//msw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796405026; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:Organization; bh=5oeoNuBwOHen8vSNfMy+m3qNemh6HbRjab1BQDaW5ms=; b=oaQIm/1fkkRanbRDRtfW7BTNMOnnI5jSETgFuJipInjulmpBrL60tNkkp8QmXWC0HvXw endSfTDzdmfnppuYO3iKi684Z/f1W4a4Fy+VPtVtHqA5oyaY4NKK3FQCCxbRihApoQI5y /1N8Gz468v7t+Aa6vL72RxxtOtb3ALbZThwsfimhfF3+TXEMFlANjnqIQ6K06HQUTr0uw Rl4X0UyA6X6jNqwceoCn0pwjeglnHuBrL/KliL6Ay1xfpkwYea8q6L9R5JUF8uXgHiiwd ThpH3FsHHaCtYa7vHyuAsG3QncHW4nh+kHVSbkUNz4QmKLP8uRz7Dr4e6xY4aBAGqAw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=DBDfdRbl; arc=none smtp.remote-ip=198.175.65.15 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF6F2606A32D; Fri, 4 Dec 2026 17:23:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DF6F2606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=DBDfdRbl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796405027; x=1827941027; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5oeoNuBwOHen8vSNfMy+m3qNemh6HbRjab1BQDaW5ms=; b=DBDfdRbl8yVuc96Z/YeLNXYKRdo5tvVdStvhbi/3P/sv+2a9qCbJIJST B5eWVz55f5zJQu5EXw8V8p3iW2gIgJJea5LsCih2xCerRiL6LvFPKaYkt uL6QZ+tw3tfWcisASAGaU4e4eBhHeI9Wz7+PPaEloqwtTKTh2gE7e90lq dYz0P+0AtWRid7RazEsyOJyBxk2AIsSEwAyTd9sFJ2ke6FB9vvGgqWbsY ZWHyYIOuryv2DpaBbOW1esQEu3392YFD2XQmWcRPU7bbEYo6XTE+imwaf W5E9RYFXhlo2uSk1GD3/fkxDT3W8of6E4LRYPKFCGtNJctzSLMU8pQpCR Q==; X-CSE-ConnectionGUID: XLlxJZXbTgqd/U7DIH2bVQ== X-CSE-MsgGUID: 0qfrejuQQLOMokQHBJV/tA== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5393227" X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="5393227" Received: from fmviesa012.fm.intel.com ([10.60.135.152]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 09:23:46 -0800 X-CSE-ConnectionGUID: uBkI9jfxSMSCkLB8CTLJCQ== X-CSE-MsgGUID: LIShH9hYT7a6V/xUh5/Z3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="15772208" Received: from alekseim-mobl.ger.corp.intel.com (HELO localhost) ([10.245.245.10]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 09:23:34 -0800 Date: Fri, 4 Dec 2026 19:23:31 +0200 From: Andy Shevchenko To: Aditya Garg Cc: Atharva Tiwari , Ihor Odainyi , Antoine Sidem , Bjorn Helgaas , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , "Rafael J. Wysocki" , Len Brown , Linus Walleij , Bartosz Golaszewski , Sven Peter , Janne Grunau , Neal Gompa , Guenter Roeck , Jonathan Cameron , David Lechner , Nuno =?iso-8859-1?Q?S=E1?= , Andy Shevchenko , Lee Jones , Pavel Machek , Griffin Kroah-Hartman , Hans de Goede , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Sebastian Reichel , Alexandre Belloni , Wim Van Sebroeck , Jarkko Sakkinen , Mimi Zohar , Roberto Sassu , Dmitry Kasatkin , Eric Snowberg , Paul Moore , James Morris , "Serge E. Hallyn" , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org, linux-leds@vger.kernel.org, mfd@lists.linux.dev, platform-driver-x86@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, Linus Torvalds Subject: Re: [PATCH 02/14] platform/x86: add backend for macsmc in intel macs Message-ID: References: <20261204131619.5059-1-atharvatiwarilinuxdev@gmail.com> <20261204131619.5059-3-atharvatiwarilinuxdev@gmail.com> <70a1e05f-af45-46d0-ad03-8592e0ca0342@linux.dev> X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70a1e05f-af45-46d0-ad03-8592e0ca0342@linux.dev> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Fri, Dec 04, 2026 at 08:22:52PM +0530, Aditya Garg wrote: > On 04-Dec-26 07:49 PM, Andy Shevchenko wrote: > > On Fri, Dec 04, 2026 at 08:12:42AM -0500, Atharva Tiwari wrote: ... > >> +static const struct acpi_device_id apple_smc_acpi_ids[] = { > >> + {"APP0001", 0}, > >> + {} > >> +}; > > > > Where have you been last half a year? > > He is a new kernel dev. Not your fault for assuming he is a seasoned one. Oh, sorry for that. Do you have any internal mailing list to discuss patches before sending, or is it just this mailing list for the fully open discussion? > Can the maintainers be friendly and point out code errors rather than the > RTFM thing for LKML as well? Or atleast point out some examples rather than > just ranting. Sure. The C99 initialisers is a requirement nowadays for the ID tables. As well as common style. I highly recommend to check with Git history for each of the subsystem and check the last contributions. AI actually may be helpful with collecting and summarising such an info. The above should be static const struct acpi_device_id apple_smc_acpi_ids[] = { { .id = "APP0001" }, { } }; P.S. Sorry for my tone, I'm so grumpy on the later AI slop here and there, especially when people do not read anything. -- With Best Regards, Andy Shevchenko