Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp602088ybg; Wed, 10 Jun 2020 08:50:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRlgUo4xlIXv586L4vTL2DebpZi73tyJWadv0B4HlkStsCSXqE85kDhrk5I0ADUB00x+Gq X-Received: by 2002:a05:6402:221b:: with SMTP id cq27mr2943379edb.302.1591804255572; Wed, 10 Jun 2020 08:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591804255; cv=none; d=google.com; s=arc-20160816; b=Dwb3J0FCMWRorvysV1sODL2S3NXunQYjRaV4/8dOboD57hVHvywg29BruVQytptL6I IWpR7P73bhwhAaOt8j/OjdQlvJ+x7f/HIHvaCXBPC281upjKr6nJV9x951+eoFpqW9ge LkV6X5RnnUfnGU00Tk8bgeALKZJOvII5C8kNq0RepUT7cHDG72eUS2kpxzM4YlGR4oWu IkKcjdrSjbx+0upM0V63VuysUjl2dLG5h61sdqlP/Sysk3CpugvuG7BVKReOEk8NUI9p PGgw2nTkd8s2L3Iz3Q6lJLzecnlAdlZVq8HTtvP4U9Fo9Bmgwi7WeLWObFWTTLyu/HWn nuWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=cTTPoX0KpmupCOXvZZmijW76miLqR7hhHk9arTeotRY=; b=QrZHYc7+DY+9465lzt3PMxgUvOBpvt44qwszwtvEJGCSuCX9cFL1LQ4fgydzdCI5UZ P8wPQ1hPW5oxRuFdzwLNcPd/MvM1fSSKeGZ6M4fElYfYyFKJ5UdstFe0/3ysx7h9UG0f JuxBVdxgi6YCSjo8RZVNw+fgX5/uQ9ox7Et70smj7uizHNx3bls/3j9CC3Pc+BW+Lvqp lznA+FuiHfjcyY7eJ+tcXrOnYsD13dkqe7QErLSaAKPGrvdAx5PPkivuPsnqPQgcj8hD fyw2Y6u9mK1vLZPlDqgpCz/VNt4YcmuCqXnftf0/OLwj0YuGSxxedBgQKtPmmwFzB7yG dJng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mciw29rg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si257006eje.201.2020.06.10.08.50.32; Wed, 10 Jun 2020 08:50:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mciw29rg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728329AbgFJKs6 (ORCPT + 99 others); Wed, 10 Jun 2020 06:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728149AbgFJKs5 (ORCPT ); Wed, 10 Jun 2020 06:48:57 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 369EFC03E96B; Wed, 10 Jun 2020 03:48:57 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id b16so928700pfi.13; Wed, 10 Jun 2020 03:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=cTTPoX0KpmupCOXvZZmijW76miLqR7hhHk9arTeotRY=; b=Mciw29rg7ScHOgwOlqOT0M47c03O7TGw/FA2VhlMFCokYF7e0tnoWc5nGFRcPlfn6W 2Tcb5fLPyjjLrDQNS1DDbiABmsXWDr2GzsQ5z1uJgjpD7F9ocK4d/eKzAvLg2SDpt0xf H7X4M5CEssNINyky8/uszDU6JHXeUJUobI42PiYN6fPvaJmZdEhdruYF3Vndx6UkAmiy Zg/kidsuf12g5pfDhJu7ecv8ah7CsGKE1m+wGa7jxrbksyszROWOV0Dh5x/r3RDJ+iXq OLZUrwejsSXCBGtIewd2iBoFoG7oy2HY5ooD9skkmhIq2sJqrZ68m6A5DCeMPeyMdC0d MAIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=cTTPoX0KpmupCOXvZZmijW76miLqR7hhHk9arTeotRY=; b=DnjBfSvnDmmQ5usMVHeGNVrtUocFqqiUpR2Gs/aeIUSyMuaef519c6I53JAoNthRPI 67Wby8jqz8PcehYm0w7aIhKuDsBXHWssMLrZ6JejgoLLBytSQqJrzbdUuunIhQLtLxo3 CuT64i787iIcRUSQRsXjhnJ2j3gQciWikslpclAyttUT7l4HJNjAHzlsSZ8SPGjY8n+D PExWwIrb3pIOQEzKC8GPcWmA6Gcs/GQDsfKeklYOH8Z0fCvO0EYZaKzV96jp6iY/6H1f i91c96TXmg9kNbcuvz172MHD81WFhCQ17eUADhW9U/ZHLpyBM6qjihLIIafnHwJnqtQ9 fXOg== X-Gm-Message-State: AOAM532ft3ChEPIPt1xi2WkXRBQMH8gky/JNxRXWfsfIIWmF2+XTj3DK jUO8SjI1rrMQhQDmgDtG7Q0= X-Received: by 2002:a62:9255:: with SMTP id o82mr2175756pfd.218.1591786136726; Wed, 10 Jun 2020 03:48:56 -0700 (PDT) Received: from localhost ([2409:10:2e40:5100:6e29:95ff:fe2d:8f34]) by smtp.gmail.com with ESMTPSA id o16sm10729138pgg.57.2020.06.10.03.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2020 03:48:55 -0700 (PDT) From: Sergey Senozhatsky X-Google-Original-From: Sergey Senozhatsky Date: Wed, 10 Jun 2020 19:48:53 +0900 To: Tomasz Figa Cc: Hans Verkuil , Sergey Senozhatsky , Mauro Carvalho Chehab , Linux Media Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH] videobuf2: always re-init queue memory consistency attribute Message-ID: <20200610104853.GB271650@jagdpanzerIV.localdomain> References: <20200609060417.8066-1-sergey.senozhatsky@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/06/10 12:17), Tomasz Figa wrote: [..] > > Is it OK with you if I fold this patch into the original patch series and make a > > new PR for it? I prefer to have a series merged without a bug, rather than fixing > > it in a final patch. > > I believe this didn't introduce any real bug, because dma_attrs would > end up used only for MMAP buffers anyway. Still, the current behavior > could end up being confusing for whoever has to deal with vb2 in the > future, so should be fixed. This also requires user-space code that constantly use different ->memory types and ->flags in inoctl()-s on the same queue. -ss