lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162735928263.14097.780228342442715900.b4-ty@oracle.com>
Date:   Tue, 27 Jul 2021 00:14:55 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     bvanassche@....org, Martin Kepplinger <martin.kepplinger@...i.sm>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
        stern@...land.harvard.edu, hch@...radead.org, jejb@...ux.ibm.com,
        linux-pm@...r.kernel.org, kernel@...i.sm
Subject: Re: [PATCH v6 0/3] fix runtime PM for SD card readers

On Sun, 4 Jul 2021 09:54:00 +0200, Martin Kepplinger wrote:

> (According to Alan Stern, "as far as I know, all") SD card readers send
> MEDIA_CHANGED unit attention notification on (runtime) resume. We cannot
> use runtime PM with these devices as I/O always fails in that case.
> 
> This fixes runtime PM for SD cardreaders. I'd appreciate any feedback.
> 
> To enable runtime PM for an SD cardreader number 0:0:0:0, do:
> 
> [...]

Applied to 5.15/scsi-queue, thanks!

[1/3] scsi: devinfo: add new flag BLIST_MEDIA_CHANGE
      https://git.kernel.org/mkp/scsi/c/f591a2e0548d
[2/3] scsi: sd: send REQUEST SENSE for BLIST_MEDIA_CHANGE devices in runtime_resume()
      https://git.kernel.org/mkp/scsi/c/ed4246d37f3b
[3/3] scsi: devinfo: add BLIST_MEDIA_CHANGE for Ultra HS-SD/MMC usb cardreaders
      https://git.kernel.org/mkp/scsi/c/9abe677951d1

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ