From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7604F38CFEE for ; Fri, 3 Apr 2026 10:15:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775211306; cv=none; b=p/AS3QJoAXhPttDrvzIYvwVWCzJjX4UFYUo2vElUQs9AQ0K9vS7fPF/HBJrsZUddPJznE9mF6pO6rBeUQcVCZD7dvl8SBkcR4DqYvjhmRWaQIfocDLvZZpyJPnlDXsYObXtiJxhcvnsMDbWLwFFX2MaWe4FvQPTdl4sfu0v2s30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775211306; c=relaxed/simple; bh=SyUUY0OUraYJ9NeW9bdZzmQJTzmWvU8SgeyoY92B5GU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HZs/bE8Wo1ORzuxEX7BBX/Ly1lncrOpi7+MU7SkUUOca4aOaSP97JucuzwppR4jr69bkAjTJbjw50spt6DM3mH9T8QDt+MJbHt8wPYcxiuIH8NpXKheqz35I2LrcBgDoxxcwEEP65Ztz18w2sPj23O55VAG9tGAttlLdpbxNOKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=md/+ixKO; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="md/+ixKO" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-488971db0fdso7340515e9.0 for ; Fri, 03 Apr 2026 03:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775211301; x=1775816101; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=IBSiSl3NLn+cVJFrXtGD+heTI7pWpTMEmoM71Fd2JxM=; b=md/+ixKOlipGAxUepY2eAh9l1MtKcOWWnADPl80HwZOK/bZxR5Q0tP0bYdtcBi5KAb gjc5hUHHb+odcE7B9elgN4+OFH0ZC53tkOjGPz7W1Ir5u0d2NSLJaMpsrI54K7ZVlWoq Mu5vbTSCyCi0DZ8gcrxcOo+QP4IByeV5+Alq7lOoFaThJGx7dakOrAe/9jRWHpj1yE6V atN3ol0afMBnYU/9xQpZ4eVUX5TVATUzUS8P4vBTITKBapjWfNDBlmAe15cwkpXi88px tnfmp7n2krjVS0qmQ34h8n8AFTjOUU+XjqKszJSQV1njQo3JB4Kiig8pIMzUlmgGPI79 Nexg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775211301; x=1775816101; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IBSiSl3NLn+cVJFrXtGD+heTI7pWpTMEmoM71Fd2JxM=; b=lKZx6eX17ko8P20Q27olF6tRDoLG/756+fZ6RobvIzeWyQL/8rZNvrp0/RWtyTaKCV YhZh9RdThUsrQxmJ7gYTxbjvT/F3vX1agEy0xVmgTXA71p7WZEV1IASNgpRw6UIanfY6 bMlka6V+umlR1yCxaDlyOYqFSCcDFHA9ktbICtPSJzmkUUheDrVCd492RwBL2VHdlas/ 0n43fDm04OrCyPp0N+IoGXrMIyYQyAU7e031JJlap6It5Vt7GdxPbViyptjHxn4fbxwj g500xm6ps2eBUryWSTGkLW9/CuRyUXljNfuyN6V427f+hVGK0SZVY7zV6ZJHmxq4FEaz SEkQ== X-Forwarded-Encrypted: i=1; AJvYcCV8mQKsyk4peoJnB/3xX2jVeAUy/++xQafYp+lemfho4t8Z/ON8AQze1zUMh09TLIGq8kONvuBsyyknlQo=@vger.kernel.org X-Gm-Message-State: AOJu0YwvZGD3zpX9OmOJjzwq+dXs9e6BktL1wED/Me9rRhXk6DhgvOdN v/ifIY4PwymGYWwV/d2MG8NJunALfRhHdqkgGgMmmASbAbxPyUSPi/Y0 X-Gm-Gg: ATEYQzyPDtLSZ3oqeMSlizRPfEvIUfcLm/M0K4Sln2B60aL9zJZ8e9B2H04faetEIgd PeRYaG1b6xMxapjvL+tTbskl45fN7hZkPECVI8ZNNNBGPmBkD+SuMZTf2pr1yjPbjWCaK5OxY4H dtrqdvco3hhjEL3+/uCpyMbiM5rNhZTpOsXI8ixKrQdKkQ9dphUv3De6WYDDXyFZBCyNY+AU68D BDEq+TfsHn7WAZFrRJQ97PJnpvSZwCuZG5fvFcGnUjNBHYe65gHYeeetAgbn3gPo9xzy4ZwqST6 HiX7YgHgsJjZOl/SGovLi0yWbHljbBqBdRAS8K6O5ilNLzTTGunXT5EML0jIPYABflX6JKqYRf5 SLAn/Z+Up7z5esNM8fZvY2MKk+lT9J/a2dv4BEOAwIBEzvpYmTLIP2gvnHOVjnB+j6Hvu2hW++x D0LFxQQfqCwWc7Nqs0k8te5oArKswH X-Received: by 2002:a05:600c:3484:b0:488:7e6a:e70 with SMTP id 5b1f17b1804b1-4889973b05fmr41489825e9.9.1775211301303; Fri, 03 Apr 2026 03:15:01 -0700 (PDT) Received: from gmail.com ([2a00:f41:1cc5:ab9:2a0c:50ff:fe2f:36f4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48899ed9cb3sm16078455e9.36.2026.04.03.03.14.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Apr 2026 03:15:00 -0700 (PDT) Date: Fri, 3 Apr 2026 12:14:58 +0200 From: "Jose A. Perez de Azpillaga" To: Greg Kroah-Hartman Cc: linux-staging@lists.linux.dev, Andy Shevchenko , Hans de Goede , Mauro Carvalho Chehab , Sakari Ailus , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH v3 2/2] media: atomisp: remove redundant call to ia_css_output0_configure() Message-ID: References: <20260402183402.444630-1-azpijr@gmail.com> <20260402183402.444630-3-azpijr@gmail.com> <2026040336-humvee-throwback-72cf@gregkh> <2026040327-evacuee-bonfire-a922@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2026040327-evacuee-bonfire-a922@gregkh> On Fri, Apr 03, 2026 at 11:53:59AM +0200, Greg Kroah-Hartman wrote: > On Fri, Apr 03, 2026 at 11:02:17AM +0200, Jose A. Perez de Azpillaga wrote: > > On Fri, Apr 03, 2026 at 08:42:11AM +0200, Greg Kroah-Hartman wrote: > > > On Thu, Apr 02, 2026 at 08:33:45PM +0200, Jose A. Perez de Azpillaga wrote: > > > > The function configure_isp_from_args() contained a duplicate call to > > > > ia_css_output0_configure() using the same output frame index. Remove the > > > > redundant call to simplify the configuration path. > > > > > > Are you sure the hardware doesn't actually need this called twice? Lots > > > of devices need to be told multiple times what to do in order for it to > > > "stick", hardware is "fun" that way :( > > > > > > > The concern is valid in general, but ia_css_output0_configure() does not > > write to a hardware register. > > > > ia_css_configure_output0() writes into binary->mem_params.params[], a > > software-side DMEM parameter buffer in kernel memory. the ISP firmware > > receives these parameters later as a batch, not at the time of the call. > > calling a pure memory write twice with the same pointer and same value > > simply overwrites the same location with identical data, there is no > > hardware interaction that could require repetition. > > Ok, great, perhaps put that in the changelog text? > ok, I'll amend it to the commit message and send a v4. > > > Have you tested this? > > > > > > > as noted in the cover letter, I don't have the hardware to test this. > > That's going to make doing code logic changes a bit hard for this > driver, you might want to rethink this :) mhm... okay, I'll keep that in mind. thanks :) -- regards, jose a. p-a