From owner-freebsd-arm@freebsd.org Mon Apr 3 13:16:47 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 723C2D2CEF8 for ; Mon, 3 Apr 2017 13:16:47 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C3F49BA for ; Mon, 3 Apr 2017 13:16:47 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-io0-x22d.google.com with SMTP id b140so74800214iof.1 for ; Mon, 03 Apr 2017 06:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NNjOfgCkI5F9iFakIKsZE3xaRilOKxQvYHf/YQEEz/0=; b=DrZMcgeu5rNqFOvtax81Js8ymxMr1DaFpLdQO3RIMkEkSBCbhOmsV58mmMzoIJClqi GShK+DfRQsHODe11OhJ17x12dei/RjRlM9d2d2+RoVvFTehT9GMDzLGiDs0bR2+o54ja 35xvYIoqOGGcauu8Q9AzxJ0mUwdk9s1u6WTO//vS+KyDMKlELCJtj0dLH//YFqL9xdQ1 Gn4MoGlrgXUtcu32mv9f4b0InxG4ODP38KIZ0CV0EeC9DbDP2g6MrIHMcDkOO9AaPJLl yHB8YvBHaOskNx1w4Q/t/xIJQMj4YWPpC+jxq8prACNDkFxExQ8Ld8tffB/YGjeH1EA5 fanw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NNjOfgCkI5F9iFakIKsZE3xaRilOKxQvYHf/YQEEz/0=; b=hPu2RUrP/5gsnqoKFD7ENGM/eYrb9m2pyG+vXhuPYIwbatiJW9pUUWoA9RAZ2Z5q0m GjY59NXYFN/saWnwa6M2FFCLBL2rbyClX0QqBrtn6kmdEq3SLigz5CSL5uOvwTKqb+9z xOPMGxfkVp1vJQOaZURcq19Zm8BrN9AqmLCLLKdno1qYoPKsAbZUYClDKZBruzsRNnrV m1pDVEs6bBADveI0xMsdYfnUETktHWTIIxFHhWIKCFHmKT0LGfW3BxGJulO6BrddQCDd seIRiUFsdXKW1gdHcRXq/2jobEP5o6Fcw4fGOuy7iRoCU7gYpyNpS/1QP6r1/1vF6RHT uoKw== X-Gm-Message-State: AFeK/H1xSLGwexh7XERyD/TtC9hIuP5vxyBH9mduEr7XIUmQ59r+T4lY5LmBKGm+w8a2ICPa9lki0W9kIUZ47w== X-Received: by 10.107.32.199 with SMTP id g190mr17516459iog.117.1491225406572; Mon, 03 Apr 2017 06:16:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.169.146 with HTTP; Mon, 3 Apr 2017 06:16:45 -0700 (PDT) In-Reply-To: References: From: Marcin Wojtas Date: Mon, 3 Apr 2017 15:16:45 +0200 Message-ID: Subject: Re: Coherent bus_dma for ARMv7 To: Adrian Chadd Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2017 13:16:47 -0000 Hi Adrian, Frankly we are not such experts in armv6 bus_dma, which looks more complicated than one in arm64, so we thought it's much safer no to mix the two solutions and leave for the user a single switch to decide, which one to pick. Afaik Andrew Turner did the oposite for arm64 (implement not coherent solution on top of coherent bus_dma), however I'm not sure if it's possible here in an easy way - there's also pretty significant risk of regression for all platforms. Please let me know your opinion. Do you think some sort of update of armv6 is doable? Marcin 2017-04-02 2:00 GMT+02:00 Adrian Chadd : > hiya, > > so why's this need to be different? can't it somehow be merged with > the existing busdma code? > > > > -adrian > > > On 31 March 2017 at 07:05, Marcin Wojtas wrote: >> Patch with the coherent bus_dma support attached. >> >> Marcin >> >> 2017-03-31 16:01 GMT+02:00 Marcin Wojtas : >>> Hi, >>> >>> In current FreeBSD-HEAD ARMv7 platforms, which support hardware IO >>> cache coherency cannot make use of this feature. In our project we >>> implemented coherent variant bus_dma, which is basing on x86 and arm64 >>> approach. Using of above solution is not obligatory and depends on >>> setting newly added option for that purpose. >>> >>> Needless to say, our platform (Marvell Armada 38x) IO performance >>> boosted after switching to it. Do you wish to enable such option in >>> HEAD? >>> >>> Regards, >>> Marcin >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"