Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp31472rdb; Mon, 22 Jan 2024 10:57:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFrt4N4lRWJtCSM32ctzRudyAUDANvFO8oJRliqmTHWMDogYg5WRtbeUTKbljybQzByz7CP X-Received: by 2002:a05:600c:19cf:b0:40e:50e9:9b0c with SMTP id u15-20020a05600c19cf00b0040e50e99b0cmr2551633wmq.181.1705949843131; Mon, 22 Jan 2024 10:57:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705949843; cv=pass; d=google.com; s=arc-20160816; b=caXDoomVaXAUcpng5kPvNtXtHWUFZ0LpI+L+ostbCKfiJwGOpJ7cMzDxf2N+LWzzN3 hw3rEMGBjNIAPTeScn/lNU7oo+vSGsuKoUtoI05XCWirUEHAZKxSEbvHVVIMvgkRSgz1 5ljALDwa1BDQN5e+YbtvONbSPYC2nEV4oHbkRGqg8XlRz7V2R9kvlHF4Y9nyxSvJO0xI ZrHlxh7sDiLJPazMcMUCez5rnp3gW5iki8ep/bGAun5JVcQK8x/ORsl5jk37s2w5/jHQ 3kXzcUgE3hGwHSmKT0PBTnpvFJgniF6ThhFxsuNCcJUd9FVQkY70qAVG5u1r7ClSs7Zp ftfw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KhRgOcmwWO16JrkCwbO5b1qctFvpsjDAsP5H67RKn60=; fh=nUpv9SwRUlL4JvgmeTcZeBPN8If4BgVeC2akpdypJII=; b=pbHoKnMiwoH6mcMX8gqnkMbbdgh8YQ9gcq4ctKkY+JHIyQFAoqGWZj+dd1Yt4GJeqF BGjoHlz7apHOPMyGXtyf7zP/DbeY5JO9v/r5ju2MuYkGSa1sRHpTTDW1TtflRuwvbfYw pbGg32gdkz3FJq8eyvCAKZKzNoQJIJ3pVueR0EtDnUUUAgZgPWfGZtE9rpu0/2kGG/Zc hh67vBGW9vBwDExQhyFemRXPz1Q6HFSj3pI1pFTv6ipEOQeeNtTW/l63luALI50pQSat 1c4eyodaj0atyWVMFkyFaxsNlHk22pzQK0v01r+0YNhSgV6iyP5y42y5GUus3Oz/gYRk RTXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NUAZbR4Z; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-33980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c23-20020a50f617000000b0055a54ea55e0si4131641edn.245.2024.01.22.10.57.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 10:57:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=NUAZbR4Z; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-33980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BEC911F21046 for ; Mon, 22 Jan 2024 18:57:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5EA73F8F7; Mon, 22 Jan 2024 18:25:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="NUAZbR4Z" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B0823EA9B; Mon, 22 Jan 2024 18:25:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705947917; cv=none; b=W7HvlwyPn++BM0CjapH+U12GjQgLsBIzL+YfRFsICKfbV8nK4z0HHEjb/5DLGA2J1Pj3CxB/pJdTun6akzHJ+Z2QzmGRgK5XX4Z37mX2kg+6LUOuXngqNtrwwgoTaq8UiXABsJbzfF0VmEk2Hn2j0sxd5GA6QXfH/a1p077vqP8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705947917; c=relaxed/simple; bh=bki8OKPCaifZaa0bC+BAoNW93I8ZJcHhhEc/Dz/w0UY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y8yfj2WzYlG7wL/+f3B6ierbS9eFUOI2COIrnaoC2TGW2SwaMVwrGPZGHWjpKBc3tqEWXF1+j9Ms3q5T/iaAlnx6AgZMbf3Wg6AiWHjQZ8+SxFYAip8oezU7XrjFAKNUTHbUbcvWXPRL6xBFHo6YLRlZfvuogC7P+ONYM2aU7u8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=NUAZbR4Z; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705947914; bh=bki8OKPCaifZaa0bC+BAoNW93I8ZJcHhhEc/Dz/w0UY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NUAZbR4Z/wMc9SbajwSwp7sgMlJHdeRsauGAF4zt2TxjD3lMp83aPq5owZAX1DT9H luG9GGZJnThtXlDUcHAeLwhoNqxVbRJKvi3XcG464vrigORWQch5njxMHBQiSBIGg9 TU4H30azSkQh98/BVxGJ69NPA3TzsUzJ4BKne+sLMrh+fD3PWU/7R0MonWNFWgvStf M0V57dN5BtZe7YWkg8qZQ0RSb2HXmV6+NxVnJGCHtZfeHReWRkIxSFppf+Ks5Fqah/ d/XmcxUegDCDb2Mj3Qz2r7abRibWx/kD9tGhgICrgKcaHuSclWriBt2L2uL4IWizKQ At4DamqDXRWpw== Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 5B9743782094; Mon, 22 Jan 2024 18:25:09 +0000 (UTC) Date: Mon, 22 Jan 2024 15:24:36 -0300 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Andy Shevchenko Cc: Tzung-Bi Shih , kernel@collabora.com, AngeloGioacchino Del Regno , Abhijit Gangurde , Greg Kroah-Hartman , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Nipun Gupta , Pieter Jansen van Vuuren , Umang Jain , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] firmware: coreboot: Generate aliases for coreboot modules Message-ID: <1ab1c936-2423-431b-bb54-49983e64fb98@notapiano> References: <20240111151226.842603-1-nfraprado@collabora.com> <20240111151226.842603-3-nfraprado@collabora.com> <49b42da1-a74b-433c-b018-0742f850f680@notapiano> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sun, Jan 21, 2024 at 02:41:29PM +0200, Andy Shevchenko wrote: > On Wed, Jan 17, 2024 at 09:53:23AM -0300, N?colas F. R. A. Prado wrote: > > On Sun, Jan 14, 2024 at 07:08:13PM +0200, Andy Shevchenko wrote: > > > On Thu, Jan 11, 2024 at 12:11:47PM -0300, N?colas F. R. A. Prado wrote: > > > > Generate aliases for coreboot modules to allow automatic module probing. > > ... > > > > > +/** > > > > + * struct coreboot_device_id - Identifies a coreboot table entry > > > > + * @tag: tag ID > > > > + */ > > > > +struct coreboot_device_id { > > > > + __u32 tag; > > > > +}; > > > > > > Don't you want to have a driver data or so associated with this? > > > > There's no need for it currently in any driver. This struct is being created > > simply to allow auto modprobe. So it seems reasonable to leave it out and add it > > later when/if needed. > > The problem is that you introduce a kinda ABI here, how do you handle this later? Sorry, but I don't follow. What ABI is there to guarantee stability for here? This header is not exported to userspace (not under uapi/). Only kernel code will make use of this struct and it can be updated whenever this struct is changed without anything breaking. Thanks, N?colas