Re: [PATCH v2 5/6] iommu/ipmmu-vmsa: Extract hardware context initialization

2019-04-11 Thread Simon Horman
On Wed, Apr 03, 2019 at 08:21:47PM +0200, Geert Uytterhoeven wrote: > ipmmu_domain_init_context() takes care of (1) initializing the software > domain, and (2) initializing the hardware context for the domain. > > Extract the code to initialize the hardware context into a new subroutine > ipmmu_do

[PATCH v2 5/6] iommu/ipmmu-vmsa: Extract hardware context initialization

2019-04-03 Thread Geert Uytterhoeven
ipmmu_domain_init_context() takes care of (1) initializing the software domain, and (2) initializing the hardware context for the domain. Extract the code to initialize the hardware context into a new subroutine ipmmu_domain_setup_context(), to prepare for later reuse. Signed-off-by: Geert Uytter