From nobody Sun Jun 30 00:59:29 2024 X-Original-To: freebsd-mips@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WBW6S5Kxzz5QCLC for ; Sun, 30 Jun 2024 00:59:44 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WBW6S3Yc7z4hZ3 for ; Sun, 30 Jun 2024 00:59:44 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-702052976f7so535102a34.1 for ; Sat, 29 Jun 2024 17:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1719709181; x=1720313981; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ngV2bJi04rvXxaxsEnjTXloMIleez/VXkLGS3U12cYI=; b=Mg7J6eDMHFOTmaPk5v2RKym/3/9tga10YW1rRep6CO1gmhEtUMXy7cEtf9NiSfu0QX 6fiQ9BrOnI5q3BtGMnftF2OGrh+WjKVGzZjiCskMMKxWGzekRfRqh06N31hIG6MlhvRz xf88J47RUqAlmUvIv6PBR5FWgUZ5uYJb58BaegiNu+PXncbEitoDrw3CrQyQnv6QMWVi S0JLZRzYswEKBylNzVnqoCkzGlmc8W4VKO9Y9rkXi9NQazE5aH+JTxiyfG1D4zGXk+gK Ou1wOFg+rXfmEsCycQXL5WlngcNPmEhELUOg1ZgUOIWZRQW8t0Q2pvXythA9IqwRcxRA cS/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719709181; x=1720313981; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ngV2bJi04rvXxaxsEnjTXloMIleez/VXkLGS3U12cYI=; b=uU9hgnJq2ni5P2H9JwGZaQ3m9k6ifk6wFE+TRPK3HwM/pL2d34zI3BQRGBAGxlnUXc wLTX4bwqN4Y37ANifrLDjrEmSo+H2WjuriAK/DVX6Y5+XuyyPUC0gYzZjPhpjrViHSbi nnHayaWk+5HvKYfyyJQFEkKXDPH1nq++HKZ8Bb4pr1tQ1Qx5XRfpwzaIPIX/gyV34KxQ Q6pLOXI5A1f30yX4cUF7HsMEJdHUJbcaXqftrJclaQTCOweCqITr84NVLJDdqRNuzjle 0Gt2v0nAUmgDKBziSysNAdBjg/UIAPUoI189kkvv6otP1VLOo+R0OBF3Vl6uq3eSL/zE zbHQ== X-Gm-Message-State: AOJu0YymjsAF0ZWql6GEoZOthtcsfW/lghXxmVf5ys8XVFOgwqkgN0DZ 6j8xkzrF+YdyStlFD4lkqkX+MRA/qEqNRTNOlCEpjcSY3oL+km+wuQzK3SehxuYtDSLQ6HHtXIT 20JbDWiLp7OTQKGhPcKP0K9Him7yg99EbzCjvWw== X-Google-Smtp-Source: AGHT+IE+FXTiLunqs3QtON91+z3lhiAxK/RpCiLlm7xH8/MCn/gPNR7plVebhBgxqxw15u6puKNm5bYJS/LW8LEjhFE= X-Received: by 2002:a05:6359:6092:b0:1a6:b0e6:9f1 with SMTP id e5c5f4694b2df-1a6b0e60bccmr128362755d.11.1719709181420; Sat, 29 Jun 2024 17:59:41 -0700 (PDT) List-Id: Porting FreeBSD to MIPS List-Archive: https://lists.freebsd.org/archives/freebsd-mips List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-mips@FreeBSD.org MIME-Version: 1.0 References: <1755892511.113756.1719706360739.ref@mail.yahoo.co.jp> <1755892511.113756.1719706360739@mail.yahoo.co.jp> In-Reply-To: <1755892511.113756.1719706360739@mail.yahoo.co.jp> From: Warner Losh Date: Sat, 29 Jun 2024 18:59:29 -0600 Message-ID: Subject: Re: mtk_spi_v2 hack To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000e0407b061c10fe68" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4WBW6S3Yc7z4hZ3 --000000000000e0407b061c10fe68 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 29, 2024, 6:12=E2=80=AFPM Mori Hiroki w= rote: > Hi > > I hacked MT7628 spi read access. > > > https://github.com/ZRouter/freebsd-src/commit/b0efa0f0cd83e62f29ce879b502= 3d27c71dc99e9 > > About 300% faster than byte access. > Nice Warner > --000000000000e0407b061c10fe68 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, Jun 29, 2024, 6:12=E2=80=AFPM Mori Hiroki <= yamori813@yahoo.co.jp> wrot= e:
Hi

I hacked MT7628 spi read access.

htt= ps://github.com/ZRouter/freebsd-src/commit/b0efa0f0cd83e62f29ce879b5023d27c= 71dc99e9

About 300% faster than byte access.

Nice

Warner
--000000000000e0407b061c10fe68--