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


Groups > linux.kernel > #1690841

Re: [PATCH] efifb: allow user to disable write combined mapping.

From Dave Airlie <airlied@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] efifb: allow user to disable write combined mapping.
Date 2017-07-19 02:10 +0200
Message-ID <u4KIV-PC-15@gated-at.bofh.it> (permalink)
References (3 earlier) <u4HBo-79O-21@gated-at.bofh.it> <u4Ie5-7Cc-7@gated-at.bofh.it> <u4Jaa-8f4-23@gated-at.bofh.it> <u4JWy-k5-7@gated-at.bofh.it> <u4JWy-k5-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 19 July 2017 at 09:16, Dave Airlie <airlied@gmail.com> wrote:
> On 19 July 2017 at 09:16, Dave Airlie <airlied@gmail.com> wrote:
>> On 19 July 2017 at 08:22, Linus Torvalds <torvalds@linux-foundation.org> wrote:
>>> On Tue, Jul 18, 2017 at 2:21 PM, Dave Airlie <airlied@gmail.com> wrote:
>>>>
>>>> Oh and just FYI, the machine I've tested this on has an mgag200 server
>>>> graphics card backing the framebuffer, but with just efifb loaded.
>>>
>>> Yeah, it looks like it needs special hardware - and particularly the
>>> kind of garbage hardware that people only have on servers.
>>>
>>> Why do server people continually do absolute sh*t hardware? It's crap,
>>> crap, crap across the board outside the CPU. Nasty and bad hacky stuff
>>> that nobody else would touch with a ten-foot pole, and the "serious
>>> enterprise" people lap it up like it was ambrosia.
>>>
>>> It's not just "graphics is bad anyway since we don't care". It's all
>>> the things they ostensibly _do_ care about too, like the disk and the
>>> fabric infrastructure. Buggy nasty crud.
>>
>> I've tried to reproduce now on:
>> Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
>> using some address space from
>> 02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
>>
>> And I don't see the issue.
>>
>> I'll try and track down some more efi compatible mga or other wierd server chips
>> stuff if I can.
>>
>>> Anyway, rant over. I wonder if we could show this without special
>>> hardware by just mapping some region that doesn't even have hardware
>>> in it as WC. Do we even expose the PAT settings to user space, though,
>>> or do we always have to have some fake module to create the PAT stuff?
>>
>> I do wonder wtf the hw could be doing that would cause this, but I've no idea
>> how to tell what difference a write combined PCI transaction would have on the
>> bus side of things, and what the device could generate that would cause such
>> a horrible slowdown.
>>
>> Dave.
>

More digging:
Single CPU system:
Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
01:00.1 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200EH

Now I can't get efifb to load on this (due to it being remote and I've
no idea how to make
my install efi onto it), but booting with no framebuffer, and running
the tests on the mga,
show no slowdown on this.

Now I'm starting to wonder if it's something that only happens on
multi-socket systems.

Dave.

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


Thread

Re: [PATCH] efifb: allow user to disable write combined mapping. Peter Jones <pjones@redhat.com> - 2017-07-18 16:40 +0200
  Re: [PATCH] efifb: allow user to disable write combined mapping. Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-18 22:00 +0200
    Re: [PATCH] efifb: allow user to disable write combined mapping. Dave Airlie <airlied@gmail.com> - 2017-07-18 22:50 +0200
      Re: [PATCH] efifb: allow user to disable write combined mapping. Dave Airlie <airlied@gmail.com> - 2017-07-18 23:30 +0200
        Re: [PATCH] efifb: allow user to disable write combined mapping. Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-19 00:30 +0200
          Re: [PATCH] efifb: allow user to disable write combined mapping. Dave Airlie <airlied@gmail.com> - 2017-07-19 01:20 +0200
            Re: [PATCH] efifb: allow user to disable write combined mapping. Dave Airlie <airlied@gmail.com> - 2017-07-19 01:20 +0200
              Re: [PATCH] efifb: allow user to disable write combined mapping. Dave Airlie <airlied@gmail.com> - 2017-07-19 02:10 +0200
                Re: [PATCH] efifb: allow user to disable write combined mapping. Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-19 03:20 +0200
                Re: [PATCH] efifb: allow user to disable write combined mapping. Dave Airlie <airlied@gmail.com> - 2017-07-20 06:10 +0200
                Re: [PATCH] efifb: allow user to disable write combined mapping. Andy Lutomirski <luto@kernel.org> - 2017-07-20 06:30 +0200
                Re: [PATCH] efifb: allow user to disable write combined mapping. Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-20 06:50 +0200
                Re: [PATCH] efifb: allow user to disable write combined mapping. Dave Airlie <airlied@gmail.com> - 2017-07-21 06:30 +0200
          Re: [PATCH] efifb: allow user to disable write combined mapping. Ingo Molnar <mingo@kernel.org> - 2017-07-20 12:30 +0200
  Re: [PATCH] efifb: allow user to disable write combined mapping. Dave Airlie <airlied@gmail.com> - 2017-07-25 06:10 +0200
    Re: [PATCH] efifb: allow user to disable write combined mapping. Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-07-25 11:00 +0200

csiph-web