From patchwork Wed Dec 11 13:26:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 922 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 12C723F076 for ; Wed, 11 Dec 2019 14:26:36 +0100 (CET) Received: by mail-pj1-f69.google.com with SMTP id e7sf11558691pjt.22 for ; Wed, 11 Dec 2019 05:26:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576070794; cv=pass; d=google.com; s=arc-20160816; b=r5hjLhUqWzjiQRdwLsTelNejj5Nse8QSbeoGY6mGm9eKpjCM0XxbHBUpEFz7WQaAmK Mhgk602nQmbx2KBJh/I/iAXoxIZjGLt1IKO2hMBvMV0q2cKuas0By9D66yjo1Ki5mlzh UlqXuY3u3IgKtsP2u7IPEDgfEt3VgRTe5t8kSEHX6GZaEPFX34N09aXGL5JnwxFlGT9q 13ubiDCdM3xG31NrG9ukk0G5mFKVnDErDfoor+Htj5eZI6sH4S6vdCrruwaaJ4bvVtRa eZXKi6Uoay671P3ZR0vqRG5aymvuwyTj/rsUUupgjsj/YQBhfX1V1jJdIFEt4fAy/shi X0RQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=p6auCMkMklhy8xgcgaKy70OLc+EcSr6BRut0t5Zccc4=; b=m2/g3WuVyBG0KclPE0fwHJpv7ZMXgogufTtImF5hyMzYPJ9p5xDdQZPsDyTPV0917I K2GO4TkJ3xIm2w3s1I7rJCRDXtrm68bh0V7zj7J2uLLDH3mgYJsoyXZtOdued5RbaTxe QLBk3qEQjX3KR3EbyrwQ2nx28TS2J8mzM9Eei+ISKMou60nLLG4FHVukjeUQJdkGsnbJ NDhl473lzORSLq7qVmXJTAy/0ZxXW66j8dM+CE8TE78aeg0rAbrNJQJTHrjtUD5EiYnI YV9Zi8kYgzs4RMyPW+kXG0qc5fUSakE84BtnCYySkyGGWmd6CCTjIp3Clr8SdOsze03E 6Mfg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P+Yc0+Df; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=p6auCMkMklhy8xgcgaKy70OLc+EcSr6BRut0t5Zccc4=; b=NwLLdOCYzqLKbCYRES8V4qjSZTYirGc0E2dMfBkLohFHW12mJqAOuRLaeqFttBmmng 0poG4HliL0y6BHFxk4PxHBKarFwaIRfixf//SJti9zL0gftoOqFmdau8MsY0eLamsp4e 00b4PGfMDfhyPzodhUlHKpBeyq9NONILr11HI= 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 :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=p6auCMkMklhy8xgcgaKy70OLc+EcSr6BRut0t5Zccc4=; b=HT5nBhuoxIfZlfzLXkSExSoOMvY11vkNcSxFO0VtKN/SdJS2CSgB/NyrzzlHYLxulx usrcEZwfVie8Ly3jZBsfIN4ATFDjqGkUETxeFaByaRFE97ziQnPcQ5V/ffqhy65nAqVT +ieEYzQDWRXOzXN6c45/EKAH10PLjyYN/gn9davhhp5uza2l8LL4w+Nn1nKwS0rcvpku uRYUlpJB1V+8YDTaLPLadOBkABABCLDP5v7sn9Kt/d1Ir41aJH3DqAkuN41ku3cnHB1I nfomymKhyA3RVHzicIiEsp0cD4K0rQHmm4yl1FX3cHeM9iakNDJBXCbOxP0r02vjV0Ea DavQ== X-Gm-Message-State: APjAAAWoEaADaPWO99Xp3vIbYadYwgTuNZj91kq/5dPSPwzn424OFDxp ybNnZ8PeI2uWgj6JlcHCtq/Fg9Dc X-Google-Smtp-Source: APXvYqw9f5AxoMjYh9+/gSNXGrUQpJLFOVMTimorA8quJsMm73a0OpHuGqUNfgF/l3buS46IOEJctw== X-Received: by 2002:a63:a019:: with SMTP id r25mr3881941pge.400.1576070793677; Wed, 11 Dec 2019 05:26:33 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:4608:: with SMTP id v8ls529221pgq.8.gmail; Wed, 11 Dec 2019 05:26:33 -0800 (PST) X-Received: by 2002:aa7:8d44:: with SMTP id s4mr3805100pfe.152.1576070793189; Wed, 11 Dec 2019 05:26:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576070793; cv=none; d=google.com; s=arc-20160816; b=uyK7Sn8sKt2Cum4XHcOPq5283S4/xsMAZrqQWwamhT7W7WH9VfHNX180u/nUFYqS3G m2TYDa3uhtusuDNu9VWgP5UFCcp2uToh0aRfPwk58eW0YonkLIg0joDO3IDmsKpBVZr/ UvEAjKr8h+R7fPLe8k/80WpuyZT30/zi2K/2o/v12PFcZzM3OjBWwuC+we3vaMJLYq1o K5qj5Jwq7KPvruBDX7u1f/5vB8RDMjH7Fq1qrQx6PNV+X0PaczIEtfFHPI7h+6CfIOYf aHkXALBwDKSiEXQeOnNciUiRrGxdYm0CQmkAf0ZYFynJkjWh2trk6WSdCEg4IRdewwCF MTYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=pXcxAKpCnQ+ZZ4Zxl8d9jIOFK7f6rB8BTPhlKZTkakI=; b=I82QLsWDdlCPhUS+GTB0twvR71LWE1y/2WDBh5GPOUzC4jleFWYfJsqUsKlgD/2GIp 9frr5r6kblydYgPAWw08VUPBry14VR5GK+fewYI9a9HS+tO9QDOrTV13+Pn7O2EWn+5i xgimeAu2wXfn2JvW0WJqxYvFKsb7jrKm7mZWphkAOG8Jeaf9d20Z5i3GTf/4Z01tLZzB BZx+++Gj8hRQGhT07IXdhV6drN5iAXKvmnqkhAwoK9wWfbQVvSf6bLzrVajBGhoYdM3K 7Fo6BSyn1KzQc0jnsSd3E/f9JRA7MVIG8g3OnDIMJSkvqwD2Y7ZWTy0TWEVha5kAlolx k1IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P+Yc0+Df; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id z11sor2175608plo.11.2019.12.11.05.26.32 for (Google Transport Security); Wed, 11 Dec 2019 05:26:32 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:b208:: with SMTP id t8mr3325665plr.38.1576070791778; Wed, 11 Dec 2019 05:26:31 -0800 (PST) Received: from localhost.localdomain ([49.206.200.202]) by smtp.gmail.com with ESMTPSA id e23sm2716145pjt.23.2019.12.11.05.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 05:26:31 -0800 (PST) From: Jagan Teki To: Simon Glass , Kever Yang , Philipp Tomsich Cc: u-boot@lists.denx.de, linux-amarula , linux-rockchip@lists.infradead.org, Jagan Teki Subject: [PATCH 0/2] spi: rk_spi: Fix transfer size overflow Date: Wed, 11 Dec 2019 18:56:21 +0530 Message-Id: <20191211132623.430-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P+Yc0+Df; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , These two patches are fixing flash read with > 64K size and spi flash read during SPI boot. Any inputs? Jagan. Jagan Teki (2): Revert "rockchip: spi: fix off-by-one in chunk size computation" spi: rk_spi: Fix overflow max chunk size drivers/spi/rk_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)