On Tue, Apr 2, 2024 at 1:13 AM Rohan McLure <rmclure@xxxxxxxxxxxxx> wrote: > > This reverts commit a3b837130b58 ("mm/page_table_check: remove unused > parameter in [__]page_table_check_pmd_set"). > > Reinstate previously unused parameters for the purpose of supporting > powerpc platforms, as many do not encode user/kernel ownership of the > page in the pte, but instead in the address of the access. > > riscv: Respect change to delete mm, addr parameters from __set_pte_at() > > This commit also changed calls to __set_pte_at() to use fewer parameters > on riscv. Keep that change rather than reverting it, as the signature of > __set_pte_at() is changed in a different commit. > > Signed-off-by: Rohan McLure <rmclure@xxxxxxxxxxxxx> Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>