[PATCH] Use flush tlb last level when change protection

2019-02-22 Thread Xuefeng Wang
The protection attributes are only kept in last level tlb, so protection changing only need invalidate last level tlb, exclude the PWC entries. Signed-off-by: Xuefeng Wang --- mm/mprotect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mprotect.c b/mm/mprotect.c index

[PATCH] drivers/rtc/rtc-lib.c: check whether tm->tm_year in int32 range

2019-02-14 Thread Xuefeng Wang
== Signed-off-by: Xuefeng Wang --- drivers/rtc/rtc-lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-lib.c b/drivers/rtc/rtc-lib.c index 4a3c0f3..a9db79f 100644 --- a/drivers/rtc/rtc-lib.c +++ b