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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AS8PR04MB86767724B3AE9F450BB50E508C2E9@AS8PR04MB8676.eurprd04.prod.outlook.com>
Date:   Wed, 9 Feb 2022 03:32:36 +0000
From:   Hongxing Zhu <hongxing.zhu@....com>
To:     Fabio Estevam <festevam@...il.com>
CC:     Lucas Stach <l.stach@...gutronix.de>,
        Bjorn Helgaas <bhelgaas@...gle.com>,
        Mark Brown <broonie@...nel.org>,
        Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
        Jingoo Han <jingoohan1@...il.com>,
        "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
        dl-linux-imx <linux-imx@....com>,
        "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" 
        <linux-arm-kernel@...ts.infradead.org>,
        linux-kernel <linux-kernel@...r.kernel.org>,
        Sascha Hauer <kernel@...gutronix.de>
Subject: RE: [PATCH v6 7/8] PCI: imx6: Disable enabled clocks and regulators
 after link is down

> -----Original Message-----
> From: Fabio Estevam <festevam@...il.com>
> Sent: 2022年2月9日 10:02
> To: Hongxing Zhu <hongxing.zhu@....com>
> Cc: Lucas Stach <l.stach@...gutronix.de>; Bjorn Helgaas
> <bhelgaas@...gle.com>; Mark Brown <broonie@...nel.org>; Lorenzo Pieralisi
> <lorenzo.pieralisi@....com>; Jingoo Han <jingoohan1@...il.com>;
> linux-pci@...r.kernel.org; dl-linux-imx <linux-imx@....com>; moderated
> list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
> <linux-arm-kernel@...ts.infradead.org>; linux-kernel
> <linux-kernel@...r.kernel.org>; Sascha Hauer <kernel@...gutronix.de>
> Subject: Re: [PATCH v6 7/8] PCI: imx6: Disable enabled clocks and regulators
> after link is down
> 
> Hi Richard,
> 
> On Tue, Feb 8, 2022 at 10:56 PM Hongxing Zhu <hongxing.zhu@....com>
> wrote:
> 
> > Do you mean that we should ignore the return of dw_pcie_host_init()
> > and finish the _probe without an error return?
> 
> Yes, we should not return an error on probe if the link is down.
> 
> Thanks
Hi Fabio:
Regarding my understand, the suspend/resume callbacks would be hooked if the
 probe is complete successfully. There would be extra more than 100ms delay
 in every system resume operations.
I'm afraid that it would bring bad experience for the power management.

Is there a policy that we should obey, and let the probe complete without
an error return?
If yes, I can follow your suggestion, wouldn't return an error on probe when
link is down.

Thanks.
Best Regards
Richard Zhu

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ