Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp617146imm; Wed, 26 Sep 2018 04:17:04 -0700 (PDT) X-Google-Smtp-Source: ACcGV61HK+RPZ4iiHyCErXZsWWkNw9kWg4UpZT0RTr3F9HhCSteXAWc649I6eTKLhgRJED11FJj9 X-Received: by 2002:a63:754a:: with SMTP id f10-v6mr5174837pgn.137.1537960624248; Wed, 26 Sep 2018 04:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537960624; cv=none; d=google.com; s=arc-20160816; b=DeNiDZ4n3KsvPxl6SDNtB7FRGvFCooFupsM2sUcySyS8/adGj2TjEXEwLHRhbtTjdC IGXAKq2Fzb/gTh3zfNlkkxdYbFM13gX2uNZ+J9GjSGIi5qwYxZ0ibmuexA7OURe5K5HU eTtlnaL4b9MGSyTc1Klz126pHVs5m2Et2Yvd7TM9IlTGfV6CVcdEJnPBvhJqIyKxuPfD C8/VkLiH5odgdCEa5K52N5/+HkaVWnp3QcpH0/f34SCVyzhQgMMAdGu2ZxF5ncehPnau tzrj0q9/RdQ+sKLaW3E/15t/iCQR2u1sR0k4ewju2w4hpM6ZFyNHMEbnErM9Ux9r0Wag hJ/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4uTy+mmOaZ76/eGRokeLFBv4J+yiuPWsYbtjpghyX7A=; b=boRh+mtYFbCG8YrC0vpeCXtFnH0t1plnM8NmN88JPyDHX8wK809Gddbpw2SuCAQzep cHLwl8mx0EoBey6FISgZrXLi3sLJeRptECwnJI5PO9k8xEpcbndwHVghBfNF6JixEBEZ sFCyt6+3jJEttQqu4uwf6cfC0CI+vXGK0KkYIUjZ6U9jKA3A8pbojPaITYRP3DMGvaJu WdxUVMQS9B8uEA450Oy3qcdkNGbhdE753GoBPDqbhCD+s9RgIRyBbXGkPjsBXyWnFGsb ZaZMFrERQaVg0G5YgKutHUQr3LxlTwsT3Ur8T/O0M0EZlsuvEogDv6MD2Qg3tW9Bgjl1 DwaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U9vlvx3x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k28-v6si5164890pgf.308.2018.09.26.04.16.48; Wed, 26 Sep 2018 04:17:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U9vlvx3x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727375AbeIZR3F (ORCPT + 99 others); Wed, 26 Sep 2018 13:29:05 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38770 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726595AbeIZR3E (ORCPT ); Wed, 26 Sep 2018 13:29:04 -0400 Received: by mail-wm1-f67.google.com with SMTP id z16-v6so1881880wmi.3 for ; Wed, 26 Sep 2018 04:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4uTy+mmOaZ76/eGRokeLFBv4J+yiuPWsYbtjpghyX7A=; b=U9vlvx3xFnm5Dnl2bL/EMvO+Sqb9RrBBBlKjy9WtUesqDY93j7qesBt78fctkPugOF kdAud/pEu0358FazKHXp53PqACJSI+VO4JPnPeqJuJDGl3N8pEXL3S2YrJnlwhVqrkFo 0PRG09ULDJgJEXqvtD2tLg7NDiHPESrbz/ChGwulHS1Ua6YUc7n3km7/hk7oNcdZO2rH AvLiClvmZZ9cPr9BjL/Vqq+0KwjnKMHWcWTZJWcObV4XdeDfZxP3pB7DC3wtXDa4fGr4 ZtLZ6aP2+2BSmqdE4XT2/rzzeKf2NYKZaSaKhf9vNVFcz1VDL2+5kuv4m7FPeKKj9fUu hXpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4uTy+mmOaZ76/eGRokeLFBv4J+yiuPWsYbtjpghyX7A=; b=MNYW2LldB5EnHygf90yZHL9slfTYgR/LLfdvgg5hkqP3QOLyk0XuEO3qXoqaK0PhLB N6/2aBsY7a7xDGGdXODna5sB5unk+veukzJLJD+66QDcqOU8kErgdBOk/MOPjzuIjMF5 AbSgvNlQ6qvFpsnEdBcrqpuBxFDdNJPkQgeIJWRiSmTp03UkPNXe/XZ9QDn7iYCv0gZM 8cNAYdQuwUqpwYfX6RAKjlS+gY3BG7WPdW8CpgWVwNS8Bbt63VwMV6kpG1n4YBiib0J+ EQRbzn1nMyLZaT7RJUGNJC6BgU00xc40/F05rHUMiEaWk4Aq8k7eDCchC/PlWEQZUrbb Bzrg== X-Gm-Message-State: ABuFfojSc17VFSeqp1iDLf0dYhpVQ1eehcLDV8Vp9wpSHzesXqGSzKA7 SnSkLpg0tAdl+Vd9QKrAvjk= X-Received: by 2002:a1c:ef15:: with SMTP id n21-v6mr2613205wmh.151.1537960595212; Wed, 26 Sep 2018 04:16:35 -0700 (PDT) Received: from laptop.localdomain ([37.122.159.87]) by smtp.gmail.com with ESMTPSA id r64-v6sm3885724wme.42.2018.09.26.04.16.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 04:16:34 -0700 (PDT) From: Yasha Cherikovsky To: Ralf Baechle , Paul Burton , James Hogan , linux-mips@linux-mips.org Cc: Yasha Cherikovsky , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/1] MIPS: Lexra CPU support, prerequisite patch Date: Wed, 26 Sep 2018 14:16:14 +0300 Message-Id: <20180926111615.6780-1-yasha.che3@gmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is the v2 of: https://www.linux-mips.org/archives/linux-mips/2018-09/msg00641.html Changelog: v1 -> v2: - Rebased on v4.19-rc5 - Addressed Paul's comments: https://www.linux-mips.org/archives/linux-mips/2018-09/msg00735.html The patch is also available at: https://github.com/yashac3/linux-rtl8186/commits/unaligned_load_store_on_4_19 Please review. --- This is a prerequisite patch required for adding Lexra CPU [1] support in arch/mips. It does not add any Lexra CPU support yet, but it is required for such future support. The patch is written on top of v4.19-rc5. Background: I'm currently working on porting Linux/MIPS to run on the Realtek RTL8186 SoC [1], which has Lexra LX5280 CPU [2]. The complete Lexra+RTL8186 support is still WIP [3] so I'm not sending that for review right now. Thanks, Yasha [1] https://wikidevi.com/wiki/Realtek_RTL8186 [2] https://www.linux-mips.org/wiki/Lexra [3] https://github.com/yashac3/linux-rtl8186/commits/rtl8186-porting-for-upstream-4.18 Cc: linux-kernel@vger.kernel.org Yasha Cherikovsky (1): MIPS: Add Kconfig variable for CPUs with unaligned load/store instructions arch/mips/Kconfig | 35 +++++++++++++++++++++++++-- arch/mips/kernel/unaligned.c | 47 ++++++++++++++++++------------------ arch/mips/lib/memcpy.S | 10 ++++---- arch/mips/lib/memset.S | 12 ++++----- 4 files changed, 67 insertions(+), 37 deletions(-) -- 2.19.0