Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp263864rdb; Thu, 21 Dec 2023 08:30:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMKZKw65ZBATM99U1Oa+fOgTHb0g2v7JleXJQq/tIOEfAOczlT8ftjXZ/gTfugc9kAdl/4 X-Received: by 2002:a05:6214:250d:b0:67f:8dfb:b6b1 with SMTP id gf13-20020a056214250d00b0067f8dfbb6b1mr557618qvb.5.1703176210439; Thu, 21 Dec 2023 08:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703176210; cv=none; d=google.com; s=arc-20160816; b=zy44hmGhdQ5QDRr1SUNZ8DkXhAsrp2kA1jrdYvb0rP6GBU+yNaCXwTY7Nk2UTeNUKs X6Cg2xFT6zNRlH+F34/nk8kqvF6i5GUPqHidHXV+0+iCTGS3P7y+BLKQscQlCMA0uaeP wk5xfoPFNph7zhaUtrZpIa9MFP8SKeNxMf9bWs0fIEFt/uLxOuzHJiWFDIL7Yp8/3bLo lw9muGFcclcoiX0dJ1UQbi8lcx7xUVATu712/m8zwkLqPxR0ui8sUT3WSZKwtXBNNHlF QH6PPriQ4pPhG0S8pzd+v5gnxwQegoImGwlnsXuppzz6xmzKdNOXiGKVNSv5+CxBEun0 qH+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=ZfwKY4qwVHXx2M0+cKDEmKhYlL1Jc5nK9VHQOBrHGQo=; fh=sbq2bIph9Xqr7+weD4HqVuroPCP5R5FkQLRbVepmTQs=; b=eyrfyyHkDaJdIKCDdJqb9z0n6/UVYwvYQfouEfu4HVkh40if7PPwDImEvhDLE57A55 0LhkCiy20IgQXnSjOVQO3EtUnBxMgPErB1DtDU1C5Xa01176k3Os7EDXVPud+mXXqULj nV7tlvpDLxqHxs3OfPnTFB1J9BxlAP2b3xU7563GarD93GU0DZH9QZUOp5i3woCKjKTM t3yIIA6k9tN0nMCJBqHsvtW9kpBBI9ntzJUqszwerQvvd0vl5VHSc8/HR7hjMybw4CMJ 5WWYjKo1Hf5Bz812LPYwnRqIwVc/W5pHym5eG+5s1WI9AbsIfb1C12RyRvGVCIaxeujR kK2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sYioqI4K; spf=pass (google.com: domain of linux-kernel+bounces-8769-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8769-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bk38-20020a05620a1a2600b0078109de7dbasi2647458qkb.382.2023.12.21.08.30.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 08:30:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8769-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=@kernel.org header.s=k20201202 header.b=sYioqI4K; spf=pass (google.com: domain of linux-kernel+bounces-8769-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8769-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 34D411C226B7 for ; Thu, 21 Dec 2023 16:30:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 387F855E68; Thu, 21 Dec 2023 16:30:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sYioqI4K" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 391FD5820C; Thu, 21 Dec 2023 16:29:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3B5AC433C8; Thu, 21 Dec 2023 16:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703176198; bh=U3RUFSniU347sPhJd99D0lKyyS41ROfCrLn86vMGlC0=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=sYioqI4KzjldEdIHKQoqLYPjSktXwI7SSauGnyN6LLrgN+u9/ypayE+DtHrI7GHNw nLeC9HB4Fo4yPNIc0NcjMT7QkV9TMcwdmb8oVS3AR6Neyq6vcYxtYhysIXAEiPRUp3 PL2Ak7G0Dawk2bcwmPPa3n+aurZEkpB7Ryp3HcMcmI47UGW+3cEhncfhXTGk8SbMPv +nKcniO/vylvKMieP8+06payYeCi3nIQ/YKQndRFxcygThY0LZy33td9eyPpUW+9R+ GAPF1WkviVnz7di6a7DjzURD1PubwYC9VLyu6+OG76O+ILVFVbJ/fVe80Dk9dQJAZP bmylyf3gaaOjw== From: Vinod Koul To: Fenghua Yu , Dave Jiang , Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, dmaengine@vger.kernel.org In-Reply-To: References: Subject: Re: [PATCH v2] dmaengine: idxd: Remove usage of the deprecated ida_simple_xx() API Message-Id: <170317619628.683420.9023964494393917924.b4-ty@kernel.org> Date: Thu, 21 Dec 2023 21:59:56 +0530 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 On Tue, 19 Dec 2023 20:33:50 +0100, Christophe JAILLET wrote: > ida_alloc() and ida_free() should be preferred to the deprecated > ida_simple_get() and ida_simple_remove(). > > This is less verbose. > > Note that the upper limit of ida_simple_get() is exclusive, but the one of > ida_alloc_range() is inclusive. Sothis change allows one more device. > > [...] Applied, thanks! [1/1] dmaengine: idxd: Remove usage of the deprecated ida_simple_xx() API commit: 1075ee66a8c19bfa375b19c236fd6a22a867f138 Best regards, -- ~Vinod