Re: [PATCH] pm80xx: Remove bogus address masking in pm8001_ioremap()

From: Martin K. Petersen
Date: Thu Apr 14 2016 - 22:38:45 EST


>>>>> "David" == David Daney <ddaney.cavm@xxxxxxxxx> writes:

David> It is unclear what the original intent of the masking was, but it
David> is clearly incorrect to truncate a physical address before
David> calling ioremap(). On systems where there are valid physical
David> address bits above bit-31 (arm64 for example) the result is an
David> eventual OOPs when initializing the driver.

David> Remove the bogus code to fix it.

Applied to 4.7/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering