linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <michael@ellerman.id.au>
To: Badari Pulavarty <pbadari@us.ibm.com>
Cc: linuxppc-dev@ozlabs.org, Nathan Lynch <ntl@pobox.com>
Subject: Re: [PATCH 3/3] ppc64-specific memory notifier support
Date: Mon, 03 Mar 2008 11:49:39 +1100	[thread overview]
Message-ID: <1204505379.7570.0.camel@concordia.ozlabs.ibm.com> (raw)
In-Reply-To: <1204307236.10146.1.camel@dyn9047017100.beaverton.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

On Fri, 2008-02-29 at 09:47 -0800, Badari Pulavarty wrote:
> Index: linux-2.6.25-rc2/arch/powerpc/platforms/pseries/hotplug-memory.c
> ===================================================================
> --- /dev/null	1970-01-01 00:00:00.000000000 +0000
> +++ linux-2.6.25-rc2/arch/powerpc/platforms/pseries/hotplug-memory.c	2008-02-29 09:25:14.000000000 -0800
> @@ -0,0 +1,98 @@

> +
> +static struct notifier_block pseries_mem_nb = {
> +	.notifier_call = pseries_memory_notifier,
> +};
> +
> +static int __init pseries_memory_hotplug_init(void)
> +{
> +	if (firmware_has_feature(FW_FEATURE_LPAR))
> +		pSeries_reconfig_notifier_register(&pseries_mem_nb);
> +
> +	return 0;
> +}
> +machine_device_initcall(pseries, pseries_memory_hotplug_init);

Yep that looks good.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2008-03-03  0:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-28 16:43 [PATCH 0/3] hotplug memory remove updates Badari Pulavarty
2008-02-28 16:44 ` [PATCH 1/3] ppc64-specific remove htab bolted mapping support Badari Pulavarty
2008-02-28 16:45 ` [PATCH 2/3] generic __remove_pages() support Badari Pulavarty
2008-02-28 16:46 ` [PATCH 3/3] ppc64-specific memory notifier support Badari Pulavarty
2008-02-28 17:20   ` Nathan Lynch
2008-02-28 18:57     ` Badari Pulavarty
2008-02-29  0:11   ` Michael Ellerman
2008-02-29  0:39     ` Nathan Lynch
2008-02-29  1:03       ` Michael Ellerman
2008-02-29 17:47         ` Badari Pulavarty
2008-03-01  2:51           ` Stephen Rothwell
2008-03-01  3:01             ` Badari Pulavarty
2008-03-03  0:49           ` Michael Ellerman [this message]
2008-02-29 17:56         ` [RFC] updating lmb.memory information for hot mem add/remove Badari Pulavarty
2008-03-01  1:12           ` Badari Pulavarty
2008-03-01  1:44             ` David Miller
2008-03-01  3:06               ` Badari Pulavarty
2008-02-29  1:39 ` [PATCH 0/3] hotplug memory remove updates Nathan Lynch
2008-02-29  2:19   ` Geoff Levand
2008-02-29 19:15     ` Nathan Lynch
2008-02-29  4:51   ` Badari Pulavarty

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=1204505379.7570.0.camel@concordia.ozlabs.ibm.com \
    --to=michael@ellerman.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=ntl@pobox.com \
    --cc=pbadari@us.ibm.com \
    /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 NNTP newsgroup(s).