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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55EEF2FA.3050009@semihalf.com>
Date:	Tue, 8 Sep 2015 16:38:50 +0200
From:	Tomasz Nowicki <tn@...ihalf.com>
To:	Marc Zyngier <marc.zyngier@....com>,
	"Rafael J. Wysocki" <rjw@...ysocki.net>,
	Len Brown <lenb@...nel.org>,
	Hanjun Guo <hanjun.guo@...aro.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Jason Cooper <jason@...edaemon.net>,
	Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
	Sudeep Holla <sudeep.holla@....com>,
	Will Deacon <will.deacon@....com>,
	Catalin Marinas <catalin.marinas@....com>
Cc:	linaro-acpi@...ts.linaro.org, linux-acpi@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 0/5] ACPI probing infrastructure

On 07.09.2015 08:58, Tomasz Nowicki wrote:
> Hi Marc,
>
> On 04.09.2015 19:06, Marc Zyngier wrote:
>> IRQ controllers and timers are the two types of device the kernel
>> requires before being able to use the device driver model.
>>
>> ACPI so far lacks a proper probing infrastructure similar to the one
>> we have with DT, where we're able to declare IRQ chips and
>> clocksources inside the driver code, and let the core code pick it up
>> and call us back on a match. This leads to all kind of really ugly
>> hacks all over the arm64 code and even in the ACPI layer.
>>
>> It turns out that providing such a probing infrastructure is rather
>> easy, and provides a much deserved cleanup in both the arch code, the
>> GIC driver, and the architected timer driver.
>>
>> I'm sure there is some more code to be deleted, and one can only
>> wonder why this wasn't done before the arm64 code was initially merged
>> (the diffstat says it all...).
>>
>> Patches are against v4.2, and a branch is available at
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
>> acpi/device-probing
>>
>> Marc Zyngier (5):
>>    acpi: Add basic device probing infrastructure
>>    irqchip/acpi: Add probing infrastructure for ACPI-based irqchips
>>    irqchip/gic: Convert the GIC driver to ACPI probing
>>    clocksource/acpi: Add probing infrastructure for ACPI-based
>>      clocksources
>>    clocksource/arm_arch_timer: Convert to ACPI probing
>>
>>   arch/arm64/include/asm/acpi.h        |  1 -
>>   arch/arm64/include/asm/irq.h         | 13 -------
>>   arch/arm64/kernel/acpi.c             | 25 -------------
>>   arch/arm64/kernel/time.c             |  6 ----
>>   drivers/acpi/scan.c                  | 41 +++++++++++++++++++++
>>   drivers/clocksource/arm_arch_timer.c | 10 +-----
>>   drivers/clocksource/clksrc-of.c      |  4 +++
>>   drivers/irqchip/irq-gic.c            | 69
>> ++++++++++++++++++------------------
>>   drivers/irqchip/irqchip.c            |  5 ++-
>>   include/asm-generic/vmlinux.lds.h    | 11 ++++++
>>   include/linux/acpi.h                 | 56 +++++++++++++++++++++++++++++
>>   include/linux/acpi_irq.h             | 10 ------
>>   include/linux/clocksource.h          |  6 ----
>>   include/linux/irqchip.h              | 16 +++++++++
>>   include/linux/irqchip/arm-gic-acpi.h | 31 ----------------
>>   15 files changed, 166 insertions(+), 138 deletions(-)
>>   delete mode 100644 include/linux/acpi_irq.h
>>   delete mode 100644 include/linux/irqchip/arm-gic-acpi.h
>>
>
> Thanks for cleaning this up!
>
> For the whole series:
> Acked-by: Tomasz Nowicki <tn@...ihalf.com>

s/Acked-by/Reviewed-by

Tomasz
--
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