Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1306451
| From | Zhaoyang Huang (黄朝阳) <Zhaoyang.Huang@spreadtrum.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [RFC PATCH] Add IPI entry for CPU UP |
| Date | 2016-01-11 17:10 +0100 |
| Message-ID | <qPIwj-1vs-37@gated-at.bofh.it> (permalink) |
| References | <qPEVI-7u6-11@gated-at.bofh.it> <qPNcC-4IN-25@gated-at.bofh.it> <qPHAd-QU-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
________________________________________ From: Catalin Marinas <catalin.marinas@arm.com> Sent: Monday, January 11, 2016 6:06 PM To: Lorenzo Pieralisi Cc: Zhaoyang Huang; Zhaoyang Huang (黄朝阳); will.deacon@arm.com; linux-kernel@vger.kernel.org; hanjun.guo@linaro.org; suzuki.poulose@arm.com; Mark Rutland Subject: Re: [RFC PATCH] Add IPI entry for CPU UP On Mon, Jan 11, 2016 at 09:59:25AM +0000, Lorenzo Pieralisi wrote: > On Mon, Jan 11, 2016 at 03:10:40PM +0800, Zhaoyang Huang wrote: > > In some ARM SOCs, IPI interrupt is used for hotplug in one cpu, that is, > > sending a IPI to the core in WFI and powerdown status. So Add a IPI > > entry for handle this kind of cpu up interrupt > > On arm64 SOCs, with a mainline kernel, you can only hotplug CPUs out > and back in by using the PSCI firmware interface, which does not > require an IPI to boot a CPU, therefore this patch is useless. I fully agree. BTW, such patches should cc linux-arm-kernel@lists.infradead.org as well since they are ARM related. Hi both, In fact, this patch is related to the counterpart of the PSCI code in kernel world which you mentioned before. In SPRD's SOC, we have to implement a way of "wakeup" the core in powerdown state, which is to launch a IPI to the dest core. The reason why we can not accessing power related register to light on the core is the state machine of the PMU will not be safe for this scenario. -- Catalin
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC PATCH] Add IPI entry for CPU UP Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-01-11 08:20 +0100
Re: [RFC PATCH] Add IPI entry for CPU UP Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-01-11 11:00 +0100
Re: [RFC PATCH] Add IPI entry for CPU UP Catalin Marinas <catalin.marinas@arm.com> - 2016-01-11 11:10 +0100
Re: [RFC PATCH] Add IPI entry for CPU UP Mark Rutland <mark.rutland@arm.com> - 2016-01-11 12:10 +0100
Re: [RFC PATCH] Add IPI entry for CPU UP Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-01-11 12:30 +0100
Re: [RFC PATCH] Add IPI entry for CPU UP Mark Rutland <mark.rutland@arm.com> - 2016-01-11 12:40 +0100
RE: [RFC PATCH] Add IPI entry for CPU UP Zhaoyang Huang (黄朝阳) <Zhaoyang.Huang@spreadtrum.com> - 2016-01-11 17:10 +0100
csiph-web