[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170830.220749.1080721940498362679.davem@davemloft.net>
Date: Wed, 30 Aug 2017 22:07:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: felix.manlunas@...ium.com
Cc: netdev@...r.kernel.org, raghu.vatsavayi@...ium.com,
derek.chickles@...ium.com, satananda.burla@...ium.com,
ricardo.farrington@...ium.com
Subject: Re: [PATCH net-next] liquidio: fix crash in presence of zeroed-out
base address regs
From: Felix Manlunas <felix.manlunas@...ium.com>
Date: Wed, 30 Aug 2017 16:19:53 -0700
> From: Rick Farrington <ricardo.farrington@...ium.com>
>
> Fix crash in linux PF driver when BARs have been cleared/de-programmed;
> fail early init (prior to mapping BARs) if the BAR0 or
> BAR1 registers are zero.
>
> This situation can arise when the PF is added to a VM (PCI pass-through),
> then a PF FLR is issued (in the VM). After this occurs, the BAR registers
> will be zero. If we attempt to load the PF driver in the host
> (after VM has been shutdown), the host can reset.
>
> Signed-off-by: Rick Farrington <ricardo.farrington@...ium.com>
> Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@...ium.com>
> Signed-off-by: Felix Manlunas <felix.manlunas@...ium.com>
Applied, thanks.
Powered by blists - more mailing lists