From: Przemek Kitszel <przemyslaw.kitszel@intel.com>
To: Jiri Pirko <jiri@resnulli.us>
Cc: "Temerkhanov, Sergey" <sergey.temerkhanov@intel.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"Loktionov, Aleksandr" <aleksandr.loktionov@intel.com>,
"Kolacinski, Karol" <karol.kolacinski@intel.com>,
"Nguyen, Anthony L" <anthony.l.nguyen@intel.com>,
Jakub Kicinski <kuba@kernel.org>,
"Keller, Jacob E" <jacob.e.keller@intel.com>,
"intel-wired-lan@lists.osuosl.org"
<intel-wired-lan@lists.osuosl.org>
Subject: Re: [Intel-wired-lan] [PATCH iwl-next] ice: use DSN instead of PCI BDF for ice_adapter index
Date: Tue, 11 Mar 2025 11:14:13 +0100 [thread overview]
Message-ID: <9727f77b-907a-49f6-b277-51387c499a6f@intel.com> (raw)
In-Reply-To: <ogvnbkqy73hjndtr7ncmuzw7ai2w35w2osaadb2w4sel3pyrry@yqk3csgruxth>
On 3/10/25 13:23, Jiri Pirko wrote:
> Mon, Mar 10, 2025 at 09:40:16AM +0100, przemyslaw.kitszel@intel.com wrote:
>>> Subject: Re: [PATCH iwl-next] ice: use DSN instead of PCI BDF for ice_adapter index
>>
>> regarding -net vs -next, no one have complained that this bug hurts
>
> Wait, so we are now waiting for someone to hit the bug and complain,
> before we do fix? Does not make any sense to me.
no one is waiting for a fix, but it could affect users with weird NVM
images, so -next seems reasonable
>
>
>>
>>>> + return (unsigned long)pci_get_dsn(pdev);
>>>
>>>> How do you ensure there is no xarray index collision then you cut the number like this?
>>
>> The reduction occurs only on "32b" systems, which are unlikely to have
>> this device. And any mixing of the upper and lower 4B part still could
>> collide.
>
> Passtrough to 32 bit qemu machine? Even how unlikely is that, you are
> risking a user to hit a bug for newly introduced code without good
> reason. Why?
I will combine the two, by simple xor
>
>
>>
>>>
>>> It is also probably necessary to check if all devices supported by the driver have DSN capability enabled.
>>
>> I will double check on the SoC you have in mind.
IMO an NVM issue, will handle this offline
prev parent reply other threads:[~2025-03-11 10:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-06 21:11 [Intel-wired-lan] [PATCH iwl-next] ice: use DSN instead of PCI BDF for ice_adapter index Przemek Kitszel
2025-03-06 23:53 ` Jacob Keller
2025-03-07 12:40 ` Jiri Pirko
2025-03-07 23:21 ` Jacob Keller
2025-03-10 9:50 ` Przemek Kitszel
2025-03-07 12:39 ` Jiri Pirko
2025-03-07 13:42 ` Temerkhanov, Sergey
2025-03-10 8:40 ` Przemek Kitszel
2025-03-10 12:23 ` Jiri Pirko
2025-03-11 10:14 ` Przemek Kitszel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9727f77b-907a-49f6-b277-51387c499a6f@intel.com \
--to=przemyslaw.kitszel@intel.com \
--cc=aleksandr.loktionov@intel.com \
--cc=anthony.l.nguyen@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jacob.e.keller@intel.com \
--cc=jiri@resnulli.us \
--cc=karol.kolacinski@intel.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sergey.temerkhanov@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox