Re: [PATCH] s390/ap_bus: Convert timers to use timer_setup()
From: Kees Cook
Date: Thu Nov 16 2017 - 03:04:11 EST
On Thu, Nov 16, 2017 at 12:03 AM, Martin Schwidefsky
<schwidefsky@xxxxxxxxxx> wrote:
> On Wed, 15 Nov 2017 23:58:44 -0800
> Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
>> On Thu, Nov 2, 2017 at 11:29 PM, Martin Schwidefsky
>> <schwidefsky@xxxxxxxxxx> wrote:
>> > On Thu, 2 Nov 2017 16:36:53 -0700
>> > Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>> >
>> >> On Wed, Oct 25, 2017 at 11:38 PM, Martin Schwidefsky
>> >> <schwidefsky@xxxxxxxxxx> wrote:
>> >> > On Wed, 25 Oct 2017 03:27:37 -0700
>> >> > Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>> >> >
>> >> >> In preparation for unconditionally passing the struct timer_list pointer to
>> >> >> all timer callbacks, switch to using the new timer_setup() and from_timer()
>> >> >> to pass the timer pointer explicitly.
>> >> >>
>> >> >> Cc: Harald Freudenberger <freude@xxxxxxxxxx>
>> >> >> Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
>> >> >> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
>> >> >> Cc: linux-s390@xxxxxxxxxxxxxxx
>> >> >> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>> >> >> ---
>> >> >> drivers/s390/crypto/ap_bus.c | 10 +++++-----
>> >> >> drivers/s390/crypto/ap_bus.h | 2 +-
>> >> >> drivers/s390/crypto/ap_queue.c | 2 +-
>> >> >> 3 files changed, 7 insertions(+), 7 deletions(-)
>> >> >
>> >> > Parked for the second part of the s390 updates for the next merge window.
>> >> > Thanks.
>> >>
>> >> Thanks for getting these staged. I just wanted to check with you,
>> >> since I don't see these in -next anywhere yet:
>> >>
>> >> s390: qdio: Convert timers to use timer_setup()
>> >> s390/sclp: Convert timers to use timer_setup()
>> >> s390/cio: Convert timers to use timer_setup()
>> >> s390/scsi: Convert timers to use timer_setup()
>> >> s390/ap_bus: Convert timers to use timer_setup()
>> >>
>> >> Are all of these expected to land for -rc1? (Would it help to carry
>> >> them in the timer tree?) I've got tree-wide changes ready to go once
>> >> all these conversions have landed.
>> >
>> > These patches are parked on a private branches. The features branch
>> > on s390/linux is the one that is used for -next AND for the upstream
>> > merge. And since I do not want to rebase that branch the timer_setup
>> > patches are not in -next as well.
>> >
>> > Four of you patches are safe with me, the s390/scsi patch is in
>> > Steffens patch queue. All good I would say.
>>
>> Hi,
>>
>> I saw s390 get merged for -rc1, but none of these timer_setup()
>> conversions were included. Given the possible short merge window,
>> what's the state of these? I can't do the bulk API changes at the end
>> of -rc1 without the s390 timer patches. Anything I can help with?
>
> The remaining timer_setup changes are on the features branch of s390/linux,
> I plan to send a please-pull request be the end of the week.
Okay, thanks! Sorry for all my nail-biting. :)
-Kees
--
Kees Cook
Pixel Security