Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379428

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

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] pm80xx: Remove bogus address masking in pm8001_ioremap()
Date 2016-04-15 04:40 +0200
Message-ID <ro1PQ-3XY-7@gated-at.bofh.it> (permalink)
References <rnAwh-7Iw-1@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "David" == David Daney <ddaney.cavm@gmail.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] pm80xx: Remove bogus address masking in pm8001_ioremap() David Daney <ddaney.cavm@gmail.com> - 2016-04-13 23:30 +0200
  Re: [PATCH] pm80xx: Remove bogus address masking in pm8001_ioremap() Jinpu Wang <jinpu.wang@profitbricks.com> - 2016-04-14 14:30 +0200
  Re: [PATCH] pm80xx: Remove bogus address masking in pm8001_ioremap() "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-04-15 04:40 +0200

csiph-web