From owner-svn-src-all@freebsd.org Fri Nov 1 01:08:15 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CCED117C125 for ; Fri, 1 Nov 2019 01:08:15 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4743wG5M0mz43dJ for ; Fri, 1 Nov 2019 01:08:14 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qt1-x831.google.com with SMTP id o3so11056290qtj.8 for ; Thu, 31 Oct 2019 18:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nEn2m2gvkEX0H2IHDf+jBrK61vMxuTyOYeHcalb42j8=; b=UioHO9GRi2MSYQI6t15ov18TNGpEz86+0PM7G/oG5H5CMs6Vjh8K4s8xIsLYgGxlI0 IKfbDXf/3tieywq7D+q7DEsZSi+wC0KbLPe2bc45cj+1aQ1uck0gXtUNPNNjzwk/zQ4F gHztwMzvLTvErRIb44/3BqMZPq+VjKbpW9Nsu8UD7wshkx5x9emen48FQABhMTklJgTI VBzaaB6h4XkKGS6LgmH83jFzz7jGhxiN/nWQRpckVdh/jt73FGan0yGX2TsWZjeuEyFz UN2uKuKXOSzB7TAEAOHXwlb0vhHlupdKH3YeFy8QA0dg1z/XDMIupZ16Vu5m2z56vFBL SbyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nEn2m2gvkEX0H2IHDf+jBrK61vMxuTyOYeHcalb42j8=; b=gfQ9kCrzqLjzETMERPI4kASt7ixh170WgK8MylClldt7iKBvgUoHmV5jVRpP7x6FZs SZ8U4RUX5gZu6G+/YyNFuqh9rHX/YJLJKsP3681UgcMkfpy70ywDaXO8MzJTsPMYqe69 EH/vIkLBH60xtFzYROSlKLmKY8KOhInxvYcUSX9x5lE86ulK6efY5vqgFZGBQh15TChF lUxjGtlWSYNGZQ8TfcUIyMkOHFm0lFQDP41WLpB4h4m+DfYjz0YqNRnIG4BoEfvbebCO dD2nEpQEsWqm07SJG19wBohtlxEyPoNMtKE3H1oa8qsy6Ac2Iklpg1LrtvY5YrRYdYe7 a/cg== X-Gm-Message-State: APjAAAURjudQvBGqH+j+IqlT/1a768Ji8yFZLLVqqdaLVqoM7kluuxB6 rXS8mGiU9WdkNIMQtvlEfFCuOe1xkkuDMMbAQ5Qb+g== X-Google-Smtp-Source: APXvYqyqfh33n9xK1GPYz5GGEcFidNvAQ90XzZayZxxVoOLqC2RsgiBMs/rfvIsJbnnu4NMJtDLwHnIbojipyRQcJgk= X-Received: by 2002:a0c:f704:: with SMTP id w4mr7696691qvn.167.1572570492312; Thu, 31 Oct 2019 18:08:12 -0700 (PDT) MIME-Version: 1.0 References: <201910311538.x9VFcHPE053035@repo.freebsd.org> <2fc49b6e-0294-cb5f-bbca-8a53f6aba036@FreeBSD.org> In-Reply-To: <2fc49b6e-0294-cb5f-bbca-8a53f6aba036@FreeBSD.org> From: Marcin Wojtas Date: Fri, 1 Nov 2019 02:08:02 +0100 Message-ID: Subject: Re: svn commit: r354218 - head/sys/dev/ena To: John Baldwin Cc: Marcin Wojtas , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Rspamd-Queue-Id: 4743wG5M0mz43dJ X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=UioHO9GR; dmarc=none; spf=none (mx1.freebsd.org: domain of mw@semihalf.com has no SPF policy when checking 2607:f8b0:4864:20::831) smtp.mailfrom=mw@semihalf.com X-Spamd-Result: default: False [-5.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[svn-src-all@freebsd.org]; DMARC_NA(0.00)[semihalf.com]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[semihalf-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[1.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.75)[ip: (-9.29), ipnet: 2607:f8b0::/32(-2.39), asn: 15169(-2.04), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2019 01:08:15 -0000 Hi John, Sure, will be happy to test. Please let me know and cc mk@semihalf.com. Best regards, Marcin pt., 1 lis 2019 o 01:04 John Baldwin napisa=C5=82(a): > On 10/31/19 8:38 AM, Marcin Wojtas wrote: > > Author: mw > > Date: Thu Oct 31 15:38:17 2019 > > New Revision: 354218 > > URL: https://svnweb.freebsd.org/changeset/base/354218 > > > > Log: > > Add WC support for arm64 in the ENA driver > > > > As the pmamp_change_attr() is public on arm64 since r351131, it can b= e > > used on the arm64 to map memory range as with the write combined > > attribute. > > > > It requires the driver to use generic VM_MEMATTR_WRITE_COMBINING flag > > instead of the x86 specific PAT_WRITE_COMBINING. > > > > Differential Revision: https://reviews.freebsd.org/D21931 > > Submitted by: Michal Krawczyk > > Obtained from: Semihalf > > Sponsored by: Amazon, Inc. > > This isn't the right API for this, but the right API isn't ready yet on > arm64. I have a patch to add bus_map_resource support on all platforms > that I'm working on testing, and that will be the right way to request > this in the future once it lands. > > -- > -- > John Baldwin >