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


Groups > linux.kernel > #1630555

Re: Resizeable PCI BAR support V4

Path csiph.com!news.redatomik.org!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: Resizeable PCI BAR support V4
Date Tue, 25 Apr 2017 16:30:02 +0200
Message-ID <tA9DA-5OC-11@gated-at.bofh.it> (permalink)
References <tA8Hv-5gk-3@gated-at.bofh.it>
X-Original-To Christian König <deathsimple@vodafone.de>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RqYxWqyPCBfwoKBp3Te8eqb4yYBTxqrszgAlBfWayTo=; b=kgIMjgJ0mbxJ1iADwQH80qicq+C+Ewi7Q+NpWPSb65mTbatbSt3Pgr5AnHJ4gezrK1 eOWsC4Cp2rIOfmLRZra1sPSvyv9lkdedCJ+gnzp335mxLBirrsTu8gqQP0pxc7fLLmwc EnlLOPHe5FK1GikdTSiRtIWzz0gkIizC/ZJ+SSukHLXGCjxJ+/nGERwfpM1DrwYzmO+c t8QRZKbh3vgRSGut8iDeRYC+CUBisSEkrRwZi/eqc7rc+ToXpxurjQhqkytKAP1Z3a4C ot+qkPzQGglU8SZ5kGI4T0wx+v05hBzhgmD00eWBNMUvKR5kLgnWMyYXOtiyBTSk/aM2 6MyQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RqYxWqyPCBfwoKBp3Te8eqb4yYBTxqrszgAlBfWayTo=; b=SLMIZCYwUTOyPbsdExNiWkz3ajmuWaaoyJ9x9f6nW0erN265oVmQjsojeB8hFutw0D BHXaRigtXUNnpxKSNYn3KsosqgQFYZSRKUjzDrvNvBiqAt16vZgdhKMcJ6STqBGfkY9Z 3/Mc5bi+bSp13/thyvTuWKqyGRzHBzXE3nVOviY717/3EcwY3txebdTrDsgovdwrsDHc j5N5a7IXO35Ofe4CRMTB2Y/Q+ob+SDQaj+KzY7FTyXwcTw0U+mH89EkYsnqqer2QGJas gK3NTW7MZQEmts4ub7MI+WolfSS1ByN5JNKoaN4VZriWs/py0vOzvC3+XrWRboWlChXV WWKA==
X-Gm-Message-State AN3rC/4lI1gwoMQLw9Cendhqqq+hAJBMpSGeKAMzEh9YmrWUS+VmQrHz vlVIUlNtPlPVQJ4Z9T/CdAqFveNaTA==
X-Received by 10.237.57.170 with SMTP id m39mr30026299qte.163.1493130326128; Tue, 25 Apr 2017 07:25:26 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
X-Original-Cc helgaas@kernel.org, "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>, dri-devel@lists.freedesktop.org, Platform Driver <platform-driver-x86@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
X-Original-Date Tue, 25 Apr 2017 17:25:25 +0300
X-Original-Message-ID <CAHp75Ve5FickRJjba3iCumivRP0dr64n_9Y4tbMY3WGxCuyufA@mail.gmail.com>
X-Original-References <1493126394-1239-1-git-send-email-deathsimple@vodafone.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1630555

Show key headers only | View raw


On Tue, Apr 25, 2017 at 4:19 PM, Christian König
<deathsimple@vodafone.de> wrote:
> Hi everyone,
>
> This is the fourth incarnation of this set of patches.

It would be nice if you put (next time) version of the series in each
patch. Usually it's done quite easy by passing -vX (where X is version
number) to git format-patch.

> It enables device
> drivers to resize and most likely also relocate the PCI BAR of devices
> they manage to allow the CPU to access all of the device local memory at once.
>
> This is very useful for GFX device drivers where the default PCI BAR is only
> about 256MB in size for compatibility reasons, but the device easily have
> multiple gigabyte of local memory.
>
> Some changes since V3:
> 1. A lot of minor style cleanups.
> 2. Make internal  functions for changing BARs directly private to the PCI subsystem.
> 3. Fail if any BAR is still in use when we try to change it.
> 4. Handle intermediate bridges as well.
> 5. Print some more messages when changing something.
>
> Please review and/or comment,

Would look later (perhaps this week),

-- 
With Best Regards,
Andy Shevchenko

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Resizeable PCI BAR support V4 Christian König <deathsimple@vodafone.de> - 2017-04-25 15:30 +0200
  [PATCH 1/4] PCI: add resizeable BAR infrastructure v4 Christian König <deathsimple@vodafone.de> - 2017-04-25 15:30 +0200
    Re: [PATCH 1/4] PCI: add resizeable BAR infrastructure v4 Alex Deucher <alexdeucher@gmail.com> - 2017-04-25 17:10 +0200
    Re: [PATCH 1/4] PCI: add resizeable BAR infrastructure v4 Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-26 18:50 +0200
      Re: [PATCH 1/4] PCI: add resizeable BAR infrastructure v4 Christian König <deathsimple@vodafone.de> - 2017-05-02 17:00 +0200
  [PATCH 2/4] PCI: add functionality for resizing resources v3 Christian König <deathsimple@vodafone.de> - 2017-04-25 15:30 +0200
    Re: [PATCH 2/4] PCI: add functionality for resizing resources v3 Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-26 19:10 +0200
      Re: [PATCH 2/4] PCI: add functionality for resizing resources v3 Christian König <deathsimple@vodafone.de> - 2017-05-02 18:00 +0200
        Re: [PATCH 2/4] PCI: add functionality for resizing resources v3 Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-02 22:30 +0200
      Re: [PATCH 2/4] PCI: add functionality for resizing resources v3 Christian König <deathsimple@vodafone.de> - 2017-05-04 11:30 +0200
        Re: [PATCH 2/4] PCI: add functionality for resizing resources v3 Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-04 12:20 +0200
          Re: [PATCH 2/4] PCI: add functionality for resizing resources v3 Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-04 18:50 +0200
  [PATCH 3/4] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models 30h-3fh) Processors v2 Christian König <deathsimple@vodafone.de> - 2017-04-25 15:30 +0200
    Re: [PATCH 3/4] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models  30h-3fh) Processors v2 Alex Deucher <alexdeucher@gmail.com> - 2017-04-25 17:10 +0200
    Re: [PATCH 3/4] x86/PCI: Enable a 64bit BAR on AMD Family 15h (Models  30h-3fh) Processors v2 Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-26 19:20 +0200
  Re: Resizeable PCI BAR support V4 Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-25 16:30 +0200

csiph-web