[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170314154155.GG32070@tassilo.jf.intel.com>
Date: Tue, 14 Mar 2017 08:41:55 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Andi Kleen <andi@...stfloor.org>, bhelgaas@...gle.com,
x86@...nel.org, linux-pci@...r.kernel.org, eranian@...gle.com,
Peter Zijlstra <peterz@...radead.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/4] x86, pci: Add interface to force mmconfig
> And the way how this function is used is a horrible hack. It's called from
> a random driver at some random point in time.
>
> The proper solution is to identify the bus at the point where the bus is
> discovered and switch it to mmconfig if possible.
But how would you know that it is safe?
AFAIK the only one who knows "this is an internal SOC device" is the driver.
Or are you saying it should be enabled unconditionally for everything?
Or define some quirk table just for this purpose?
-Andi
Powered by blists - more mailing lists