Re: [PATCH v2 2/2] riscv: Enable context tracking

2020-07-10 Thread Greentime Hu
Palmer Dabbelt 於 2020年7月11日 週六 上午1:30寫道: > > On Wed, 24 Jun 2020 02:03:16 PDT (-0700), greentime...@sifive.com wrote: > > This patch implements and enables context tracking for riscv (which is a > > prerequisite for CONFIG_NO_HZ_FULL support) > > > > It adds checking for previous state in the entr

Re: [PATCH v2 2/2] riscv: Enable context tracking

2020-07-10 Thread Palmer Dabbelt
On Wed, 24 Jun 2020 02:03:16 PDT (-0700), greentime...@sifive.com wrote: This patch implements and enables context tracking for riscv (which is a prerequisite for CONFIG_NO_HZ_FULL support) It adds checking for previous state in the entry that all excepttions and interrupts goes to and calls con

[PATCH v2 2/2] riscv: Enable context tracking

2020-06-24 Thread Greentime Hu
This patch implements and enables context tracking for riscv (which is a prerequisite for CONFIG_NO_HZ_FULL support) It adds checking for previous state in the entry that all excepttions and interrupts goes to and calls context_tracking_user_exit() if it comes from user space. It also calls contex