Re: [PATCH] PCI: Don't let mmio fallback to must-only, if ioportfails with must+optional

From: Yinghai Lu
Date: Fri May 24 2013 - 19:34:43 EST


On Fri, May 24, 2013 at 10:25 AM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote:
>
> The problem we're trying to solve is that when allocation for type X
> fails, we retry allocation for type Y.
>
> This patch handles IO specially. I think it basically says, "if we
> only have IO allocation failures, don't retry MEM allocation." But a
> clean strategy would also avoid retrying IO allocation if we only had
> MEM allocation failures.

Well, that will make it little bit complicated as v3 that is sent in
another mail.

Need to separate ioport, mmio, mmio pref three types.

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