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: <5031584.31r3eYUQgx@trenzalore>
Date: Mon, 11 Aug 2025 09:54:18 -0400
From: Detlev Casanova <detlev.casanova@...labora.com>
To: linux-kernel@...r.kernel.org, Krzysztof Kozlowski <krzk@...nel.org>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
 Heiko Stuebner <heiko@...ech.de>, linux-media@...r.kernel.org,
 linux-rockchip@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
 kernel@...labora.com
Subject: Re: [PATCH v2 06/12] media: rkvdec: Add RCB and SRAM support

On Monday, 11 August 2025 02:13:42 EDT Krzysztof Kozlowski wrote:
> On 08/08/2025 22:03, Detlev Casanova wrote:
> > -	vb2_dma_contig_set_max_seg_size(&pdev->dev, DMA_BIT_MASK(32));
> > -
> > 
> >  	irq = platform_get_irq(pdev, 0);
> >  	if (irq <= 0)
> >  	
> >  		return -ENXIO;
> > 
> > @@ -1204,6 +1217,10 @@ static int rkvdec_probe(struct platform_device
> > *pdev)> 
> >  		return ret;
> >  	
> >  	}
> > 
> > +	rkvdec->sram_pool = of_gen_pool_get(pdev->dev.of_node, "sram", 0);
> 
> Didn't you just add new ABI?

Oh do you mean rkvdec_rcb_buf_count() ? I could indeed use that instead here.

> > +	if (!rkvdec->sram_pool && rkvdec->config->rcb_num > 0)
> > +		dev_info(&pdev->dev, "No sram node, RCB will be stored 
in RAM\n");
> > +
> 
> Best regards,
> Krzysztof





Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ