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:	Fri, 6 Feb 2015 13:27:41 +0800
From:	Zhangfei Gao <zhangfei.gao@...aro.org>
To:	Qiao Zhou <zhouqiao@...vell.com>
Cc:	"Williams, Dan J" <dan.j.williams@...el.com>,
	Vinod Koul <vinod.koul@...el.com>,
	"dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] dma: mmp-pdma: fix irq handler overwrite physical chan issue

On 4 February 2015 at 14:16, Qiao Zhou <zhouqiao@...vell.com> wrote:
> Some dma channels may be reserved for other purpose in other layer,
> like secure driver in EL2/EL3. PDMA driver can see the interrupt
> status, but it should not try to handle related interrupt, since it
> doesn't belong to PDMA driver in kernel. These interrupts should be
> handled by corresponding client/module.Otherwise, it will overwrite
> illegal memory and cause unexpected issues, since pdma driver only
> requests resources for pdma channels.
>
> In PDMA driver, the reserved channels are at the end of total 32
> channels. If we find interrupt bit index is not smaller than total
> dma channels, we should ignore it.
>
> Signed-off-by: Qiao Zhou <zhouqiao@...vell.com>

Acked-by: Zhangfei Gao <zhangfei.gao@...aro.org>

Thanks for the patch.
--
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