Message ID | 20240206-axi-spi-engine-round-2-1-v1-0-ea6eeb60f4fb@baylibre.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-55600-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1807269dyb; Tue, 6 Feb 2024 12:34:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IEh3QMczmDC3R1aLNAZgYMnwRAfz/i8cyqgbH+n4v4Cz0YZUI6hNCU74h2MHpHi1+jZKp8Z X-Received: by 2002:a05:6830:6684:b0:6e2:b5e4:30d4 with SMTP id cq4-20020a056830668400b006e2b5e430d4mr1377049otb.26.1707251645171; Tue, 06 Feb 2024 12:34:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707251645; cv=pass; d=google.com; s=arc-20160816; b=YLxLf8aEGeBJe/tkSyJALtar0ypcsRS1HE6ZP45NNjR8LDV7LGQ109aKXOpER2O40j z/+g+N0ENUsnejR8lVymeh3AAblZ5dBE57yF7dfrtnAVc95Rz4exo2vvwikmm8juu3eB lgSAwYbgaUpdSMRhkgKmAQsEnPvPWq5SnFwUsEhD+yG6QprKGZJ0Dd2N03R3ghHRsqnq AGvr23l0F8ac4rTEI5ToPILEcY2xz0UIi4pdNuMicvBuqRC9+dimlkw3Lbqy4RAlPfW+ oagCefy1PaYjtNWGj++K/ihBgkRe0vlKO32Oefo348v26fNRxylWX3iMEY/esWUYkoFn 1/3Q== ARC-Message-Signature: i=2; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=ubZDa4GWwL/GMCOFFCbm4p521hfLHa5fIJTQTEH+mC4=; fh=Ig+XxKFLt1vfBORGzlW6YPYVQXydnMTqTKtY4M1BjD8=; b=olvwEhXcZvYlBQE7V1OwfQhhpCAQMkj/eeK4iHyHAO2Fe4K9ig+tynspJzIlswS+CB LHbYRgqqyIbLmOcZnu9jqI0Q0MoTUgHDlMd2s5SFvcTx6vbPw32lfUyK0V6SbEC3c65m agKfK0ZK7WmMAjwxrjkal06fQJ4CXeRrYSa4AHonlen89RxvjvR7rJEIu4JSWH+5qOXE iYYAwg8oz6eYX2T+xy12xwLrEtTmUt30nJCDlyyJmjjvalnnTjErWbvOVjvwjNqSaN1J 5I85yYN52NTLKS31VKgrXf2tQikor4P4dME5JwTU65irWAvk3LLQ6r2rydjK41xNdX6Q uLeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=K0UR7+ei; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-55600-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55600-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXYXPUTaXPbgQqZ0puGucAmNqJS1bs6sd8DjEB+syWtOIth0OMI6+r38vT5jnBRckXdSdyH/Rw0xaC0bG88Mj9hDNpdnA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b20-20020ac87fd4000000b0042c36f44980si1909783qtk.427.2024.02.06.12.34.05 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 12:34:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55600-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=K0UR7+ei; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-55600-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55600-ouuuleilei=gmail.com@vger.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 EC3B61C23A51 for <ouuuleilei@gmail.com>; Tue, 6 Feb 2024 20:34:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E6571BDE1; Tue, 6 Feb 2024 20:33:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="K0UR7+ei" Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (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 981C31B800 for <linux-kernel@vger.kernel.org>; Tue, 6 Feb 2024 20:33:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707251608; cv=none; b=aUpUsXbYCU71MVkfyy7VuRxwMwYeURjCFfdLLfP/6aoCIPB8BkJoQiRWWv0SmbdA/JxJoUxHBsb+Gs7tCzq2Dp4NnLNwNUvguSyhQ/Iy1sqAPiad5FQpfPMqxSlStIF7rGk6TMLJ6MQM7lILkQ2FtyDCTClPL+sZiGXkU5Y69Xs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707251608; c=relaxed/simple; bh=MPYoHxeKPCnc9gpbdDoN3NGU8IjyGGLHn+vuIM5QKh4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=rAd3nu7uccijYKrqiTOFR3pHD+CeNoDiqVAGjEqvqkLBvYLRT6n5BGjRxNqPE5TeylqsBWoqttVudYJhG3VhB3REvCnYSaBCPdOoM9Tysar2cVYZsfrW4uIuLSAXGYLMFAk8/A7iTGgZmgpfkXBeppUyz3edOvQam/kcmDe6iSw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=K0UR7+ei; arc=none smtp.client-ip=209.85.210.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-6e12b58a3beso564101a34.1 for <linux-kernel@vger.kernel.org>; Tue, 06 Feb 2024 12:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1707251604; x=1707856404; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ubZDa4GWwL/GMCOFFCbm4p521hfLHa5fIJTQTEH+mC4=; b=K0UR7+eiRyU6G3jpRDUeWqAu7iC/OISFVgQBtg7w2V5NI4mzdkIw3y0MBNU3an8chS ki36mByrOjRfjDvrGWFaWGgueP2sx3eo0JkibrmTDKSfPYkf6oAOWLSv7yEAuvcx86fM r41SCGdSF4bQd5Gnu7jWXp0EGODdjAcnZ7v5g940zhUSdwFRPQUqs6P1FTmNAqzR35oR a9WL1phrDOH5Sjcgdm9PWEbrawM7KMlIkhy/vkjSd060SLZ5v/BJCPmHRHTNYWYHcxBM bizAp8pZ/RowrZ4XdJ4TCAO6F6T/Ryk+Gkby3iARdUm+n7bAQk1qGvH9UoyMmsqUwHO3 aEew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707251604; x=1707856404; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ubZDa4GWwL/GMCOFFCbm4p521hfLHa5fIJTQTEH+mC4=; b=lzwumuyvbe//0R8ZYTTCTZpTIPqO/OqMoXc8J0FhkGGHlvitGe0MpmTrYoFMMjbW7O LlNwS6HbrQPRwJuFkT4dG7yFU2PJJUquxl1Ynfh9oJktxln5oyYoTuw/nDZsrEJ1u4mn qIVwDWH2ZYXMvPgk4QQ5nDTe84/0GVCQgY0OygVlqBmr0ID6tnIspwSjjliUeCInwh6j sSs3UWvuzEQ374x4rwq8SzV/n2BvT2IiKTtgVxJMuBiVRhF+J/o5Xep+EOK3xEvhxlBv eAjQkku7nca11bndF91BB8tkG9vjRaS8JRo9tHHAQ4osu3NMSrPs3CDnYxUSNs4oDgYO rpNg== X-Gm-Message-State: AOJu0YzGUhEQkxHCpbnJskxicXxgUoF+okUB8c/WElbSiOAB+WfKzI/j jElYhPJP0sW92mj5tm8g0/9KnxkOWU90m+C2G99PYrtkVodgQ6KATAOFKzf8zuA= X-Received: by 2002:a05:6830:2b07:b0:6dd:e52e:1f53 with SMTP id l7-20020a0568302b0700b006dde52e1f53mr4437162otv.11.1707251604638; Tue, 06 Feb 2024 12:33:24 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUc4QlC/D04/jFnLNY7nLmAqLbKweCSCNCkkSvJLolyaHb2T9nN3NySWtiFf98CM5bizcVXIkRpJ5ju+e4aKC/BUwjYjtiS+hFiXyY+Ssi2QCiXvux8G46o3V9eXGaqeCPosPvinboR3YCxzR22EfPPRimG/cP0Rg11U4+C9opdgaIkukQ6yFYV1MeTNyz6PyRJ8w== Received: from freyr.lechnology.com (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id l2-20020a05683016c200b006e11d93ff09sm429581otr.72.2024.02.06.12.33.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 12:33:24 -0800 (PST) From: David Lechner <dlechner@baylibre.com> To: linux-spi@vger.kernel.org Cc: David Lechner <dlechner@baylibre.com>, Mark Brown <broonie@kernel.org>, Michael Hennerich <michael.hennerich@analog.com>, =?utf-8?q?Nuno_S=C3=A1?= <nuno.sa@analog.com>, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] spi: axi-spi-engine: performance improvements Date: Tue, 6 Feb 2024 14:31:26 -0600 Message-ID: <20240206-axi-spi-engine-round-2-1-v1-0-ea6eeb60f4fb@baylibre.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.12.4 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790183101279780440 X-GMAIL-MSGID: 1790183101279780440 |
Series |
spi: axi-spi-engine: performance improvements
|
|
Message
David Lechner
Feb. 6, 2024, 8:31 p.m. UTC
While researching potential performance improvements in the core SPI code, we found a few low-hanging opportunities for improvements in the AXI SPI Engine driver. --- David Lechner (2): spi: axi-spi-engine: remove use of ida for sync id spi: axi-spi-engine: move msg finalization out of irq handler drivers/spi/spi-axi-spi-engine.c | 67 +++++++++++++--------------------------- 1 file changed, 21 insertions(+), 46 deletions(-) --- base-commit: 80fa6a033ac8c395a3de4840e204638e92b8b371 change-id: 20240206-axi-spi-engine-round-2-1-bb73990abac3
Comments
On Tue, 06 Feb 2024 14:31:26 -0600, David Lechner wrote: > While researching potential performance improvements in the core SPI > code, we found a few low-hanging opportunities for improvements in the > AXI SPI Engine driver. > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/2] spi: axi-spi-engine: remove use of ida for sync id commit: 531860e12da76a444e0ecfd37a9d786e7986957a [2/2] spi: axi-spi-engine: move msg finalization out of irq handler commit: abb4b46c43689dd1f4d80c41e49127ca0ede75b3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark