Re: [PATCH v2 03/22] ARM: use late patch framework for phys-virt patching

2012-08-12 Thread Nicolas Pitre
On Sun, 12 Aug 2012, Cyril Chemparathy wrote: > On 08/11/12 23:03, Nicolas Pitre wrote: > > On Fri, 10 Aug 2012, Cyril Chemparathy wrote: > > > > > -extern unsigned long __pv_phys_offset; > > > -#define PHYS_OFFSET __pv_phys_offset > [...] > > > +#define PHYS_OFFSET

Re: [PATCH v2 03/22] ARM: use late patch framework for phys-virt patching

2012-08-12 Thread Cyril Chemparathy
On 08/11/12 23:03, Nicolas Pitre wrote: On Fri, 10 Aug 2012, Cyril Chemparathy wrote: This patch replaces the original physical offset patching implementation with one that uses the newly added patching framework. In the process, we now unconditionally initialize the __pv_phys_offset and

Re: [PATCH v2 03/22] ARM: use late patch framework for phys-virt patching

2012-08-12 Thread Cyril Chemparathy
On 08/11/12 23:03, Nicolas Pitre wrote: On Fri, 10 Aug 2012, Cyril Chemparathy wrote: This patch replaces the original physical offset patching implementation with one that uses the newly added patching framework. In the process, we now unconditionally initialize the __pv_phys_offset and

Re: [PATCH v2 03/22] ARM: use late patch framework for phys-virt patching

2012-08-12 Thread Nicolas Pitre
On Sun, 12 Aug 2012, Cyril Chemparathy wrote: On 08/11/12 23:03, Nicolas Pitre wrote: On Fri, 10 Aug 2012, Cyril Chemparathy wrote: -extern unsigned long __pv_phys_offset; -#define PHYS_OFFSET __pv_phys_offset [...] +#define PHYS_OFFSET __virt_to_phys(PAGE_OFFSET) What

Re: [PATCH v2 03/22] ARM: use late patch framework for phys-virt patching

2012-08-11 Thread Nicolas Pitre
On Fri, 10 Aug 2012, Cyril Chemparathy wrote: > This patch replaces the original physical offset patching implementation > with one that uses the newly added patching framework. In the process, we now > unconditionally initialize the __pv_phys_offset and __pv_offset globals in the > head.S code.

Re: [PATCH v2 03/22] ARM: use late patch framework for phys-virt patching

2012-08-11 Thread Nicolas Pitre
On Fri, 10 Aug 2012, Cyril Chemparathy wrote: This patch replaces the original physical offset patching implementation with one that uses the newly added patching framework. In the process, we now unconditionally initialize the __pv_phys_offset and __pv_offset globals in the head.S code.

[PATCH v2 03/22] ARM: use late patch framework for phys-virt patching

2012-08-10 Thread Cyril Chemparathy
This patch replaces the original physical offset patching implementation with one that uses the newly added patching framework. In the process, we now unconditionally initialize the __pv_phys_offset and __pv_offset globals in the head.S code. Signed-off-by: Cyril Chemparathy ---

[PATCH v2 03/22] ARM: use late patch framework for phys-virt patching

2012-08-10 Thread Cyril Chemparathy
This patch replaces the original physical offset patching implementation with one that uses the newly added patching framework. In the process, we now unconditionally initialize the __pv_phys_offset and __pv_offset globals in the head.S code. Signed-off-by: Cyril Chemparathy cy...@ti.com ---