From: Michael Ellerman <patch-notifications@ellerman•id.au>
To: Suraj Jitindar Singh <sjitindarsingh@gmail•com>,
linuxppc-dev@lists•ozlabs.org
Cc: paulus@samba•org, aneesh.kumar@linux•vnet.ibm.com,
Suraj Jitindar Singh <sjitindarsingh@gmail•com>
Subject: Re: powerpc/mm: Invalidate partition table cache on host proc tbl base update
Date: Fri, 11 Aug 2017 22:19:56 +1000 (AEST) [thread overview]
Message-ID: <3xTPG46FVJz9t3m@ozlabs.org> (raw)
In-Reply-To: <20170803041551.7934-1-sjitindarsingh@gmail.com>
On Thu, 2017-08-03 at 04:15:51 UTC, Suraj Jitindar Singh wrote:
> The host process table base is stored in the partition table by calling
> the function native_register_process_table(). Currently this just sets
> the entry in memory and is missing a proceeding cache invalidation
> instruction. Any update to the partition table should be followed by a
> cache invalidation instruction specifying invalidation of the caching of
> any partition table entries (RIC = 2, PRS = 0).
>
> We already have a function to update the partition table with the
> required cache invalidation instructions - mmu_partition_table_set_entry().
> Update the native_register_process_table() function to call
> mmu_partition_table_set_entry(), this ensures all appropriate
> invalidation will be performed.
>
> Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail•com>
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux•vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/7cd2a8695ef9c31e8f51773f0de9e6
cheers
prev parent reply other threads:[~2017-08-11 12:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-03 4:15 [PATCH] powerpc/mm: Invalidate partition table cache on host proc tbl base update Suraj Jitindar Singh
2017-08-03 6:30 ` Michael Ellerman
2017-08-03 7:35 ` Benjamin Herrenschmidt
2017-08-04 1:02 ` Suraj Jitindar Singh
2017-08-04 1:31 ` Benjamin Herrenschmidt
2017-08-04 1:53 ` Suraj Jitindar Singh
2017-08-04 3:33 ` Michael Ellerman
2017-08-04 3:49 ` Aneesh Kumar K.V
2017-08-09 10:30 ` Michael Ellerman
2017-08-14 7:24 ` Suraj Jitindar Singh
2017-08-11 12:19 ` Michael Ellerman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3xTPG46FVJz9t3m@ozlabs.org \
--to=patch-notifications@ellerman$(echo .)id.au \
--cc=aneesh.kumar@linux$(echo .)vnet.ibm.com \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=paulus@samba$(echo .)org \
--cc=sjitindarsingh@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox