From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=83.223.78.233 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796461159; b=tYvR5GSfWaQrK4xldMIV7sDswEjMryUokTqVPCHJWT19FB4nEFQHZ4HPHLfTicTcOJD4 iaFaRJZK6WnteWihDwl4IjjNbBtZskqrUG+GIjlo4oVizMyLGD5a9Nj7net5xHIXA9Jau 1EjXAQxvEsjtkx2ME1s8CQjCYEyDGm44blDmiapim43tb+1xt3yyQc2PUrZafun8wyNzv Yyvocu4q0bUa82OoCFk6ao5ouEAJNPtmLrgGBCWlw2r1O+1H3NnzDO50QDeGu8Tvycl0x ayLdVZJh1Cj+Hr2Uuiq2IgndelLqHJkj+Y0D/mPTC9IeZ5u3Ch17Su7Oui0xQpLGvqw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796461159; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=agcXenA3WQkAklD3Y3bzBipOip2lPc+pJDXXsMiPiik=; b=4QbOKgwlwBLcvv95A4r9neHY/0xEUc8F7rtig4YONKEH57uZyX3V9xOyvgBeCY+M+CBH 6QApt5VlxcK0K2yUv4LXVfCzO/xP+IF3BODaEHCFQh+QSDNEETWHqvLvU389hC5PpO+dt TcCuUX/TGprovbl0r4j7whvChdG/LQ7ogAw9+NJsIagYA/Hut+kTYr5w9bkqUo102YzTo pSMJNEwGlvZPnK6zbKagOamP6DOyEVW741uZOQ3CxcF1eEJs+/uD420/KGwlT+BFowU0e lxDsmVZYQdrc13/W0ID67h6uH9vLehFZ5Md/BvQFmdWUuEejHWGLRocWR1U3MpxILbQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=wunner.de; spf=pass smtp.mailfrom=wunner.de; arc=none smtp.remote-ip=83.223.78.233 Received: from mailout2.hostsharing.net (mailout2.hostsharing.net [83.223.78.233]) (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 505E8606A322; Sat, 5 Dec 2026 08:59:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 505E8606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wunner.de Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "*.hostsharing.net", Issuer "GlobalSign GCC R6 AlphaSSL CA 2025" (verified OK)) by mailout2.hostsharing.net (Postfix) with ESMTPS id 0FEEC10610; Sat, 05 Dec 2026 09:59:17 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id ECD68602D623; Sat, 5 Dec 2026 09:59:16 +0100 (CET) Date: Sat, 5 Dec 2026 09:59:16 +0100 From: Lukas Wunner To: David Matlack Cc: kexec@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Alexander Graf , Alex Williamson , Bjorn Helgaas , Jason Gunthorpe , Jonathan Corbet , Josh Hilke , Mahesh J Salgaonkar , Mike Rapoport , Oliver O'Halloran , Pasha Tatashin , Pratyush Yadav , Randy Dunlap , Samiullah Khawaja , Shuah Khan , Vipin Sharma Subject: Re: [PATCH v2 02/17] PCI: Add an offset-indexed store for saved capability registers Message-ID: References: <20261106004218.604799-1-dmatlack@google.com> <20261106004218.604799-3-dmatlack@google.com> X-Mailing-List: linux-kernel@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: On Fri, Dec 04, 2026 at 03:22:45PM -0800, David Matlack wrote: > On Fri Dec 4, 2026 at 9:55 AM PST, Lukas Wunner wrote: > > On Fri, Nov 06, 2026 at 12:42:03AM +0000, David Matlack wrote: > >> +/** > >> + * pci_write_saved_cap_word - change the saved value of a 16-bit register > >> + * @dev: the PCI device > >> + * @off: offset of the register in configuration space > >> + * @val: value to save > >> + */ > >> +void pci_write_saved_cap_word(struct pci_dev *dev, unsigned int off, u16 val) > > > > Another naming issue: "write" sounds like something is written to > > config space. You're actually updating the saved config store. > > > > Same for pci_read_saved_cap_word(). Maybe "store" / "retrieve"? > > How about get/set? > > I'd like to avoid "retrieve" since patch 17 already uses it for Live > Update, where it means something else > (pci_liveupdate_retrieve_saved_state()). get/set seems fine. My thesaurus otherwise only lists "fetch" (for "retrieve") and "stash", "cache" (for "store") as viable alternatives. Thanks, Lukas