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


Groups > linux.kernel > #1209654

Re: [PATCH v3 27/51] PCI: Move ISA ioport align out of calculate_iosize

From Yinghai Lu <yinghai@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 27/51] PCI: Move ISA ioport align out of calculate_iosize
Date 2015-08-19 08:40 +0200
Message-ID <pZ5cu-6jp-9@gated-at.bofh.it> (permalink)
References <pR09X-8vE-5@gated-at.bofh.it> <pR0a0-8vE-77@gated-at.bofh.it> <pYGxr-3vn-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 17, 2015 at 9:11 PM, Bjorn Helgaas <bhelgaas@google.com> wrote:
> On Mon, Jul 27, 2015 at 04:29:45PM -0700, Yinghai Lu wrote:
>> So we could unify calculate_iosize and calculate_memsize later.
>
> Please make this a complete sentence, not just a continuation of the
> summary line.
>
>> when one bridge have several children devices, and every devices
>> have several io port resources and resource size < 0x400.
>
> This isn't a sentence either, so I'm not sure what this is supposed to
> mean.

will change to:

Subject: [PATCH] PCI: Move ISA io port align out of calculate_iosize()

We can move ISA io port align out of calculate_iosize(),
so we could unify calculate_iosize and calculate_memsize later.

That extra aligning or offset is to work around ISA devices:
When one bridge have several children devices, and every device
has several io port resources and resource size < 0x400.
We need to check size, and add extra size to make sure bit8/9
to be zero.
--
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 | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v3 27/51] PCI: Move ISA ioport align out of  calculate_iosize Bjorn Helgaas <bhelgaas@google.com> - 2015-08-18 06:20 +0200
  Re: [PATCH v3 27/51] PCI: Move ISA ioport align out of calculate_iosize Yinghai Lu <yinghai@kernel.org> - 2015-08-19 08:40 +0200

csiph-web