[PATCH 4.15 031/128] KVM: PPC: Book3S HV: Avoid shifts by negative amounts

2018-03-16 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras [ Upstream commit cda2eaa35948893d70145490d5d6ded546fc3bc6 ] The kvmppc_hpte_page_shifts function decodes the actual and base page sizes for a HPTE,

[PATCH 4.15 031/128] KVM: PPC: Book3S HV: Avoid shifts by negative amounts

2018-03-16 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras [ Upstream commit cda2eaa35948893d70145490d5d6ded546fc3bc6 ] The kvmppc_hpte_page_shifts function decodes the actual and base page sizes for a HPTE, returning -1 if it doesn't