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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 12 Jan 2012 23:53:03 -0800
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	Rafał Miłecki <zajec5@...il.com>
Cc:	Arend van Spriel <arend@...adcom.com>,
	Larry Finger <Larry.Finger@...inger.net>,
	Alwin Beukers <alwin@...adcom.com>,
	Roland Vossen <rvossen@...adcom.com>,
	"John W. Linville" <linville@...driver.com>,
	Network Development <netdev@...r.kernel.org>,
	"Franky (Zhenhui) Lin" <frankyl@...adcom.com>
Subject: Re: [PATCH] bcma: s&r: NULL mapped core

Yup. This definitely helps.

I haven't done a lot of suspend/resume cycles, and I have my own
cleanups in my tree, but with this, I finally get a successful resume.

I'll send out a series of cleanups and fixes that will include this.
Can you test whether my series works for you too?

               Linus

On Thu, Jan 12, 2012 at 11:41 PM, Rafał Miłecki <zajec5@...il.com> wrote:
> ---
>  drivers/bcma/host_pci.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c
> index 443b83a..726e43d 100644
> --- a/drivers/bcma/host_pci.c
> +++ b/drivers/bcma/host_pci.c
> @@ -237,11 +237,16 @@ static void bcma_host_pci_remove(struct pci_dev *dev)
>  #ifdef CONFIG_PM
>  static int bcma_host_pci_suspend(struct pci_dev *dev, pm_message_t state)
>  {
> +       struct bcma_bus *bus = pci_get_drvdata(dev);
> +
>        /* Host specific */
>        pci_save_state(dev);
>        pci_disable_device(dev);
>        pci_set_power_state(dev, pci_choose_state(dev, state));
>
> +       /* Bus specific */
> +       bus->mapped_core = NULL;
> +
>        return 0;
>  }
>
> --
> 1.7.7
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ