Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp131421rdb; Thu, 8 Feb 2024 00:54:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEc4r99hrtqDal1QVMnmn1orziJyBZ9hyxk56X9RGmTjT5ENPt3w7R/TwMsiz+aYacMEfW8 X-Received: by 2002:a05:620a:444e:b0:785:8d83:7020 with SMTP id w14-20020a05620a444e00b007858d837020mr9001754qkp.29.1707382483605; Thu, 08 Feb 2024 00:54:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707382483; cv=pass; d=google.com; s=arc-20160816; b=GiaRTIL9CDugfHviDNjFhc7QKqkDpRYzPk4ObevMpGM+2XmJp2oVTgtqCCThSTi3vy V57xRGRobWmzb6nVom6aKQ0cSAUL1ivGA1LOYVNDNlkaRGd4HSE2PtKkhDBiStvOZxGl B5fGOwthwqwKNsaAKPKrgaFq0xy2KYpmE9nWJIu6bIe/Rv/lYo7sYzwGk26MhgVUIZE/ I/yB2yRKyOZ4GoOgV5fwO5W23fRF1OKcQYBnTDcia7FPMOEHe9SQACj/DqYh+/pKdIl5 5yLWP1dtBpIOx8U13LOxYC2VSN/F6NXrHtB4k3r+RQx1GV1PaOsq+f5DGfGq973+fNg+ nNWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=14fgZQvkw10l1IA+gCvjrySoiiv56AKo+55rqC9d3sM=; fh=ldkPKrYxS/iCXDPYUC0szXTZJXMC4aa4xjIknhWVy9A=; b=H92sJvBJhjv/Dj7uZm829TSBQHApGeRpHogZde5RqCoXWmDfthxgFGcchXGlUl/12k 8yq55DL/hrHZ6X/l3w00SMR5r191WW/TdyWSFnw1heTwYax7q69Uxn71q+w9H8TGGIPv hBCvv9s3jSld4C2GvnyNjoen1NOdUi74GTg/DLmBvtcX2mtte7tSUSX9/FZE1L1PFRa6 F9hO5qbYXeupZFz3kx2UvYFIhhzlObvUm8op0N8kFYFd6nYP5TZiotffdUxPoy/IWtxD 46/03Qj/SyqrwBuXY3chFhdfH/e7taPXHsd177WQeqW9zcgHkiKxN0eIMQuNGH8h6Siw bGYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LHtdaUei; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-57671-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57671-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCV9dY4n11tKpoLfnfO+fWzwbywtr83sB/jVtUksjDpZVksXQkNpTfMrm9z6S9UjEhYzZx/MtZ1VIf3O5sYpybdyKHonfDo8aOvHon1hrw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vy4-20020a05620a490400b007859d945ffesi2602527qkn.208.2024.02.08.00.54.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 00:54:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57671-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LHtdaUei; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-57671-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57671-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5AACA1C25D46 for ; Thu, 8 Feb 2024 08:54:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6150376028; Thu, 8 Feb 2024 08:50:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="LHtdaUei" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (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 E9D9E6E2B8 for ; Thu, 8 Feb 2024 08:50:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707382213; cv=none; b=WF0NX3u/pvti7IZ+KLrFsxqA3jW9qQsjaygmuI0KECBPTcSo5D9dKlMm49P0xiPFCDU9qpCfP2VF5VzepHYrm9mGQFgjQ6MZDYrYnu4I2xCKtPad53x9FqBgQcYPZOaTJiGvbRxi5+WOQYx/0SrQOCOZk3YgwTGWdfRYZCoie7w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707382213; c=relaxed/simple; bh=0lR0Js2Ta6ESjjgeXWYiaIlClzCWLnCunSK0HHuu9dE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=n2WyqRnZtr/1Sk17yqmZGrbbTkL3ddm+mH8RCRRJ7Xkz5gqCoov9DifCQwU3lg9PPW5QTe6GMlAL3uZWlYEzvydaFp6fibmFO4PbVPw6wYTt+GxMUOGTjkjJC2vhZm6KsLWMSafvFiv32j1QzZdFGkd4dS4L3BoIjIicxn9aYIQ= 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=LHtdaUei; arc=none smtp.client-ip=198.175.65.20 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707382211; x=1738918211; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=0lR0Js2Ta6ESjjgeXWYiaIlClzCWLnCunSK0HHuu9dE=; b=LHtdaUei2mWgF11jrzXUM8EAMPNu3DfkN5WE29bhgq7B7gPPJt334efk qdabvbAL0vJY7CClRie1YOcZ9SkcYE1Q6AvAMkAPKO2HXPtftRQfC0PM3 jqdJPTwmDATRZSxaAaYuUzLeG6487ISh5cb7llq3klq0sQabsxlqUP2KJ N8RCn6rYyYo5f2LKK/A2X0/VmOX5QmkFVWh3JCDekYXWjnv8JJb/tysP2 340HspukyIsfEEyfJLhD1kI5zU5Y95hef0ysllygOs5nkwgEx4EHv3Mym SDGaW0JoySkgWuLPVla2l9dkdFa/qapaSZLb+Xe3bS/fwYpe/9Mfg9mOt g==; X-IronPort-AV: E=McAfee;i="6600,9927,10977"; a="1071740" X-IronPort-AV: E=Sophos;i="6.05,253,1701158400"; d="scan'208";a="1071740" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 00:50:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,253,1701158400"; d="scan'208";a="1837099" Received: from aavzirov-mobl.ger.corp.intel.com (HELO localhost) ([10.252.61.13]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 00:50:04 -0800 From: Jani Nikula To: Lucas De Marchi , Yury Norov Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andy Shevchenko , intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, Lucas De Marchi Subject: Re: [PATCH v3 3/3] drm/i915: Convert REG_GENMASK* to fixed-width GENMASK_* In-Reply-To: <20240208074521.577076-4-lucas.demarchi@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20240208074521.577076-1-lucas.demarchi@intel.com> <20240208074521.577076-4-lucas.demarchi@intel.com> Date: Thu, 08 Feb 2024 10:49:58 +0200 Message-ID: <875xyzcpc9.fsf@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 On Wed, 07 Feb 2024, Lucas De Marchi wrote: > Now that include/linux/bits.h implements fixed-width GENMASK_*, use them > to implement the i915/xe specific macros. Converting each driver to use > the generic macros are left for later, when/if other driver-specific > macros are also generalized. > > Signed-off-by: Lucas De Marchi > Acked-by: Jani Nikula Thanks for doing this! This is fine to merge via whichever tree you find best. The i915 parts have very little conflict potential, there haven't been changes here in a while. BR, Jani. -- Jani Nikula, Intel