Re: [PATCH] usb: host: xhci-plat: use ioremap_nocache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Sep 04, 2012 at 02:51:31PM -0700, Sarah Sharp wrote:
> Hi Felipe,
> 
> Should this be queued for stable as well?

it probably makes sense to Cc stable, indeed. Thanks a lot.

> Sarah Sharp
> 
> On Fri, Aug 10, 2012 at 09:58:30AM +0300, Felipe Balbi wrote:
> > From: Ruchika Kharwar <ruchika@xxxxxx>
> > 
> > Use the ioremap_nocache variant of the ioremap API in
> > order to make sure our memory will be marked uncachable.
> > 
> > Signed-off-by: Ruchika Kharwar <ruchika@xxxxxx>
> > Signed-off-by: Felipe Balbi <balbi@xxxxxx>
> > ---
> >  drivers/usb/host/xhci-plat.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> > index 689bc18..df90fe5 100644
> > --- a/drivers/usb/host/xhci-plat.c
> > +++ b/drivers/usb/host/xhci-plat.c
> > @@ -118,7 +118,7 @@ static int xhci_plat_probe(struct platform_device *pdev)
> >  		goto put_hcd;
> >  	}
> >  
> > -	hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
> > +	hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len);
> >  	if (!hcd->regs) {
> >  		dev_dbg(&pdev->dev, "error mapping memory\n");
> >  		ret = -EFAULT;
> > -- 
> > 1.7.4.1
> > 

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux