Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp495744pxb; Tue, 9 Feb 2021 05:49:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJlYZco85Ss2J7QDNpUGfn1oT+sOUys/mhZ8L1X0rJufzfZzjwI7E/2rt+3W1I2jDJTpGH X-Received: by 2002:a17:906:2bd7:: with SMTP id n23mr22401717ejg.502.1612878594821; Tue, 09 Feb 2021 05:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612878594; cv=none; d=google.com; s=arc-20160816; b=uferkjKr/PBeAQOd3EAo0To0px5NbdvVK48mIlYqVkiaaVyf35FzG3jlnRr1sNGsig SUGoWR6UwSTZ50Q5DWPW0KcvEM3mbS+fixnJylA+vznpmvvCj/Ig48qZEmqlJf3DZRQj WuVd4P1CeYOzH22ZiaJ2KGQEVyA3exfTYYq7ju4Fl7i4pSvknGiGC8nom2BbQeCvcZaC OE20ZOqmHTjQvWVD3V71p83/D01Yx9zzxe2Y5r9kC5ect69kC/LJFUpr2kNnqmk+UqZv HDogMb1mny2SYO8pvlwWf3dTtTdOqL4zmXxdlKbusCExfGgC4RaX9HXDBj5NV5O7IxHJ Uz5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dW2QN9eJZwr/x0SrhCjAW4xn6fStr5J0ErKawI5+ngc=; b=DPiJMGCm2OMt7kguUw20yj2Zh9rxkwMUcBKqc1OZYVRZngYBNhYVGxQk4NstsqCDfk gknXtvLLXBOvBqocafhoS4ff8fnXlVrSXk6weiVY35dsjAFR5DTFy/mRgChCov2TDtgE BEAsWIOpAjhrBEfQ6EqoNuhFewq8qq6+z/M8Tgm2kI0uMLNuofEGhnutGgcesYuCAfaY QiI90CORcZaXnewOTkPt2TJm8Kk3o90HbuByq7ZKQYHUQ3J9bYvoFaa5DolaCl+K6Cem /KSG1IRqnGOb02uDtWXbvFy39xL3jwasFYWBZZAgqpHJZZ3RySHbkakm4BxKC104geS7 bV3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R2CGMQtH; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m24si5413832edp.155.2021.02.09.05.49.31; Tue, 09 Feb 2021 05:49:54 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=R2CGMQtH; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231720AbhBINqz (ORCPT + 99 others); Tue, 9 Feb 2021 08:46:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:46464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231309AbhBINpF (ORCPT ); Tue, 9 Feb 2021 08:45:05 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 17EA264E0D; Tue, 9 Feb 2021 13:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612878262; bh=4h3GT5egqwm04FikNjpgIj9VjhyE6EXY+YLLVJe3RDo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R2CGMQtHpql1DsKZunw3zR/88ekQ3bGZVifWAMMQZbcrbzj/NWABv4t2+iLdPa4Ds NRMF3396ygWqbmUrt8D+qmg4vU9yS+mGNxsjtQwIMgTCfQR2WtsCCR1yVA/CLLJqq8 p616TPIdWDd8m/vaNxp8Utv+/hyTawkZFCMFcVp4= Date: Tue, 9 Feb 2021 14:44:19 +0100 From: Greg Kroah-Hartman To: Hans Verkuil Cc: Dafna Hirschfeld , Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Mauro Carvalho Chehab , devel@driverdev.osuosl.org, Helen Koike , linux-media@vger.kernel.org Subject: Re: [PATCH AUTOSEL 5.10 14/36] media: rkisp1: uapi: change hist_bins array type from __u16 to __u32 Message-ID: References: <20210208175806.2091668-1-sashal@kernel.org> <20210208175806.2091668-14-sashal@kernel.org> <12c8f50e-3bba-5936-6e67-55bd928a75c7@xs4all.nl> <3413d0af-bc8e-4a9d-e0a2-eea98febd4e9@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3413d0af-bc8e-4a9d-e0a2-eea98febd4e9@xs4all.nl> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 09, 2021 at 02:39:41PM +0100, Hans Verkuil wrote: > On 09/02/2021 14:02, Greg Kroah-Hartman wrote: > > On Tue, Feb 09, 2021 at 01:45:35PM +0100, Dafna Hirschfeld wrote: > >> > >> > >> Am 08.02.21 um 21:46 schrieb Hans Verkuil: > >>> On 08/02/2021 18:57, Sasha Levin wrote: > >>>> From: Dafna Hirschfeld > >>>> > >>>> [ Upstream commit 31f190e0ccac8b75d33fdc95a797c526cf9b149e ] > >>>> > >>>> Each entry in the array is a 20 bits value composed of 16 bits unsigned > >>>> integer and 4 bits fractional part. So the type should change to __u32. > >>>> In addition add a documentation of how the measurements are done. > >>> > >>> Dafna, Helen, does it make sense at all to backport these three patches to > >>> when rkisp1 was a staging driver? > >>> > >>> I would be inclined not to backport this. > >> > >> I also don't think it makes sense since this changes the uapi and it is not really a bug fix. > > > > Why was it ok to change the uapi in a newer kernel and not an older one? > > In the older kernels this was a staging driver and the driver API was not public. > It's debatable whether there is any benefit from trying to backport patches like > this to a staging driver like that. > > Also, these backports are incomplete, there are other patches that would need to > be applied to make this work. Applying just these three patches without the other > three (commits 66d81de7ea9d, fc672d806bd7 and ef357e02b6c4) makes it very messy > indeed. > > I'd just leave the staging driver in older kernels as-is. Certainly don't just > apply these three patches without the other three commits, that would make it > even worse. Fair enough, Sasha, can you drop these? thanks, greg k-h