Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp501537ybh; Sat, 7 Mar 2020 03:31:41 -0800 (PST) X-Google-Smtp-Source: ADFU+vvZiITaItSxk3sshTzZdhYyQzAnY9jwbrh/wFKha+2MjBfw3hcfBCzurwPnJ5wl4fDbiqvI X-Received: by 2002:aca:f305:: with SMTP id r5mr5731206oih.174.1583580701122; Sat, 07 Mar 2020 03:31:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583580701; cv=none; d=google.com; s=arc-20160816; b=cKhDom5bMJ2y1Fqt5jeQYubkdeR2LZgOOYzyYFwlh6kXVg2G/37Okt073X38fz1ny0 lqqsbbJ81Nm9OGDbyTtjXnAwCk6xwNjx3rzX7QSkAhmI50h2ElvKEWwkmpvMySJ2P+d0 RiTzizspxb3Hi6frtgoljG+6OWbC7fOX8YEsNqTCQ9oSbyF4aREcE6vZeJgPZ4hmRpnl vml6861/GF8egkKwvBZ6ZwTZ60i1R18oFH5dOSu2uWxpVYqg8Z9B3SuoMpOL4Hj830dg yiz5PFTMP2VNsg+i0YcMypJlyDU57yVo8awC4QfC8C2ImfhwljEgUxQiGSk7NTX/GCA9 KNhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Pt8QP3xxt7JkGiM0RpaHywq3DPvUhYSmR2kNTrIhsjU=; b=AfxETDPNnHbGFaqdSHW1zOIWB4dngAdde0OVIAzDZeK9AAFpHrnNJpHrnsiD/yXvCG S4dRxAhxhtucojDvyIUjEUZFLBJXDpahN78V+HTcaM2W4xz3Pa49X6Nc1ZWBNPAkBL9K 42DzeZXAUNFH1n2nhF6W0skJS4IKB9aeHTQhTWR5yE82A4o9M2MoErErapeJXDAOEgkh zOpraiB0TpBwTtXIPZaVX2TQTDYhWSxB8NmBlk3YA3PXpcN+Rw+a70E7qIA3cc3k5vQS SlLmQKtqJMhNCnIXOYLGzRwB+f9riQL4OITnIOFpZEk4OBLPqkRPgLgQ6GiVakCB71Tf UwNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gOGx1F3Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v92si2993764otb.160.2020.03.07.03.31.29; Sat, 07 Mar 2020 03:31:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gOGx1F3Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726252AbgCGL2n (ORCPT + 99 others); Sat, 7 Mar 2020 06:28:43 -0500 Received: from mail-pf1-f181.google.com ([209.85.210.181]:45936 "EHLO mail-pf1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbgCGL2m (ORCPT ); Sat, 7 Mar 2020 06:28:42 -0500 Received: by mail-pf1-f181.google.com with SMTP id 2so2432315pfg.12 for ; Sat, 07 Mar 2020 03:28:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Pt8QP3xxt7JkGiM0RpaHywq3DPvUhYSmR2kNTrIhsjU=; b=gOGx1F3YTVo7mv+JqdmDGV47G4Q/YeJKqbqYlXUFtYJGsyl6fI0EnCki9XLQdTpR1J j37xhEdekFUukXcGKSU/4on/QoQAKyFqrIzC0UrqwHueuFcOkV9I2kF2F3adlAr9+jtj WTkpEtsFP6K5eaZ1wNalkM3HXCAxUiDtzvZW8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Pt8QP3xxt7JkGiM0RpaHywq3DPvUhYSmR2kNTrIhsjU=; b=j7I0UzCorL5PnrTHejF6V6tL71sEdl828iVeq94Q+UMUWcblDGVZBl1QoFaWjcvcZG UAsRUG2PQ5qEUNxQmWj8CUnQVuJB0gg/0WTY4ryFebgBTwfnOAagah7PjNqY7G4rKKsa OPGLzw7F2Tha8XIHIJBawvU0HGfwGrXirGUs+J1e1c70t2Iq9socmdqTUGyIOxP7Hbbn /qG+DZDLrjlMZapY4ipwd6r+beR+dK5UGCNXLpLg8p5bI5vM4ny1zRrHxd87RI7Tap87 zxEBG9YD3fhIqvrjgbeXuJ7kWsYGdKrtGAfZQFqZ6TyMWM3fig9DD9M6HnqE9rsWrmyw zJ+A== X-Gm-Message-State: ANhLgQ2iLWnGjusv1HGO9mmcRbAAQhQa9NCCgKOVhx7sVE8jMYJBizfr JpMW/p60vH3+YWGpQqaoGgOrRA== X-Received: by 2002:a63:485f:: with SMTP id x31mr5627374pgk.347.1583580521718; Sat, 07 Mar 2020 03:28:41 -0800 (PST) Received: from localhost ([2401:fa00:8f:203:5bbb:c872:f2b1:f53b]) by smtp.gmail.com with ESMTPSA id k2sm20747450pfh.16.2020.03.07.03.28.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Mar 2020 03:28:40 -0800 (PST) Date: Sat, 7 Mar 2020 20:28:38 +0900 From: Sergey Senozhatsky To: Hans Verkuil Cc: Sergey Senozhatsky , Hans Verkuil , Tomasz Figa , Mauro Carvalho Chehab , Kyungmin Park , Marek Szyprowski , Sakari Ailus , Laurent Pinchart , Pawel Osciak , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv4 01/11] videobuf2: add cache management members Message-ID: <20200307112838.GA125961@google.com> References: <20200302041213.27662-1-senozhatsky@chromium.org> <20200302041213.27662-2-senozhatsky@chromium.org> <17060663-9c30-de5e-da58-0c847b93e4d3@xs4all.nl> <20200307094634.GB29464@google.com> <6f5916dd-63f6-5d19-13f4-edd523205a1f@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f5916dd-63f6-5d19-13f4-edd523205a1f@xs4all.nl> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/03/07 11:10), Hans Verkuil wrote: [..] > >>> @@ -564,6 +573,7 @@ struct vb2_queue { > >>> unsigned requires_requests:1; > >>> unsigned uses_qbuf:1; > >>> unsigned uses_requests:1; > >>> + unsigned allow_cache_hints:1; > > > > Shall I use "unsigned int" here instead of "unsigned"? > > The vb2_queue bitfields are the only places in that header were 'unsigned' is > used. I think that that should be fixed in a separate patch. It's nice to have > it consistent. > > Put that patch in the beginning of the series, that way I can pick it up in the > next pull request. OK, done. For the time being the series has moved to github public repo [0], I'll try to run more 'twisty' cases and re-submit once it survives beating. [0] https://github.com/sergey-senozhatsky/v4l2-mmap-cache-flags -ss