Hi Kim,<div><br></div><div><div>Thank you for your kindness. Let me clarify this:</div><div><br></div><div>On ARM architecture, there are 32 bits physical addresses space. However, the addresses space is divided into 8 banks normally. Each bank disabled/enabled by a chip selector signal. In my platform, bank0 connects a DDR chip, and bank1 also connects another DDR chip. And each DDR chip whose capability is 512MB is integrated into the main board. So, it could not be removed by hand. We can disable/enable each bank by peripheral device controller registers.</div>
<div><br></div><div>When system enter suspend state, if all the pages allocated could be migrated to one bank, there are no valid data in the another bank. In this time, I could disable the free bank. It isn't necessary to provided power to this chip in the suspend state. When system resume, I just need to enable it again.</div>
</div><div><br></div><div>Hi Wen,</div><div><br></div><div>I am sorry for that I doesn't know the "<span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px">_PSx support</span>" means. Maybe I needn't it.</div>
<div><br></div><div>Thanks,</div><div>Jerry <br><br><div class="gmail_quote">2012/9/11 Minchan Kim <span dir="ltr"><<a href="mailto:minchan@kernel.org" target="_blank">minchan@kernel.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jerry,<br>
<div class="im"><br>
On Tue, Sep 11, 2012 at 08:27:40AM +0800, Jerry wrote:<br>
> Hi Wen,<br>
><br>
> I have been arranged a job related memory hotplug on ARM architecture.<br>
> Maybe I know some new issues about memory hotplug on ARM architecture. I<br>
> just enabled it on ARM, and it works well in my Android tablet now.<br>
> However, I have not send out my patches. The real reason is that I don't<br>
> know how to do it. Maybe I need to read "Documentation/SubmittingPatches".<br>
><br>
> Hi Andrew,<br>
> This is my first time to send you a e-mail. I am so nervous about if I have<br>
> some mistakes or not.<br>
<br>
</div>Don't be afraid.<br>
If you might make a mistake, it's very natural to newbie.<br>
I am sure anyone doesn't blame you. :)<br>
If you have a good patch, please send out.<br>
<div class="im"><br>
><br>
> Some peoples maybe think memory hotplug need to be supported by special<br>
> hardware. Maybe it means memory physical hotplug. Some times, we just need<br>
> to use memory logical hotplug, doesn't remove the memory in physical. It is<br>
> also usefully for power saving in my platform. Because I doesn't want<br>
</div>> the offline memory is in *self-refresh* state.<br>
<br>
Just out of curiosity.<br>
What's the your scenario and gain?<br>
AFAIK, there were some effort about it in embedded side but gain isn't rather big<br>
IIRC.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Any comments are appreciated.<br>
><br>
> Thanks,<br>
> Jerry<br>
><br>
> 2012/9/10 Vasilis Liaskovitis <<a href="mailto:vasilis.liaskovitis@profitbricks.com">vasilis.liaskovitis@profitbricks.com</a>><br>
><br>
> > Hi,<br>
> ><br>
> > On Mon, Sep 10, 2012 at 10:01:44AM +0800, Wen Congyang wrote:<br>
> > > At 09/10/2012 09:46 AM, Yasuaki Ishimatsu Wrote:<br>
> > > > Hi Wen,<br>
> > > ><br>
> > > > 2012/09/01 5:49, Andrew Morton wrote:<br>
> > > >> On Tue, 28 Aug 2012 18:00:07 +0800<br>
> > > >> <a href="mailto:wency@cn.fujitsu.com">wency@cn.fujitsu.com</a> wrote:<br>
> > > >><br>
> > > >>> This patch series aims to support physical memory hot-remove.<br>
> > > >><br>
> > > >> I doubt if many people have hardware which permits physical memory<br>
> > > >> removal? How would you suggest that people with regular hardware can<br>
> > > >> test these chagnes?<br>
> > > ><br>
> > > > How do you test the patch? As Andrew says, for hot-removing memory,<br>
> > > > we need a particular hardware. I think so too. So many people may want<br>
> > > > to know how to test the patch.<br>
> > > > If we apply following patch to kvm guest, can we hot-remove memory on<br>
> > > > kvm guest?<br>
> > > ><br>
> > > > <a href="http://lists.gnu.org/archive/html/qemu-devel/2012-07/msg01389.html" target="_blank">http://lists.gnu.org/archive/html/qemu-devel/2012-07/msg01389.html</a><br>
> > ><br>
> > > Yes, if we apply this patchset, we can test hot-remove memory on kvm<br>
> > guest.<br>
> > > But that patchset doesn't implement _PS3, so there is some restriction.<br>
> ><br>
> > the following repos contain the patchset above, plus 2 more patches that<br>
> > add<br>
> > PS3 support to the dimm devices in qemu/seabios:<br>
> ><br>
> > <a href="https://github.com/vliaskov/seabios/commits/memhp-v2" target="_blank">https://github.com/vliaskov/seabios/commits/memhp-v2</a><br>
> > <a href="https://github.com/vliaskov/qemu-kvm/commits/memhp-v2" target="_blank">https://github.com/vliaskov/qemu-kvm/commits/memhp-v2</a><br>
> ><br>
> > I have not posted the PS3 patches yet in the qemu list, but will post them<br>
> > soon for v3 of the memory hotplug series. If you have issues testing, let<br>
> > me<br>
> > know.<br>
> ><br>
> > thanks,<br>
> ><br>
> > - Vasilis<br>
> ><br>
> > --<br>
> > To unsubscribe, send a message with 'unsubscribe linux-mm' in<br>
> > the body to <a href="mailto:majordomo@kvack.org">majordomo@kvack.org</a>. For more info on Linux MM,<br>
> > see: <a href="http://www.linux-mm.org/" target="_blank">http://www.linux-mm.org/</a> .<br>
> > Don't email: <a href=mailto:"<a href="mailto:dont@kvack.org">dont@kvack.org</a>"> <a href="mailto:email@kvack.org">email@kvack.org</a> </a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> I love linux!!!<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Kind regards,<br>
Minchan Kim<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>I love linux!!!<br>
</div>