Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1300778

Re: [PATCH v5 1/5] PCI: designware: ensure ATU is enabled before IO/conf space accesses

From Stanimir Varbanov <svarbanov@mm-sol.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 1/5] PCI: designware: ensure ATU is enabled before IO/conf space accesses
Date 2016-01-04 15:40 +0100
Message-ID <qNesG-4F6-7@gated-at.bofh.it> (permalink)
References <qH2ud-5E7-11@gated-at.bofh.it> <qH2ud-5E7-17@gated-at.bofh.it> <qH4w2-6U7-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/18/2015 04:41 PM, Pratyush Anand wrote:
> On Fri, Dec 18, 2015 at 6:08 PM, Stanimir Varbanov
> <stanimir.varbanov@linaro.org> wrote:
>> There is no guarantees that enabling ATU will hit the hardware
>> immediately, and subsequent accesses to configuration / IO spaces
>> are reliable. So fixing this by read back PCIE_ATU_CR2 register
>> just after writing.
>>
>> Without such a fix the PCI device enumeration during kernel boot
>> is not reliable, and reading configuration space for particular
>> PCI device on the bus returns zero aka no device.
>>
>> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
> 
> Acked-by: Pratyush Anand <pratyush.anand@gmail.com>

Bjorn, Do you want to resend the whole patchset with collected acks and
tested tags?


-- 
regards,
Stan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v5 1/5] PCI: designware: ensure ATU is enabled before  IO/conf space accesses Stanimir Varbanov <svarbanov@mm-sol.com> - 2016-01-04 15:40 +0100

csiph-web