Re: [PATCH v3 2/7] ACPICA: Linux: Add stub implementation of ACPICA 64-bit mathematics.

2014-07-22 Thread Rafael J. Wysocki
On Monday, July 21, 2014 01:26:10 AM Zheng, Lv wrote: > Hi, Rafael > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > Sent: Sunday, July 20, 2014 7:46 AM > > To: Zheng, Lv > > > > On Wednesday, July 16, 2014 04:58:00 PM Lv Zheng wrote: > > > This patch adds default 64-bit mathematics i

RE: [PATCH v3 2/7] ACPICA: Linux: Add stub implementation of ACPICA 64-bit mathematics.

2014-07-20 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Sunday, July 20, 2014 7:46 AM > To: Zheng, Lv > > On Wednesday, July 16, 2014 04:58:00 PM Lv Zheng wrote: > > This patch adds default 64-bit mathematics in aclinux.h using do_div(). As > > do_div() can be used for all Linux

Re: [PATCH v3 2/7] ACPICA: Linux: Add stub implementation of ACPICA 64-bit mathematics.

2014-07-19 Thread Rafael J. Wysocki
On Wednesday, July 16, 2014 04:58:00 PM Lv Zheng wrote: > This patch adds default 64-bit mathematics in aclinux.h using do_div(). As > do_div() can be used for all Linux architectures, this can also be used as > stub macros for ACPICA 64-bit mathematics. > > But this is not a performance friendly

[PATCH v3 2/7] ACPICA: Linux: Add stub implementation of ACPICA 64-bit mathematics.

2014-07-16 Thread Lv Zheng
This patch adds default 64-bit mathematics in aclinux.h using do_div(). As do_div() can be used for all Linux architectures, this can also be used as stub macros for ACPICA 64-bit mathematics. But this is not a performance friendly way, as ACPICA's architecture specific division OSL only requires