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: <CAP+cEOPs7v3ULnWHgP=_drEpu3GMiQgaNA5tatnZ8rU2qyt5Qg@mail.gmail.com>
Date: Tue, 10 Dec 2024 09:19:21 +0100
From: Vaibhav Gupta <vaibhavgupta40@...il.com>
To: Vaibhav Gupta <vaibhavgupta40@...il.com>, Bjorn Helgaas <helgaas@...nel.org>, 
	linux1394-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] firewire: ohci: use generic power management

On Sat, Dec 7, 2024 at 2:13 AM Takashi Sakamoto <o-takashi@...amocchi.jp> wrote:
>
> Hi,
>
> On Mon, Jul 20, 2020 at 08:37:16PM +0530, Vaibhav Gupta wrote:
> > Drivers using legacy PM have to manage PCI states and device's PM states
> > themselves. They also need to take care of configuration registers.
> >
> > With improved and powerful support of generic PM, PCI Core takes care of
> > above mentioned, device-independent, jobs.
> >
> > This driver makes use of PCI helper functions like
> > pci_save/restore_state(), pci_disable_device() and pci_set_power_state() to
> > do required operations. In generic mode, they are no longer needed.
> >
> > Change function parameter in both .suspend() and .resume() to
> > "struct device*" type. Use to_pci_dev() to get "struct pci_dev*" variable.
> >
> > Compile-tested only.
> >
> > Signed-off-by: Vaibhav Gupta <vaibhavgupta40@...il.com>
> > ---
> >  drivers/firewire/ohci.c | 43 ++++++++++++-----------------------------
> >  1 file changed, 12 insertions(+), 31 deletions(-)
>
> Although it takes a long time since the patch was posted, I applied it
> now to for-next branch with my handy changes to optimize to v6.13-rc1.
>
> I still have a slight concern about the operation specific to powermac
> platforms, however let us fix when receiving any reports from the users.
>
>
> Regards
>
> Takashi Sakamoto

Hey Takashi,

Thank you so much! One more step closer to getting rid of legacy stuff.

Yes, I will also keep a look on the mailing list for if someone
reports an issue.

Best
Vaibhav Gupta

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ