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]
Message-ID: <4F0D2B75.7000800@st.com>
Date:	Wed, 11 Jan 2012 11:55:57 +0530
From:	deepaksi <deepak.sikri@...com>
To:	Rajeev KUMAR <rajeev-dlh.kumar@...com>
Cc:	Viresh KUMAR <viresh.kumar@...com>,
	"linus.walleij@...aro.org" <linus.walleij@...aro.org>,
	Mirko GARDI <mirko.gardi@...com>,
	Bhupesh SHARMA <bhupesh.sharma@...com>,
	Shiraz HASHIM <shiraz.hashim@...com>,
	Vipin KUMAR <vipin.kumar@...com>,
	Vipul Kumar SAMAR <vipulkumar.samar@...com>,
	Pratyush ANAND <pratyush.anand@...com>,
	Armando VISCONTI <armando.visconti@...com>,
	"vinod.koul@...el.com" <vinod.koul@...el.com>,
	"dan.j.williams@...el.com" <dan.j.williams@...el.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	"linux@....linux.org.uk" <linux@....linux.org.uk>
Subject: Re: [PATCH] dmaengine/dw_dmac: Hibernation support in dw_dmac

On 1/11/2012 11:53 AM, Rajeev KUMAR wrote:
> The suspend and resume implementation is through dev_pm_ops in dmac. So
> in order to support hibernation, freeze, thaw and restore features are required.
>
> Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@...com>
> ---
>  drivers/dma/dw_dmac.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c
> index d2e1c25..cb346d6 100644
> --- a/drivers/dma/dw_dmac.c
> +++ b/drivers/dma/dw_dmac.c
> @@ -1568,6 +1568,9 @@ static int dw_resume_noirq(struct device *dev)
>  static const struct dev_pm_ops dw_dev_pm_ops = {
>  	.suspend_noirq = dw_suspend_noirq,
>  	.resume_noirq = dw_resume_noirq,
> +	.freeze_noirq = dw_suspend_noirq,
> +	.thaw_noirq =	dw_resume_noirq,
> +	.restore_noirq = dw_resume_noirq,
>  };
>  
>   
Spacing and tab issue ..Please check at 

thaw_noirq


>  static struct platform_driver dw_driver = {
>   

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ