Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1350508rdb; Tue, 30 Jan 2024 16:23:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPK5j8oPUd2tv3wZt1WHZTh89QyY2Q+VqBcJVbldO1lRZy8Z4/NVzUsTgvckHZtsrWqTHR X-Received: by 2002:a17:906:b06:b0:a35:b706:b618 with SMTP id u6-20020a1709060b0600b00a35b706b618mr6726ejg.14.1706660598656; Tue, 30 Jan 2024 16:23:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706660598; cv=pass; d=google.com; s=arc-20160816; b=HftxECmExdMDDKsfdCNXIRsw6nMyIgkhRAx1wf9hnDpaKdIrb1nD34bCjNOKcEitZz cnizL3AOpqaY/Qbtmc79XtAUqs+kVk9yt78R3vnrxK3r7KSqRfjPdblKXNQMJKvpwE7X WziQYRn1H9wv3hO3OzvohQVD8mOWgagarW0/TQnjmP4gtG8UlyjwWCXe35tqmcQk2oeQ nOp4n7+Gn+6EAS5yCFF4bVoptO59n+gybbmrlQrtCcgqXLnDHNbf/CPgMYUY8+Aat2Cv BDdz6ahnijwRa+6qwLf9OUPLTdBMUfxRe/whEole0E4KQGYG9tqxWr7IKg/vfbwgNojK 1Brg== 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=6UUs8fpDW/qGP1+g4Bn7tEZ6bmTUMuHbS6LpB7XKUq8=; fh=q3Z3eTMsn8RWXDG3Z9mEy9OlUkIZCh5f2GY/YJFf7tg=; b=tUmaEwZmiOrkgDYhqNZp8me4dvtVLaEXLJSODvRnCoZOAUGhgkf8XOAexcusiZH6fQ B9DB2ccC6HvfOSJjx99jgx1fZDoBWfCqWohShXZtSt9gtkQfxdVN30rKy9DjVJGtDATG R7gBvbkKkW3bdZj2wvnjdtYbaSf6ZN/2W69pDyXypKkJoWW4nv4AFZjs5p3ibVeqzyd6 U1VjtS3gNttkbhnlPxoIgt2D26YYI1vqHfrmP/lqGo7n3Zw/SUhVwgIeKoi+7QMElo3C ySCK9QFmRjgm/T7D5MBeYJC3t49LT6M8kZc4vqHn0KiE6s6kHCOq0d08OHKMCOtwMwNu zNbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="AsqL/+PA"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-45516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCWsis1gYtbY0Wq9/z/pmQ1OoxcihXL2C/avrDW6f1tfR4+UMsPvUqZ9kF/AkOJpixUUOG2WhgWbQ9uWIt9M98Ct8bySBmP70zJGm1v5NQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w20-20020a17090652d400b00a36133ca962si1305788ejn.646.2024.01.30.16.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 16:23:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="AsqL/+PA"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-45516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 675791F25D43 for ; Wed, 31 Jan 2024 00:23:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E58735258; Wed, 31 Jan 2024 00:23:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="AsqL/+PA" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0B90B4C9D; Wed, 31 Jan 2024 00:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706660584; cv=none; b=tRLvkHWrNECR72p8NGagKHUAiHQZPoUOjcrdgUburJa63PMY4bFSeWNdGwKWSPx0o5emhUUdactJ0qN4KpsHjCoR49RoDzaxlA3Q270RH3qROD7EhU8FSfk+ZQbVK4Z631fpz0qGk0Gp7obnGpA3whraIFO1US4ELlzq5pGzwb8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706660584; c=relaxed/simple; bh=iO+w0RdJHmRY+dn5TzHr1cclWbvfDkfjTwE6P1yaT30=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uwpdB88jKM7I43wo+yI+gpfDSGfJgzAu5ckOmYvP72YyEJU6J7VzPyQXxRchYchjDUhzL2fBCrM13YghBNqBTEvgHaohNqVpk2Gs/ucxfUtGc3bdgcOqQUUg16hUdWz/f3o4zhI2ErKS/h6W93Nuo1n2DGaoIt6HXagIh0s2Xvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AsqL/+PA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53C43C433F1; Wed, 31 Jan 2024 00:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706660583; bh=iO+w0RdJHmRY+dn5TzHr1cclWbvfDkfjTwE6P1yaT30=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AsqL/+PA/zQQ9IUFUjtgRceCUPdohwOnUH/zx4Xf+kR5BRt1oGUd1c6FQc37M5ydH IqRFjv2qERUCrJbxQC+BmmCp/prbTgN/AjDD8BZymYuuqx5IUpZnzzgH7JKXfGIwMf ifEbnOzqRn2DRpWB0U9jtXQaumonHRVhYoOT5hp4= Date: Tue, 30 Jan 2024 16:23:02 -0800 From: Greg Kroah-Hartman To: Brian Norris Cc: Andy Shevchenko , =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado , Tzung-Bi Shih , kernel@collabora.com, AngeloGioacchino Del Regno , chrome-platform@lists.linux.dev, Abhijit Gangurde , 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 v2 2/7] firmware: coreboot: Generate aliases for coreboot modules Message-ID: <2024013012-gully-goofy-2a55@gregkh> References: <20240112131857.900734-1-nfraprado@collabora.com> <20240112131857.900734-3-nfraprado@collabora.com> <2024013059-poison-equation-81d1@gregkh> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Jan 30, 2024 at 04:01:57PM -0800, Brian Norris wrote: > On Tue, Jan 30, 2024 at 3:51 PM Greg Kroah-Hartman > wrote: > > On Tue, Jan 23, 2024 at 02:06:14PM -0800, Brian Norris wrote: > > > "Don't you want to have a driver data or so associated with this?" > ... > > But why limit yourself to 32bits now? Why not make it 64? It is going > > to be sent to userspace, so you have to be very careful about it. > > Is that question related to the question I pasted/replied to, about > driver data? Or a new topic? Sorry if I'm misunderstanding. Same question, driver data, you make it 32 bits. > Anyway, for the size of the tag field: I don't have a strong opinion. > But FWIW, they're coming from this project: > > https://review.coreboot.org/plugins/gitiles/coreboot/+/269b23280f928510bcadd23182294e5b9dad11ec/payloads/libpayload/include/coreboot_tables.h#36 > > As you can see there, we're extremely far from exhausting 16 bits, let alone 32. We've run into running out of bits in other subsystems before, it's "free" now, just be safe and make it 64 like I think Andy is suggesting. thanks, greg k-h