From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793122747; b=eId7tSY17mXQmN5imH84KSFevBcD8AFizVc5myZZgCtj8k5O5burBDgouvHGiuQKhC8N bsMzR3YnKK+9zzI/fC30K4sxWr4r7o9njCjaYyleJCMlcDKpYcmjd3sMObrdn0mTT14CE iM+K4bbCj+a7J/FLXrJquj3hon3XpenHorUBqnxno0TkxQ0vkvB5LN1mYQdIXC7CmcCT0 7oJBki+FaLUa9hRA+98k2I+LbO83jA/JYI4Ni/qpuxdPxabX9YeyXncQio3OjAnu7Tth+ GxxHbjizAPk7mex59E+pJF1z42poGRT6r9STc4r08XP9/00MXU1W1iODNP91Kk3p5Kw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793122747; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To: Organization; bh=GMLoZqn9hUz7CF6Vy6FF9tNhZQTvAeSqJAal3eoYO48=; b=BvwSe76GytdX6c6mchfAcaEzW0exlJKpwEqThV6h07fq9suaXkUsqVY53bGLXPwZ7ynq 8BF8IONBo+MpnvtHXx4pasCfH9yMof46zW9L4JdBxNRARA3MFODkj7P3/KHPnbi7GPon2 U8FcDX66GhcXIFzBO/lqNK+tvKk7AgTuzCD0IrkHW/q7v/E8/WARHH2hn+4X1DZtCUFOk kz4UQA5Yqc7B2DuTjk9ehnFDFpaaQaGOBzeY2flAjr+TlhiU11hkg/b3+zj14qgLz7BVC +ZXRs//4/SepDwq302U7/iQqiqeZvwpESa0kDrGSAeJM7eWUujEh35YLbcYIzGfDAjA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=cqyexwYF; arc=none smtp.remote-ip=198.175.65.11 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08F2A606A321; Tue, 27 Oct 2026 17:39:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 08F2A606A321 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=cqyexwYF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1793122746; x=1824658746; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=+MxEiuBZ/L0ubNP9ZUsiWv6JkZZH6q8NBc49BPiB3FQ=; b=cqyexwYF5u2DX9SPcyWciTroJ2F8wPeHV9ejTYhfKbZtQpn/o+xHfZrL P20S/HM/NcIupEeGpkHnoqp73x+EdWLs2x+BR6nORjgf3rfslILnsZ2ot tirInmbTbaim93jNRVQ/luR3BuHfB0KtMcj8QQVrHDwP7Q3TVi6z9627y ci+5cP7kr1ACN967b6emwUaoFkprkbbjw4fg5c5uEOnXcRJWRSp60HaNA fw/g8moWKOw+SIxGCNjZ/KyGQQNKkBXIiokk2YRhD/WiaXHTW4PRoh1pF Twy+VaP9ajfMS51jQInpCnT/rLdsKmO7vphdH2u0jUUeB8WGKhpgnS9Vg g==; X-CSE-ConnectionGUID: 4w02iSAWRYSSurM3O17Ugw== X-CSE-MsgGUID: 3RT8oe5ySPmLIJ5YFBGTjQ== X-IronPort-AV: E=McAfee;i="6800,10657,11948"; a="1718084" X-IronPort-AV: E=Sophos;i="6.27,181,1787036400"; d="scan'208";a="1718084" Received: from fmviesa011.fm.intel.com ([10.60.135.151]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2026 10:39:05 -0700 X-CSE-ConnectionGUID: QWVD5rq2SAmBbkxIBx4vRg== X-CSE-MsgGUID: mL7lmYsUSTaE4Fxi9cNa8Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,181,1787036400"; d="scan'208";a="6474352" Received: from klitkey1-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.245.196]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2026 10:39:03 -0700 Date: Tue, 27 Oct 2026 19:39:00 +0200 From: Andy Shevchenko To: =?utf-8?Q?Rare=C8=99-Mihai?= Vladu Cc: Hans de Goede , Mauro Carvalho Chehab , Sakari Ailus , Andy Shevchenko , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/5] media: atomisp: remove the circbuf library Message-ID: References: <20261027120341.2305533-1-vladurares@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261027120341.2305533-1-vladurares@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Tue, Oct 27, 2026 at 12:03:35PM +0000, RareČ™-Mihai Vladu wrote: > Thanks to Andy for suggesting, in review of my earlier typedef > patch [1], that I look at converting the custom circbuf code to > circ_buf or kfifo, and for reviewing the previous versions. > > While looking into it, I found that the circbuf API is only used by > the local queue path, and ia_css_queue_local_init() has no callers, > so as far as I can tell that path is unused. The remote queues only > need the descriptor and element layout shared with the SP firmware > and a few small helpers. > > So this series first moves the remote queue handling into helpers, > then removes the unused local path together with the queue type that > no longer seems to serve a purpose, moves the few remaining pieces > into ia_css_queue_comm.h and drops base/circbuf/. I may well be > missing something, so please let me know if a different approach > would be better and I will rework it. > > checkpatch warns about new typedefs in patch 4 and about MAINTAINERS > in patch 5. The typedefs are only moved from ia_css_circbuf_comm.h, > which patch 5 deletes, and MAINTAINERS has no entries for the removed > files. Almost there! The few minor amendments to the patch 2 and I think we good to go, I believe next version will be final for this part of job. > Compile-tested only. > > This supersedes the typedef patch [1]. And thanks for doing this! This is the real cleanup series from people who want to learn while doing something against staging. I will point others in the future to this success story. -- With Best Regards, Andy Shevchenko