linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: reserve memory
Date: Tue, 17 Jul 2018 06:59:48 +0000	[thread overview]
Message-ID: <20180717065948.GB10961@kroah.com> (raw)
In-Reply-To: <CAJ2oMhJHYVG3mypArk44h4_k_KLgccx60HUW48+84hDU7z41gQ@mail.gmail.com>

On Tue, Jul 17, 2018 at 08:15:24AM +0300, Ran Shalit wrote:
> On Mon, Jul 16, 2018 at 8:48 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> > On Mon, Jul 16, 2018 at 03:41:05PM +0300, Ran Shalit wrote:
> >> Hello,
> >>
> >> When doing :
> >> echo 1 > /sys/bus/pci/rescan
> >
> > Eeek, don't do that unless you _REALLY_ have no other option.
> >
> Hi,
> 
> What are the alternatives  ?

Using real PCI hotplug hardware.  This is a hack that forces the kernel
to rescan the bus because it was not told it needed to do it.  Because
it was not told that, this implies your hardware is not really a pci
hotplug system.

> I haven't find any information of this issue of memory allocation and
> rescan, so any pointer will help,

Why do you feel you need to do the above?  Why isn't your hardware "just
working" when you add/remove a new PCI device?

thanks,

greg k-h

      parent reply	other threads:[~2018-07-17  6:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-16 12:41 reserve memory Ran Shalit
2018-07-16 17:48 ` Greg KH
2018-07-17  5:15 ` Ran Shalit
2018-07-17  6:59 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180717065948.GB10961@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).