From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A5DC43ECBD9 for ; Tue, 30 Jun 2026 10:31:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782815520; cv=none; b=OThaiJIqYkBDKawLWoqFhunI8Z/XgYDyoHFUsTL1uPjTU8KC880jz62hSPUv3t9R0HBhRttu0dCUiNopB4UGbPB0xIq1clTG710Ms6bnITDAIyPocgDst3UKUaG1oawOFyNV//+44yAHnQ6bE0CwYlfn4flHrlmmFnlAP6y+JHU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782815520; c=relaxed/simple; bh=n5RmZML6jZpT6mwNmTpxqpwLQ+nq/gtRG8PxO6ONRFM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=M4QuTBFlSZrMN21FftJUtZySHTfZjNO7hUDw41lMkrwOKjKWN8yqnt+8yVxG+yw62yA00NFQYP7G9I0dgRjyQZOmjQwj40b6kqomjPGxjjFu/7FNI0BYJSQRnDZtKlIK4qRFW/wJrtFACHcTGEGIJR+EgXP8r7zi8ni0TT26DGk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QRFcPyo2; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.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) header.d=intel.com header.i=@intel.com header.b="QRFcPyo2" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1782815520; x=1814351520; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=n5RmZML6jZpT6mwNmTpxqpwLQ+nq/gtRG8PxO6ONRFM=; b=QRFcPyo2bA1q7KuABPtkWyxpoS/YGh/oaYbM3TjxGxzyNw34q7snqilV mfkYVEViCZ0Rbr1Pf2HrXebubh6+EB/UAvZhhoEw7kw/M2pYt6u7pR66s R4YqeectzZ5X6Ypu+Z3emChlHQfMVETvDBnuRibE+iHzOzsO3M/fhjHYM LaVn8o+Ue321BBbTTFAZZeyAPk5Na0BzODV1jRdz/+sfL7/8rmxiwUEAK VPIULPvS+utTiGU0RGy20dsW++zzHaagQAFQn1Zm1y4NT0UhKGE52VjQo oI0LGZLsNPZDIbmmcgQwXjjzHWWPeBkXIGDDa4QAZ5GvEcA+Pglgxia0E Q==; X-CSE-ConnectionGUID: m5el40NITeCWzyv7JFgTAg== X-CSE-MsgGUID: PdOZd7XYQPKDYIDybcNcRw== X-IronPort-AV: E=McAfee;i="6800,10657,11832"; a="87208136" X-IronPort-AV: E=Sophos;i="6.24,233,1774335600"; d="scan'208";a="87208136" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2026 03:31:59 -0700 X-CSE-ConnectionGUID: mIucPr7VTzuk/h1NiBv9ow== X-CSE-MsgGUID: avvhI5fATEi4KaE3ZbQD9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,233,1774335600"; d="scan'208";a="248863754" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa007.fm.intel.com with ESMTP; 30 Jun 2026 03:31:56 -0700 Received: by black.igk.intel.com (Postfix, from userid 1008) id 8710295; Tue, 30 Jun 2026 12:31:55 +0200 (CEST) Date: Tue, 30 Jun 2026 13:31:54 +0300 From: Heikki Krogerus To: Raag Jadav Cc: Rodrigo Vivi , Matthew Brost , Thomas =?iso-8859-1?Q?Hellstr=F6m?= , "Michael J . Ruhl" , Andy Shevchenko , Mika Westerberg , Riana Tauro , David Airlie , Simona Vetter , Andi Shyti , dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] drm/xe/i2c: Handler for SMBus Alerts Message-ID: References: <20260625125939.429078-1-heikki.krogerus@linux.intel.com> <20260625125939.429078-3-heikki.krogerus@linux.intel.com> 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: On Tue, Jun 30, 2026 at 12:28:08PM +0200, Raag Jadav wrote: > On Thu, Jun 25, 2026 at 02:59:38PM +0200, Heikki Krogerus wrote: > > Some devices that are attached to the I2C controller use the > > SMBus Alert signal for example to inform the host about > > thermal events, so registering the default SMBus Alert > > device for them. The alert device makes sure that the alert > > is processed and passed to the correct I2C client driver. > > ... > > > +enum XE_I2C_CLIENT { > > + XE_I2C_CLIENT_AMC, > > + XE_I2C_CLIENT_ALERT, > > Forgot to add, with this I think you can move XE_I2C_MAX_CLIENTS define > here. Ah, makes sense. I'll fix that. Thanks! -- heikki