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]
Date:	Thu, 29 Apr 2010 12:03:21 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	"Epshteyn, Eugene" <eugene.epshteyn@...el.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH 1/4] Mobile security processor driver

> -struct sep_driver_init_t {
> -       /* start of the 1G of the host memory address that SEP can access */
> -       unsigned long message_addr;
> +  /* new base address */
> +  dma_addr_t   new_base_addr;
> +};

We seem to be going backwards - deformatting code


> +static inline u32 SEP_READ_REGISTER(struct device_context *dev, int reg)
> +{
> +       void __iomem *addr = dev->reg_addr + reg;
> +       return readl_be(addr);
> +}

Re adding wrappers


> +#define SEP_CHANGE_ENDIANNESS(val) \
> +      (((val) >> 24) | (((val) & 0x00FF0000) >> 8) | \
> +      (((val) & 0x0000FF00) << 8) | \
> +      (((val) & 0x000000FF) << 24))

And other goo


>    *  CHANGES:
>    *
> - *  2009.06.26 Initial publish
> + *  2010.01.08 Initial publish

Sorry ?????

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ