From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 9C65316BE13 for ; Mon, 5 Aug 2024 17:38:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722879508; cv=none; b=o60GLwY778vlW6yNfe6D0h1HDue0Z263qG4e31ICdX8XT2Vwk8UAw+kQ3v8FqEelR92w/4WVcduffAEwu6zY3HgzIajfxLn0TVz6WZOLPq61AhY+AWADNpwgF/NYPLKd8Z9ey4PFpJUxUcS+qDAUN7lf6kWLqX3rGgolEWRPETo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722879508; c=relaxed/simple; bh=ik8EI0eu3P6stBq1q1xB5IG4bhoSIH/gjP7dkCDbQdY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=utChYiVfCFYazna4dLfszE+pnT20HrM/axlmXXrST3lBibBavHWHeW/ScToCBH+9NRZla+Ln8zooWkkA4Rz8tAkHysWOfmrPWiuc38LmgPT/XSkN875GKFwnx2r/zmlfdgeFwmkPhw3uhxww+GuPvvIwGbS64Jc15aB3xip3h1w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=egrvSP7L; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="egrvSP7L" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1fd65aaac27so40186475ad.1 for ; Mon, 05 Aug 2024 10:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1722879506; x=1723484306; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VZkU76SoGtSfmnwPfEEw88qwH45x7O9KVsPVc+U7f04=; b=egrvSP7LRcv4U55hUov6FgQTBhehfu39bfQVH775NHIHJmROMyJQT6nQ4SfX3aNZL6 6u74HD6qv6w3dXun7jTztfHH7ib898FPshP5SGV5NLNFB6Lkyd3ie7pMWuIYEQRt00Zu 8fc5RPjKUqVOAklXaHUtKjjugDqDb4SaXt0lPJTAw3GweEI4jBWJTOF+etM4tUmpRDcq QgijJVhV14CEGR0pPh9pJUlyoAYy/iT9dMQ3HV09qdM6IVSQxLyneby17EqInG9tzz3p HjG81Xlc1/6tLTEmnjc/h83P3/S9ZOYc2I1iN8+TUiYhxJ+8v+JnLLOd7vOvYFEecZmm JOCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722879506; x=1723484306; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VZkU76SoGtSfmnwPfEEw88qwH45x7O9KVsPVc+U7f04=; b=EAJt6GCHO2ZjAzMuONTa+YIFrpFv+QTmONB24Jrm0xUTwXbNuwMIBa3bNaivp5sUKv N+KOkityv41r2HPDa2gu4DeKUXV5Xq8K2GMPISSJ9GT42XIqlYjpZuO+Ce3diacQWFfX dWBiTh/EMWBJJXsMdK14l469p1BO6fCAexDOgWwPCx9qAvcDSz/X//aR6CrrXyFs5l31 KX0IcZOAGdlNf2TJ45TJfu2JJ5kXF6z1LlxP+L2L0VX0A1ZKzrHkQgmwIrcz9uCnuBRp jVMt/cgMgHNW7ipyTdtGpeZgJggIZaLRJc9xLMIS9+64Lpin389RPYQrpfIWXfLpZ78+ xM+Q== X-Forwarded-Encrypted: i=1; AJvYcCW3PHZMr5jSgSwakHsB+3pc3hI0yxqFR0BkGleqRvGCvOK2Dun4hTkSJultr8tTdtSt4LIoOSej6cCUmilATSx/iocmZnKY0bd8Tw== X-Gm-Message-State: AOJu0Yx7eiSSjw/tKi0UrdgoqspuuBxe5aZ4EVnZpo0aGSoV/43ULkIG mkjDYrRRFMn29iCiuMd9q5OAXumeiqRakoz2+LpxSQbBSBkZEhWV+GAHOlONTAo= X-Google-Smtp-Source: AGHT+IHhD7ZA5U9zNGbfmuHz6Kc73fLM0dyk7QDOl15u9J4kpVy9BxqJMA6+3ZrOnp9i0Fr8cg59Bg== X-Received: by 2002:a17:902:d48f:b0:1fb:9cbf:b4e3 with SMTP id d9443c01a7336-1ff57ea1a8bmr218560665ad.22.1722879505996; Mon, 05 Aug 2024 10:38:25 -0700 (PDT) Received: from jesse-desktop.ba.rivosinc.com (pool-108-26-179-17.bstnma.fios.verizon.net. [108.26.179.17]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ff5929407asm71128435ad.242.2024.08.05.10.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 10:38:25 -0700 (PDT) From: Jesse Taube To: linux-riscv@lists.infradead.org Cc: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Rob Herring , Krzysztof Kozlowski , =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Evan Green , Andrew Jones , Jesse Taube , Charlie Jenkins , Xiao Wang , Andy Chiu , Eric Biggers , Greentime Hu , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Heiko Stuebner , Costa Shulyupin , Andrew Morton , Baoquan He , Anup Patel , Zong Li , Sami Tolvanen , Ben Dooks , Alexandre Ghiti , "Gustavo A. R. Silva" , Erick Archer , Joel Granados , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/1] RISC-V: kernel parameter for unaligned access speed Date: Mon, 5 Aug 2024 13:38:16 -0400 Message-ID: <20240805173816.3722002-2-jesse@rivosinc.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240805173816.3722002-1-jesse@rivosinc.com> References: <20240805173816.3722002-1-jesse@rivosinc.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add a kernel parameter to the unaligned access speed. This allows skiping of the speed tests for unaligned accesses, which often is very slow. This patch requires (RISC-V: Detect and report speed of unaligned vector accesses) to be applied first. https://lore.kernel.org/all/20240726163719.1667923-1-jesse@rivosinc.com/ Jesse Taube (1): RISC-V: Add parameter to unaligned access speed arch/riscv/kernel/unaligned_access_speed.c | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) -- 2.45.2