From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89FCB606A338 for ; Wed, 2 Dec 2026 11:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=A8aZp6Qt; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=B/FJsJ+g DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=acqk7hdofjtIuzK+K6r4xJtY+td5A74q3zdcmze/G+4=; b=A8aZp6QtImU8iU9TlpfxerzC39 GRgWqPnQGZmODMfRgo7Dc8zA74QngNTOJ0HeKA8Ns8P49+r9vmz6sxTBM+uwrUuPGuJ92bQooHMpp MuBO3eKHK/fYHIFpdpcPArQtNxU4OscU+wuzqv/f60aH33AkPA2X9aMPyMv4O9CmZPTAFV1wWUglb KG1vfVmWAbLwxZPKrZp4/d/jyQH+5kgnZC1AtIkBCCVZiYFa/8rHvNBHQ5iqyYbAUP/EAVn4OmpVz DBCcOROcw+uq4FsqC074X8sTDsegRWvQZOYjtq/ZWVOSaNgiD4Q7c6RKSJe5eWoEuPoUogwZHO0Jw ui8w4qtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYiaC-0000000BKFC-19sg; Wed, 02 Dec 2026 11:33:08 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYiaB-0000000BKEp-1jJQ; Wed, 02 Dec 2026 11:33:07 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id B091E43C86; Wed, 2 Dec 2026 11:33:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 255091F00899; Wed, 2 Dec 2026 11:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796211186; bh=acqk7hdofjtIuzK+K6r4xJtY+td5A74q3zdcmze/G+4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=B/FJsJ+gpH0K0umZk21R0xffjzAf/nmFcfDzy1dWEfGXzjgIgYCALuc5TgHI+0t+b IN7uaUYl5KeY2u3gfIhUmVv5hTuXkjRMWAqgF2YOs2ws9VjfAPi3oO8lOluD9TH5jx /atp2Kw5RXY5uaDrkL0FY3mnZnUpQ7S2Yqw2tRk0s1wCt0PAYiytyIUSzGCTrSKpPd aOmXkZS4pDHnWswrAZCUwq5EckZdJBTSqnoQ1judYEYHO2b38T4xRuKjC6LjCGBKqM s5z8CdJPoB9KU5Dqldqtvgwtn9xBHhsOev4qUIvXSo5PUhLHLymWbX9EKMKgfbqxyn PiRXAYn7AlKmg== From: Pratyush Yadav To: tarunsahu@google.com Cc: Pratyush Yadav , Pasha Tatashin , Mike Rapoport , robin.murphy@arm.com, maz@kernel.org, will@kernel.org, David Matlack , Alexander Graf , seanjc@google.com, jgg@nvidia.com, loganodell@google.com, arnd@arndb.de, dwmw2@infradead.org, baolu.lu@linux.intel.com, Bjorn Helgaas , oupton@kernel.org, alex@shazbot.org, gle.com@google.com, pbonzini@redhat.com, Andrew Morton , kevin.tian@intel.com, joro@8bytes.org, kvmarm@lists.linux.dev, linux-pci@vger.kernel.org, kexec@lists.infradead.org, kvm@vger.kernel.org, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, skhawaja@google.com, sagis@google.com, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 05/19] kho: Add feature header for fine-grained ABI compatibility In-Reply-To: <9huzse0imhob.fsf@tarunix.c.googlers.com> (tarunsahu@google.com's message of "Mon, 30 Nov 2026 16:02:12 +0000") References: <20261110050202.529473-1-tarunsahu@google.com> <20261110050202.529473-6-tarunsahu@google.com> <2vxzo6bbwlqv.fsf@kernel.org> <9huzse0imhob.fsf@tarunix.c.googlers.com> Date: Wed, 02 Dec 2026 11:32:58 +0000 Message-ID: <2vxz7bhrvrx1.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kexec" X-Spam-Status: No, score=-7.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Mon, Nov 30 2026, tarunsahu@google.com wrote: > Pratyush Yadav writes: [...] >>> +#define KHO_SER_NR_FLAGS(nr_required, nr_optional) \ >>> + DIV_ROUND_UP((__u32)(nr_required) + (__u32)(nr_optional), 64) >> >> That's not number of flags, that the number of bits in the bitmap. >> Reading KHO_SER_NR_FLAGS() would make me think this is just nr_required >> + nr_optional. > > I could think three name > > KHO_SER_FLAGS_SIZE > KHO_SER_FLAGS_LEN This one sounds the best to me. > KHO_SER_FLAGS_WORDS > > which one is more clearer? [...] -- Regards, Pratyush Yadav