Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2442665pxb; Tue, 13 Apr 2021 01:50:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNyD7/5TuiqAVjjDWJMaI9XONekFKx4QIqlGScKAD86OYu+Vsqe1mikI1JSSVCqQF6idH/ X-Received: by 2002:a17:90a:c203:: with SMTP id e3mr3629811pjt.173.1618303850381; Tue, 13 Apr 2021 01:50:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618303850; cv=none; d=google.com; s=arc-20160816; b=JYuKQ5UBg6zgxJujmJBmvXfox7GvScAOjMXk/FB7aNqAVRHWHtJvOAceRna1gaME/M u5JXwhvPS2KpHgq5au14z+MkB+SXQYtCQ3vW0DN5ej4XbBSP7zZU5sNdbjU9GYenGcuU tl/xpvQIaFt9uaT8MOQ5JXhwC9xbzRFxusIy1IbRrNnZdzDhLXGx5dA/qVEvGEwXFxSV kZAzgjzZ7nN3SL7fTeq69AVpQVFCW4ssqTYS45LpviL6ZKJtyzpJhAtDcJUPEIxCyHku 59Dpuow0oKVQDOLcVp7N67YJxZcFzv63z33V8QkGZHWKfsVP7eD3CyPamH02HmkydWx0 vyYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KHlpzN0USLRkqHQX6kJeMY9ggj03szKHoWH+/VGPD2A=; b=SjHARMBSOXo6cd6Lb0oncM0+hBoX3TynF/uAEB7mlhKCMaZG+yBi93EWVUmiXlf9Uk GI9vQI4HlRmNsitcbcg46zJjPahKLIa39uSeogtZWru1CcpGCi5e2bOJtdnLNruFxOin dg2JTWRllouW0KNRD5Uw7DSRRYH85Gb9iLwt2141puk9JPzCe71X2P6WlUO0yHGbbJMt VTxhozGCsVcD+3sernT2f9DeWvUs9inPdWUPreNxPMULWGryrS74CkWUQF11mJ8cdMeU 9/S8eRyoMlDC67VuDVmrqxbw0Eq1BbWARKVN7JhxfP33dnBTUISy+iYYPyPi44eetq9H vMbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jOVNwhqg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i37si16250134pgb.26.2021.04.13.01.50.38; Tue, 13 Apr 2021 01:50:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jOVNwhqg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244583AbhDMFju (ORCPT + 99 others); Tue, 13 Apr 2021 01:39:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:39712 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244195AbhDMFjt (ORCPT ); Tue, 13 Apr 2021 01:39:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4EDF16124B; Tue, 13 Apr 2021 05:39:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618292369; bh=5R7ntvoWL5LsFvNyJcrCmGY3P8CzjXRu8BWzmE4arjg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jOVNwhqgRa8OzthSqZk+LpFcsHziJpB8XjTDZJXpUNhHKsKM+GBt5qv0epPu8zBnK cGBfM5GaGaOM9ooDFNTiGgpTjC8e3kghoETjwZPTElOktD6nuMcSYifHESJmUwswvU Fv83zJIWynYRIS1WurqVPtuzocmDkXKoAje0/UYELFkjbIxcYTTV1QPQmYsWH92CFR fbuW0GeF2wWxT8mXVxDoPpr+AM9+7d+cSTjIECz4mABo1lRKTIu31Iir3s9gdM3xv3 4RVuPTc9P1gPKLLiGHR9xdr/vBVBKM7CNY5dmm9o55XpWtp0KT/a72szc+Nek/3YNL p1IlNkj5zEj2w== Date: Tue, 13 Apr 2021 08:39:25 +0300 From: Leon Romanovsky To: Niklas Schnelle Cc: Narendra K , Viktor Mihajlovski , Stefan Raspl , Peter Oberparleiter , linux-netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: Re: [PATCH 0/1] Use of =?utf-8?B?L3N5cy9i?= =?utf-8?B?dXMvcGNpL2RldmljZXMv4oCmL2luZGV4?= for non-SMBIOS platforms Message-ID: References: <20210412135905.1434249-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210412135905.1434249-1-schnelle@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 12, 2021 at 03:59:04PM +0200, Niklas Schnelle wrote: > Hi Narendra, Hi All, > > According to Documentation/ABI/testing/sysfs-bus-pci you are responsible > for the index device attribute that is used by systemd to create network > interface names. > > Now we would like to reuse this attribute for firmware provided PCI > device index numbers on the s390 architecture which doesn't have > SMBIOS/DMI nor ACPI. All code changes are within our architecture > specific code but I'd like to get some Acks for this reuse. I've sent an > RFC version of this patch on 15th of March with the subject: > > s390/pci: expose a PCI device's UID as its index > > but got no response. Would it be okay to re-use this attribute for > essentially the same purpose but with index numbers provided by > a different platform mechanism? I think this would be cleaner than > further proliferation of /sys/bus/pci/devices//xyz_index > attributes and allows re-use of the existing userspace infrastructure. I'm missing an explanation that this change is safe for systemd and they don't have some hard-coded assumption about the meaning of existing index on s390. Thanks