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


Groups > linux.kernel > #1276957

Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges

From Dan Williams <dan.j.williams@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges
Date 2015-11-25 02:30 +0100
Message-ID <qyx4e-7Bk-3@gated-at.bofh.it> (permalink)
References <qy9lg-zO-15@gated-at.bofh.it> <qy9lg-zO-17@gated-at.bofh.it> <qyug2-5Jl-35@gated-at.bofh.it> <qywhQ-728-1@gated-at.bofh.it> <qywrw-75M-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 24, 2015 at 4:47 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Tue, 24 Nov 2015 16:34:19 -0800 Dan Williams <dan.j.williams@intel.com> wrote:
>
>> > IOW, a very good description of the problem-being-solved would help out
>> > a lot here...
>>
>> I'll fold the eventual result of this discussion into the changelog if
>> I can convince you it's worth moving forward.
>
> I'm easily convinced ;) Please let's get all the info into the right
> place, make sure it answers the thus-far-asked questions (at least) and
> we'll take it from there.
>
> And please do have a think about switching as much as possible over to
> runtime-configurability.  Because "please echo foo > /proc" is a heck
> of a lot nicer than "please reboot with iomem=" which is a heck of a lot
> nicer than "please ask vendor for a new kernel".

Actually, we already have runtime configuration.  For example, if you
want to muck with pmem via /dev/mem, just do this first:

    echo namespace0.0 > /sys/bus/nd/drivers/nd_pmem/unbind
--
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 | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/2] restrict /dev/mem to idle io memory ranges Dan Williams <dan.j.williams@intel.com> - 2015-11-24 01:10 +0100
  Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges Andrew Morton <akpm@linux-foundation.org> - 2015-11-24 23:30 +0100
    Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges Dan Williams <dan.j.williams@intel.com> - 2015-11-25 01:40 +0100
      Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges Andrew Morton <akpm@linux-foundation.org> - 2015-11-25 01:50 +0100
        Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges Kees Cook <keescook@chromium.org> - 2015-11-25 02:00 +0100
        Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges Dan Williams <dan.j.williams@intel.com> - 2015-11-25 02:30 +0100
          Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges Dan Williams <dan.j.williams@intel.com> - 2015-11-25 20:00 +0100
      Re: [PATCH v2 2/2] restrict /dev/mem to idle io memory ranges Ingo Molnar <mingo@kernel.org> - 2015-11-26 12:10 +0100

csiph-web