Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1400957pxb; Wed, 10 Feb 2021 07:36:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyABapUatJP9ZmldJukTf3DpWpUXQ0dG6UOnhhtrF0Oaar2VvybMo4TDP684wEg0EG/6/vb X-Received: by 2002:a05:6402:6cc:: with SMTP id n12mr3722366edy.69.1612971365287; Wed, 10 Feb 2021 07:36:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612971365; cv=none; d=google.com; s=arc-20160816; b=oO2en4oG3Io7UQu1ncW5zrN1vtOSyjEFbJsa9gs8SeyLutHen5tCF33UBAQNkL+Drv kuYtD6pHLgQR0eH0nI7RcbgFR2IqwaqPcD5Thz6dZmQXZeM0jxuJXyH7YrCzrUG+3e1u a+szBPOTLKDUkYpAHKklh3xOWCfPbTu1MXq5Nz9sR9SKWlYe4SxQICwB27h1BOlAifYi h61jPHHJC2moJQ+pNNDx1sh7dJ0TkdzQ9H25gtVTizDvTsqxmQ2Y70bhHPb8jHHY6PIt JTbuSOPEOQk2RKJcSd6ROdnw3e96imIbk8LfdpCqV5UD5Pld9JGXQI1ynih53cIXnxZK yUWQ== 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=u1wJwvoDoUR2nszs0tPwQa9IKVRlAAOKigK2jLuT430=; b=WTCbQi+NzZZEK66t5YByirhB5aHeDyHqC1zhmUKd7tdlk+fUK5pyOwkc5f1SkXGeIE Q+ps3nYxc67w1iPjzjy5BMvavnPs3mysv9w6ZBVllvcoF6TQm6+SYIltjCIl5nn4L/BH ft52i74c7RmDiwsrD1XqcKrylpqxGn80I8jJuRRPtLFULT4YHp8mWL6yI3zV3rXr2Hdd OxeTtyZai7FPfdMUAeD2KSI0KLQMM5evE7iY1QwFeYeAIo+b7xwP2Vy0ulATt55deszS ENH9Lz4KYvxxX8i/tA7uTX2tLJsrtmmxMSt4JAe6ZAhKYf7aApgngHWf0rRfaYYNKmYD hcig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="o/GsAZvQ"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si1631359ejb.315.2021.02.10.07.35.41; Wed, 10 Feb 2021 07:36:05 -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=@kernel.org header.s=k20201202 header.b="o/GsAZvQ"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232102AbhBJPea (ORCPT + 99 others); Wed, 10 Feb 2021 10:34:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:48182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232058AbhBJPe0 (ORCPT ); Wed, 10 Feb 2021 10:34:26 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B24CC64DDA; Wed, 10 Feb 2021 15:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612971225; bh=1zDAAQgiqsz5e7kAxXc8agDEwY/EwyxU60WtaFh/Uq8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o/GsAZvQcnLs2WQHEYNfj2ClbQ5/nmXaMuizM6V7Odl8NDQo0XEhUGKim+qKYMuit 9CqJ4fhlQAI8FmnOm0nBTnYurWYsEJNLcyidFDz+JvVhCpXVEybCKqRUdOzMZlUAjn LwDyJXAymteP/Ciq5OPpXKIlgOPdcwpwQtVc2JxOV40W5PSmEv3YoFrUynzs8xf4mY lhMXBxlV4LuDqEsG2VGHRlrruBXuGTMAB1BXTyZINNhv7IeejRL4SiSmkgL3zELGLG QUSZOMYj1Ohhp0EBTh+jHY9CFEXTM7zDWE3JS0rX4AGjkfdtXaO8hERWOxoZkjHT9Q 0tEH9AB8tra4Q== Date: Wed, 10 Feb 2021 10:33:43 -0500 From: Sasha Levin To: Greg Kroah-Hartman Cc: Hans Verkuil , Dafna Hirschfeld , 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: <20210210153343.GD4035784@sasha-vm> 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; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 09, 2021 at 02:44:19PM +0100, Greg Kroah-Hartman wrote: >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? Yup. -- Thanks, Sasha