public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems
@ 2026-02-02  9:41 feng.zhou
  2026-02-02 11:41 ` John Ogness
  2026-03-10 16:37 ` Petr Mladek
  0 siblings, 2 replies; 8+ messages in thread
From: feng.zhou @ 2026-02-02  9:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: pmladek, senozhatsky, rostedt, john.ogness, feng.zhou

The _DESCS_COUNT macro currently uses 1U (32-bit unsigned) instead of
1UL (unsigned long), which breaks the intended overflow testing design
on 64-bit systems.

Problem Analysis:
----------------
The printk_ringbuffer uses a deliberate design choice to initialize
descriptor IDs near the maximum 62-bit value to trigger overflow early
in the system's lifetime. This is documented in printk_ringbuffer.h:

  "initial values are chosen that map to the correct initial array
   indexes, but will result in overflows soon."

The DESC0_ID macro calculates:
  DESC0_ID(ct_bits) = DESC_ID(-(_DESCS_COUNT(ct_bits) + 1))

On 64-bit systems with typical configuration (descbits=16):
- Current buggy behavior: DESC0_ID = 0xfffeffff
- Expected behavior:      DESC0_ID = 0x3ffffffffffeffff

The buggy version only uses 32 bits, which means:
1. The initial ID is nowhere near 2^62
2. It would take ~140 trillion wraps to trigger 62-bit overflow
3. The overflow handling code is never tested in practice

Root Cause:
----------
The issue is in this line:
  #define _DESCS_COUNT(ct_bits)    (1U << (ct_bits))

When _DESCS_COUNT(16) is calculated:
  1U << 16 = 0x10000 (32-bit value)
  -(0x10000 + 1) = -0x10001 = 0xFFFEFFFF (32-bit two's complement)

On 64-bit systems, this 32-bit value doesn't get extended to create
the intended 62-bit ID near the maximum value.

Impact:
------
While index calculations still work correctly in the short term, this
bug has several implications:

1. Violates the design intention documented in the code
2. Overflow handling code paths remain untested
3. ABA detection code doesn't get exercised under overflow conditions
4. In extreme long-term running scenarios (though unlikely), could
   potentially cause issues when ID actually reaches 2^62

Verification:
------------
Tested on ARM64 system with CONFIG_LOG_BUF_SHIFT=20 (descbits=15):
- Before fix: DESC0_ID(16) = 0xfffeffff
- After fix:  DESC0_ID(16) = 0x3fffffffffff7fff

The fix aligns _DESCS_COUNT with _DATA_SIZE, which already correctly
uses 1UL:
  #define _DATA_SIZE(sz_bits)    (1UL << (sz_bits))

Signed-off-by: feng.zhou <realsummitzhou@gmail.com>
---
 kernel/printk/printk_ringbuffer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/printk/printk_ringbuffer.h b/kernel/printk/printk_ringbuffer.h
index 4ef81349d9fb..4f4949700676 100644
--- a/kernel/printk/printk_ringbuffer.h
+++ b/kernel/printk/printk_ringbuffer.h
@@ -122,7 +122,7 @@ enum desc_state {
 };
 
 #define _DATA_SIZE(sz_bits)	(1UL << (sz_bits))
-#define _DESCS_COUNT(ct_bits)	(1U << (ct_bits))
+#define _DESCS_COUNT(ct_bits)	(1UL << (ct_bits))
 #define DESC_SV_BITS		BITS_PER_LONG
 #define DESC_FLAGS_SHIFT	(DESC_SV_BITS - 2)
 #define DESC_FLAGS_MASK		(3UL << DESC_FLAGS_SHIFT)
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems
  2026-02-02  9:41 [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems feng.zhou
@ 2026-02-02 11:41 ` John Ogness
  2026-02-02 15:07   ` [RESEND] " feng.zhou
  2026-03-03 16:52   ` Petr Mladek
  2026-03-10 16:37 ` Petr Mladek
  1 sibling, 2 replies; 8+ messages in thread
From: John Ogness @ 2026-02-02 11:41 UTC (permalink / raw)
  To: feng.zhou, linux-kernel; +Cc: pmladek, senozhatsky, rostedt, feng.zhou

Hi Zhou,

Thanks for reporting and fixing this!

On 2026-02-02, "feng.zhou" <realsummitzhou@gmail.com> wrote:
> The _DESCS_COUNT macro currently uses 1U (32-bit unsigned) instead of
> 1UL (unsigned long), which breaks the intended overflow testing design
> on 64-bit systems.
>
> Problem Analysis:
> ----------------
> The printk_ringbuffer uses a deliberate design choice to initialize
> descriptor IDs near the maximum 62-bit value to trigger overflow early
> in the system's lifetime. This is documented in printk_ringbuffer.h:
>
>   "initial values are chosen that map to the correct initial array
>    indexes, but will result in overflows soon."
>
> The DESC0_ID macro calculates:
>   DESC0_ID(ct_bits) = DESC_ID(-(_DESCS_COUNT(ct_bits) + 1))
>
> On 64-bit systems with typical configuration (descbits=16):
> - Current buggy behavior: DESC0_ID = 0xfffeffff
> - Expected behavior:      DESC0_ID = 0x3ffffffffffeffff
>
> The buggy version only uses 32 bits, which means:
> 1. The initial ID is nowhere near 2^62
> 2. It would take ~140 trillion wraps to trigger 62-bit overflow
> 3. The overflow handling code is never tested in practice
>
> Root Cause:
> ----------
> The issue is in this line:
>   #define _DESCS_COUNT(ct_bits)    (1U << (ct_bits))
>
> When _DESCS_COUNT(16) is calculated:
>   1U << 16 = 0x10000 (32-bit value)
>   -(0x10000 + 1) = -0x10001 = 0xFFFEFFFF (32-bit two's complement)
>
> On 64-bit systems, this 32-bit value doesn't get extended to create
> the intended 62-bit ID near the maximum value.

I was surprised to see that 1U is used here. I did some historical
digging and it has existed since the very first private version of this
ringbuffer implementation. It was a private email to Petr:

Date: 12 Oct 2019
Subject: ringbuffer v1
Message-ID: <87lftqwvhp.fsf@linutronix.de>

That was the very first appearance of a descriptor initializer:

+#define _DESCS_COUNT(ct_bits)	(1U << (ct_bits))
+#define DESCS_COUNT(dr)		_DESCS_COUNT((dr)->count_bits)
+#define DESC0_ID(ct_bits)	DESC_ID(-_DESCS_COUNT(ct_bits))

> Impact:
> ------
> While index calculations still work correctly in the short term, this
> bug has several implications:
>
> 1. Violates the design intention documented in the code
> 2. Overflow handling code paths remain untested
> 3. ABA detection code doesn't get exercised under overflow conditions

The ABA detection is only relevant for 32-bit systems. The patch is only
fixing an issue on 64-bit systems.

> 4. In extreme long-term running scenarios (though unlikely), could
>    potentially cause issues when ID actually reaches 2^62

It is worth investigating if this is an issue. Although it is quite
unlikely. A machine would need to generate 100k printk messages per
second for 490k years!

> Verification:
> ------------
> Tested on ARM64 system with CONFIG_LOG_BUF_SHIFT=20 (descbits=15):
> - Before fix: DESC0_ID(16) = 0xfffeffff
> - After fix:  DESC0_ID(16) = 0x3fffffffffff7fff
>
> The fix aligns _DESCS_COUNT with _DATA_SIZE, which already correctly
> uses 1UL:
>   #define _DATA_SIZE(sz_bits)    (1UL << (sz_bits))
>
> Signed-off-by: feng.zhou <realsummitzhou@gmail.com>
> ---
>  kernel/printk/printk_ringbuffer.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/printk/printk_ringbuffer.h b/kernel/printk/printk_ringbuffer.h
> index 4ef81349d9fb..4f4949700676 100644
> --- a/kernel/printk/printk_ringbuffer.h
> +++ b/kernel/printk/printk_ringbuffer.h
> @@ -122,7 +122,7 @@ enum desc_state {
>  };
>  
>  #define _DATA_SIZE(sz_bits)	(1UL << (sz_bits))
> -#define _DESCS_COUNT(ct_bits)	(1U << (ct_bits))
> +#define _DESCS_COUNT(ct_bits)	(1UL << (ct_bits))
>  #define DESC_SV_BITS		BITS_PER_LONG
>  #define DESC_FLAGS_SHIFT	(DESC_SV_BITS - 2)
>  #define DESC_FLAGS_MASK		(3UL << DESC_FLAGS_SHIFT)

The change looks correct. But I would like to take some more time to
understand why I never used UL in the first place.

Also note (unrelated) that we are using 1U for the buffer of the data
ring. Not really an issue, but we should probably switch that to UL as
well.

John Ogness

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [RESEND] Re: [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems
  2026-02-02 11:41 ` John Ogness
@ 2026-02-02 15:07   ` feng.zhou
  2026-02-03 17:24     ` Petr Mladek
  2026-03-03 16:52   ` Petr Mladek
  1 sibling, 1 reply; 8+ messages in thread
From: feng.zhou @ 2026-02-02 15:07 UTC (permalink / raw)
  To: john.ogness; +Cc: linux-kernel, pmladek, realsummitzhou, rostedt, senozhatsky

Hi John and maintainers,

(Resending to the list - apologies for the initial off-list reply)

On Mon, Feb 2, 2026, John Ogness wrote:
> This is important to us as well! And we really do want those
> wrap-arounds to happen early.

> Your v1 is certainly OK as-is. I just want to do some more investigating
> and testing. With your patch it will be the first time we experience
> descriptor ID wraps.
>
> As to the other U->UL conversion, I really have no preference. Let's
> just wait a bit in case Petr wants to comment.

Thank you for the feedback! I understand v1 is acceptable and you're doing
additional testing. I'll wait for Petr's comments and your investigation
results before any further action.

For the record, here's a summary of our off-list discussion:

1. Early wrap-around testing is important for the printk_ringbuffer design
   itself, not just for matching documentation.

2. John noted this is interesting because it will be the first time descriptor
   ID wraps are actually exercised in practice.

3. There's a similar issue with the text buffer array size definition using 1U,
   but we agreed to wait for broader maintainer input on whether to address it
   in the same patch or separately.

I apologize for not using "Reply All" initially - I'm still learning the
kernel development process. I'll make sure all future communications stay
on-list.

Thanks again for your patience and guidance!

Best regards,
Zhou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RESEND] Re: [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems
  2026-02-02 15:07   ` [RESEND] " feng.zhou
@ 2026-02-03 17:24     ` Petr Mladek
  0 siblings, 0 replies; 8+ messages in thread
From: Petr Mladek @ 2026-02-03 17:24 UTC (permalink / raw)
  To: feng.zhou; +Cc: john.ogness, linux-kernel, rostedt, senozhatsky

On Mon 2026-02-02 23:07:50, feng.zhou wrote:
> Hi John and maintainers,
> 
> (Resending to the list - apologies for the initial off-list reply)
> 
> On Mon, Feb 2, 2026, John Ogness wrote:
> > This is important to us as well! And we really do want those
> > wrap-arounds to happen early.
> 
> > Your v1 is certainly OK as-is. I just want to do some more investigating
> > and testing. With your patch it will be the first time we experience
> > descriptor ID wraps.
> >
> > As to the other U->UL conversion, I really have no preference. Let's
> > just wait a bit in case Petr wants to comment.
>
> Thank you for the feedback! I understand v1 is acceptable and you're doing
> additional testing. I'll wait for Petr's comments and your investigation
> results before any further action.

JFYI, this patch is on my radar. But the review might take some time:

  1. I am a bit overloaded.

  2. This patch has low priority. It helps to test a rather
     non-realistic scenario.

  3. The review is far from easy because the macro _DESCS_COUNT()
     is used on many cricial parts of the lock-less code via
     DESC_COUNT() macro.

> For the record, here's a summary of our off-list discussion:
> 
> 1. Early wrap-around testing is important for the printk_ringbuffer design
>    itself, not just for matching documentation.
> 
> 2. John noted this is interesting because it will be the first time descriptor
>    ID wraps are actually exercised in practice.
> 
> 3. There's a similar issue with the text buffer array size definition using 1U,
>    but we agreed to wait for broader maintainer input on whether to address it
>    in the same patch or separately.

This is another complicated problem. The printk log buffer size is
limited to 2GB. I am not exactly sure why. Some clue can be found
at https://lore.kernel.org/all/20181008135916.gg4kkmoki5bgtco5@pathway.suse.cz/


> I apologize for not using "Reply All" initially - I'm still learning the
> kernel development process. I'll make sure all future communications stay
> on-list.

No problem. It happens. It is great that you are learning.

> Thanks again for your patience and guidance!

You are welcome. Please, have patience with us as well.

Best Regards,
Petr

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems
  2026-02-02 11:41 ` John Ogness
  2026-02-02 15:07   ` [RESEND] " feng.zhou
@ 2026-03-03 16:52   ` Petr Mladek
  1 sibling, 0 replies; 8+ messages in thread
From: Petr Mladek @ 2026-03-03 16:52 UTC (permalink / raw)
  To: John Ogness; +Cc: feng.zhou, linux-kernel, senozhatsky, rostedt

On Mon 2026-02-02 12:47:23, John Ogness wrote:
> Hi Zhou,
> 
> Thanks for reporting and fixing this!
> 
> On 2026-02-02, "feng.zhou" <realsummitzhou@gmail.com> wrote:
> > The _DESCS_COUNT macro currently uses 1U (32-bit unsigned) instead of
> > 1UL (unsigned long), which breaks the intended overflow testing design
> > on 64-bit systems.
> >
> > Problem Analysis:
> > ----------------
> > The printk_ringbuffer uses a deliberate design choice to initialize
> > descriptor IDs near the maximum 62-bit value to trigger overflow early
> > in the system's lifetime. This is documented in printk_ringbuffer.h:
> >
> >   "initial values are chosen that map to the correct initial array
> >    indexes, but will result in overflows soon."
> >
> > The DESC0_ID macro calculates:
> >   DESC0_ID(ct_bits) = DESC_ID(-(_DESCS_COUNT(ct_bits) + 1))
> >
> > On 64-bit systems with typical configuration (descbits=16):
> > - Current buggy behavior: DESC0_ID = 0xfffeffff
> > - Expected behavior:      DESC0_ID = 0x3ffffffffffeffff
> >
> > The buggy version only uses 32 bits, which means:
> > 1. The initial ID is nowhere near 2^62
> > 2. It would take ~140 trillion wraps to trigger 62-bit overflow
> > 3. The overflow handling code is never tested in practice
> >
> > Root Cause:
> > ----------
> > The issue is in this line:
> >   #define _DESCS_COUNT(ct_bits)    (1U << (ct_bits))
> >
> > When _DESCS_COUNT(16) is calculated:
> >   1U << 16 = 0x10000 (32-bit value)
> >   -(0x10000 + 1) = -0x10001 = 0xFFFEFFFF (32-bit two's complement)
> >
> > On 64-bit systems, this 32-bit value doesn't get extended to create
> > the intended 62-bit ID near the maximum value.
> 
> I was surprised to see that 1U is used here. I did some historical
> digging and it has existed since the very first private version of this
> ringbuffer implementation. It was a private email to Petr:

Yeah.


> Date: 12 Oct 2019
> Subject: ringbuffer v1
> Message-ID: <87lftqwvhp.fsf@linutronix.de>
> 
> That was the very first appearance of a descriptor initializer:
> 
> +#define _DESCS_COUNT(ct_bits)	(1U << (ct_bits))
> +#define DESCS_COUNT(dr)		_DESCS_COUNT((dr)->count_bits)
> +#define DESC0_ID(ct_bits)	DESC_ID(-_DESCS_COUNT(ct_bits))
> 
> > Impact:
> > ------
> > While index calculations still work correctly in the short term, this
> > bug has several implications:
> >
> > 1. Violates the design intention documented in the code
> > 2. Overflow handling code paths remain untested
> > 3. ABA detection code doesn't get exercised under overflow conditions
> 
> The ABA detection is only relevant for 32-bit systems. The patch is only
> fixing an issue on 64-bit systems.
> 
> > 4. In extreme long-term running scenarios (though unlikely), could
> >    potentially cause issues when ID actually reaches 2^62
> 
> It is worth investigating if this is an issue. Although it is quite
> unlikely. A machine would need to generate 100k printk messages per
> second for 490k years!

Yes, I think that it is not much realistic.

> > Verification:
> > ------------
> > Tested on ARM64 system with CONFIG_LOG_BUF_SHIFT=20 (descbits=15):
> > - Before fix: DESC0_ID(16) = 0xfffeffff
> > - After fix:  DESC0_ID(16) = 0x3fffffffffff7fff
> >
> > The fix aligns _DESCS_COUNT with _DATA_SIZE, which already correctly
> > uses 1UL:
> >   #define _DATA_SIZE(sz_bits)    (1UL << (sz_bits))
> >
> > Signed-off-by: feng.zhou <realsummitzhou@gmail.com>
> > ---
> >  kernel/printk/printk_ringbuffer.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/kernel/printk/printk_ringbuffer.h b/kernel/printk/printk_ringbuffer.h
> > index 4ef81349d9fb..4f4949700676 100644
> > --- a/kernel/printk/printk_ringbuffer.h
> > +++ b/kernel/printk/printk_ringbuffer.h
> > @@ -122,7 +122,7 @@ enum desc_state {
> >  };
> >  
> >  #define _DATA_SIZE(sz_bits)	(1UL << (sz_bits))
> > -#define _DESCS_COUNT(ct_bits)	(1U << (ct_bits))
> > +#define _DESCS_COUNT(ct_bits)	(1UL << (ct_bits))
> >  #define DESC_SV_BITS		BITS_PER_LONG
> >  #define DESC_FLAGS_SHIFT	(DESC_SV_BITS - 2)
> >  #define DESC_FLAGS_MASK		(3UL << DESC_FLAGS_SHIFT)
> 
> The change looks correct. But I would like to take some more time to
> understand why I never used UL in the first place.

Good question.

Anyway, my opinion about this patch evolved over time:

1. My first feeling was that this patch was not worth the effort
   and risk. As explained above, we would start testing corner-cases
   which could never be reached in reality.


2. Then I started looking at the code and realized that _DESCS_COUNT() was
   used also to initialize:

     #define DESCS_COUNT(desc_ring)		_DESCS_COUNT((desc_ring)->count_bits)
     #define DESCS_COUNT_MASK(desc_ring)	(DESCS_COUNT(desc_ring) - 1)

   and it would be great to be sure that _MASK covers the whole 64-bit
   unsigned long

	=> patch was worth it.

   Also the @id is primary used to create index to @desc_ring using
   DESC_INDEX(). And I am sure that rotation of the @desc_ring is
   tested heavily

	=> we should be on the safe side.

   Also I did some testing with the patch and did not find any problem.


3. Finally, I decided to double check how @id is handled in the code.
   And it is stored with state bits in @state_var

      => the highest 2 bits are cleared by DESC_ID() macro

      => ringing bells

   And indeed desc_reserve() shrinks the highest two bits
   when computing the next @id:

		id = DESC_ID(head_id + 1);

   and the masked @id is stored:

	} while (!atomic_long_try_cmpxchg(&desc_ring->head_id, &head_id,
					  id)); /* LMM(desc_reserve:D) */


   Now, get_desc_state() does a check:

     static enum desc_state get_desc_state(unsigned long id,
				      unsigned long state_val)
     {
	if (id != DESC_ID(state_val))
		return desc_miss;
	[...]
     }

   I belive that this check might fail when DESC_ID(state_val)
   is compared against non-masked @id

   But we seems to be on the safe side, because DESC0 is defined
   using DESC_ID() => the highest bits are masked:

     #define DESC0_ID(ct_bits)	DESC_ID(-(_DESCS_COUNT(ct_bits) + 1))

  => we seem to be on the safe side.


Conclusion:

The patch looks correct and acceptable to me:

Reviewed-by: Petr Mladek <pmladek@suse.com>
Tested-by: Petr Mladek <pmladek@suse.com>

I am going to wait a bit whether John agrees with my opinion
or whether he remembers and finds any blocker.

> Also note (unrelated) that we are using 1U for the buffer of the data
> ring. Not really an issue, but we should probably switch that to UL as
> well.

I might make sense to change this as well. But I would do it
in a separate patch.

We should be on the safe size even now because the log buffer size
is limited by 2GB, see

    #define LOG_BUF_LEN_MAX ((u32)1 << 31)

Best Regards,
Petr

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems
  2026-02-02  9:41 [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems feng.zhou
  2026-02-02 11:41 ` John Ogness
@ 2026-03-10 16:37 ` Petr Mladek
  2026-03-10 21:40   ` John Ogness
  1 sibling, 1 reply; 8+ messages in thread
From: Petr Mladek @ 2026-03-10 16:37 UTC (permalink / raw)
  To: feng.zhou; +Cc: linux-kernel, senozhatsky, rostedt, john.ogness

On Mon 2026-02-02 17:41:40, feng.zhou wrote:
> The _DESCS_COUNT macro currently uses 1U (32-bit unsigned) instead of
> 1UL (unsigned long), which breaks the intended overflow testing design
> on 64-bit systems.
> 
> Problem Analysis:
> ----------------
> The printk_ringbuffer uses a deliberate design choice to initialize
> descriptor IDs near the maximum 62-bit value to trigger overflow early
> in the system's lifetime. This is documented in printk_ringbuffer.h:
> 
>   "initial values are chosen that map to the correct initial array
>    indexes, but will result in overflows soon."
> 
> The DESC0_ID macro calculates:
>   DESC0_ID(ct_bits) = DESC_ID(-(_DESCS_COUNT(ct_bits) + 1))
> 
> On 64-bit systems with typical configuration (descbits=16):
> - Current buggy behavior: DESC0_ID = 0xfffeffff
> - Expected behavior:      DESC0_ID = 0x3ffffffffffeffff
> 
> The buggy version only uses 32 bits, which means:
> 1. The initial ID is nowhere near 2^62
> 2. It would take ~140 trillion wraps to trigger 62-bit overflow
> 3. The overflow handling code is never tested in practice
> 
> Root Cause:
> ----------
> The issue is in this line:
>   #define _DESCS_COUNT(ct_bits)    (1U << (ct_bits))
> 
> When _DESCS_COUNT(16) is calculated:
>   1U << 16 = 0x10000 (32-bit value)
>   -(0x10000 + 1) = -0x10001 = 0xFFFEFFFF (32-bit two's complement)
> 
> On 64-bit systems, this 32-bit value doesn't get extended to create
> the intended 62-bit ID near the maximum value.
> 
> Impact:
> ------
> While index calculations still work correctly in the short term, this
> bug has several implications:
> 
> 1. Violates the design intention documented in the code
> 2. Overflow handling code paths remain untested
> 3. ABA detection code doesn't get exercised under overflow conditions
> 4. In extreme long-term running scenarios (though unlikely), could
>    potentially cause issues when ID actually reaches 2^62
> 
> Verification:
> ------------
> Tested on ARM64 system with CONFIG_LOG_BUF_SHIFT=20 (descbits=15):
> - Before fix: DESC0_ID(16) = 0xfffeffff
> - After fix:  DESC0_ID(16) = 0x3fffffffffff7fff
> 
> The fix aligns _DESCS_COUNT with _DATA_SIZE, which already correctly
> uses 1UL:
>   #define _DATA_SIZE(sz_bits)    (1UL << (sz_bits))
> 
> Signed-off-by: feng.zhou <realsummitzhou@gmail.com>

JFYI, the patch has been committed into printk/linux.git,
branch rework/prb-fixes.

Best Regards,
Petr

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems
  2026-03-10 16:37 ` Petr Mladek
@ 2026-03-10 21:40   ` John Ogness
  2026-03-12  9:02     ` Petr Mladek
  0 siblings, 1 reply; 8+ messages in thread
From: John Ogness @ 2026-03-10 21:40 UTC (permalink / raw)
  To: Petr Mladek, feng.zhou; +Cc: linux-kernel, senozhatsky, rostedt

On 2026-03-10, Petr Mladek <pmladek@suse.com> wrote:
> JFYI, the patch has been committed into printk/linux.git,
> branch rework/prb-fixes.

Sorry for the silence. I have been traveling for the past week (and am
still traveling this week). I will take a detailed look at the patch
when I get done traveling.

John

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems
  2026-03-10 21:40   ` John Ogness
@ 2026-03-12  9:02     ` Petr Mladek
  0 siblings, 0 replies; 8+ messages in thread
From: Petr Mladek @ 2026-03-12  9:02 UTC (permalink / raw)
  To: John Ogness; +Cc: feng.zhou, linux-kernel, senozhatsky, rostedt

On Tue 2026-03-10 22:46:03, John Ogness wrote:
> On 2026-03-10, Petr Mladek <pmladek@suse.com> wrote:
> > JFYI, the patch has been committed into printk/linux.git,
> > branch rework/prb-fixes.
> 
> Sorry for the silence. I have been traveling for the past week (and am
> still traveling this week). I will take a detailed look at the patch
> when I get done traveling.

Don't worry. I believe that the patch is OK. But of course, I'll be
happy if you double check it when you get time.

I feel somehow snowed under various tasks and have a cold this week.
So I am slow from other reasons.

Enjoy your traveling.

Best Regards,
Petr

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-12  9:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02  9:41 [PATCH] printk: Fix _DESCS_COUNT type for 64-bit systems feng.zhou
2026-02-02 11:41 ` John Ogness
2026-02-02 15:07   ` [RESEND] " feng.zhou
2026-02-03 17:24     ` Petr Mladek
2026-03-03 16:52   ` Petr Mladek
2026-03-10 16:37 ` Petr Mladek
2026-03-10 21:40   ` John Ogness
2026-03-12  9:02     ` Petr Mladek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox