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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <6a03463f-7e93-8ee7-d56f-aaed1e2befba@izt-labs.de>
Date:   Mon, 19 Jun 2017 13:38:00 +0200
From:   Johannes Pöhlmann <johannes.poehlmann@...-labs.de>
To:     linux-kernel@...r.kernel.org
Cc:     Greg Kroah-Hartman <greg@...ah.com>,
        Evgeniy Polyakov <zbr@...emap.net>
Subject: [PATCH V1] one wire ds1wm patch

To make the ds1wm driver work on a powerpc architecture (big endian, 32bit)
with a register offset multiplier of 4 i had to make some changes to

          drivers/w1/masters/ds1wm.c
and    include/linux/mfd/ds1wm.h.

I grouped theses into 4 patches of falling priority.

[PATCH 1/4] fix and simplify register access
[PATCH 2/4] Add level interrupt modes (maybe no longer needed in newer
kernels)
[PATCH 3/4] Silence interrupts on HW before claiming the interrupt
[PATCH 4/4] optional: add messages to make incorporation in  mfd drivers
easier

The patches applied cleanly against
   commit 32c1431eea4881a6b17bd7c639315010aeefa452
   Author: Linus Torvalds <torvalds@...ux-foundation.org>
   Date:   Sun Jun 11 16:48:20 2017 -0700
    Linux 4.12-rc5

I could build the patched kernel (as above) with ds1wm configured in
with no errors or warnings.

I could test and verify the correct working of the patch against
kernel 3.12.15, but not against the current kernel.



View attachment "0001-fix-and-simplify-register-access.patch" of type "text/x-patch" (5347 bytes)

View attachment "0002-Add-level-interrupt-modes-maybe-no-longer-needed-in-.patch" of type "text/x-patch" (1131 bytes)

View attachment "0003-Silence-interrupts-on-HW-before-claiming-the-interru.patch" of type "text/x-patch" (1250 bytes)

View attachment "0004-optional-add-messages-to-make-incorporation-in-mfd-d.patch" of type "text/x-patch" (1308 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ