lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <cdb1188d-7379-45e2-b2ce-ffdfb21b644a@app.fastmail.com>
Date:   Tue, 05 Dec 2023 15:43:36 +0100
From:   "Arnd Bergmann" <arnd@...db.de>
To:     "Philipp Stanner" <pstanner@...hat.com>,
        "kernel test robot" <lkp@...el.com>,
        "Bjorn Helgaas" <helgaas@...nel.org>,
        "Hanjun Guo" <guohanjun@...wei.com>, "Neil Brown" <neilb@...e.de>,
        "Kent Overstreet" <kmo@...erainc.com>,
        "Jakub Kicinski" <kuba@...nel.org>,
        "Niklas Schnelle" <schnelle@...ux.ibm.com>,
        "Uladzislau Koshchanka" <koshchanka@...il.com>,
        "John Sanpe" <sanpeqf@...il.com>,
        "Dave Jiang" <dave.jiang@...el.com>,
        "Masami Hiramatsu" <mhiramat@...nel.org>,
        "Kees Cook" <keescook@...omium.org>,
        "David Gow" <davidgow@...gle.com>,
        "Herbert Xu" <herbert@...dor.apana.org.au>,
        "Shuah Khan" <skhan@...uxfoundation.org>,
        "wuqiang.matt" <wuqiang.matt@...edance.com>,
        "Yury Norov" <yury.norov@...il.com>,
        "Jason Baron" <jbaron@...mai.com>,
        "Andrew Morton" <akpm@...ux-foundation.org>,
        "Ben Dooks" <ben.dooks@...ethink.co.uk>,
        "Danilo Krummrich" <dakr@...hat.com>
Cc:     oe-kbuild-all@...ts.linux.dev,
        "Linux Memory Management List" <linux-mm@...ck.org>,
        linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
        Linux-Arch <linux-arch@...r.kernel.org>, stable@...r.kernel.org
Subject: Re: [PATCH v3 5/5] lib, pci: unify generic pci_iounmap()

On Tue, Dec 5, 2023, at 15:34, Philipp Stanner wrote:
> Alright, so it seems that not all architectures provide ioport_unmap().
> So I'll provide yet another preprocessor guard in v4. Wohooo, we love
> them...

Right, I think CONFIG_HAS_IOPORT_MAP is the symbol you
need to check here. There are a few targets that have inb/outb
but can't map them to __iomem pointers for some reason, 
as well as more that have neither CONFIG_HAS_IOPORT nor
CONFIG_HAS_IOPORT_MAP.

     Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ