Skip to contentSkip to conversation

Gilles Chanteperdrix : hal/x86: fix smi message

Xenomai Philippe Gerum 3 participants 14 messages Sep 28, 2013 – Sep 30, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 22 lines · git repository hosting
Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:    http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59
Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

  kernel/cobalt/arch/x86/smi.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -0
index e06734a..124d311 100644

kernel/cobalt/arch/x86/smi.c void mach_x86_smi_init(void) · line 129

Quoted 8 lines
kernel/cobalt/arch/x86/smi.c +1 -1
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
  	if (smi_state == 0) {
  		printk("Xenomai: SMI-enabled chipset found, but SMI "
  		       "workaround disabled\n"
-		       "         (see xeno_hal.smi parameter). You may encounter\n"
+		       "         (see x86_hal.smi parameter). You may encounter\n"
  		       "         high interrupt latencies!\n");
  		pci_dev_put(dev);
  		return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

Signature · 1 line
Philippe.
#2 lore raw
Quoted 28 lines · Philippe Gerum
Quoted 27 lines · git repository hosting
Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:    http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59
Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

  kernel/cobalt/arch/x86/smi.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +1 -1
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
  	if (smi_state == 0) {
  		printk("Xenomai: SMI-enabled chipset found, but SMI "
  		       "workaround disabled\n"
-		       "         (see xeno_hal.smi parameter). You may encounter\n"
+		       "         (see x86_hal.smi parameter). You may encounter\n"
  		       "         high interrupt latencies!\n");
  		pci_dev_put(dev);
Quoted 9 lines

kernel/cobalt/arch/x86/smi.c void mach_x86_smi_init(void) · line 129

Quoted 3 lines
kernel/cobalt/arch/x86/smi.c +0 -0
  		return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

Signature · 1 line
                                                                Gilles.
#3 lore raw
Quoted 38 lines · Gilles Chanteperdrix
Quoted 28 lines · Philippe Gerum
Quoted 27 lines · git repository hosting
Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:    http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59
Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

   kernel/cobalt/arch/x86/smi.c |    2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +1 -1
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
   	if (smi_state == 0) {
   		printk("Xenomai: SMI-enabled chipset found, but SMI "
   		       "workaround disabled\n"
-		       "         (see xeno_hal.smi parameter). You may encounter\n"
+		       "         (see x86_hal.smi parameter). You may encounter\n"
   		       "         high interrupt latencies!\n");
   		pci_dev_put(dev);
Quoted 9 lines

kernel/cobalt/arch/x86/smi.c void mach_x86_smi_init(void) · line 129

Quoted 3 lines
kernel/cobalt/arch/x86/smi.c +0 -0
   		return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

Quoted 5 lines

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

This is a left over, like the message you fixed. Should be x86_machine or something along these lines.

Signature · 1 line
Philippe.
#4 lore raw
Quoted 39 lines · Philippe Gerum
Quoted 38 lines · Gilles Chanteperdrix
Quoted 37 lines · Philippe Gerum
Quoted 22 lines · git repository hosting
Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:    http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59
Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

   kernel/cobalt/arch/x86/smi.c |    2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -0
index e06734a..124d311 100644

kernel/cobalt/arch/x86/smi.c void mach_x86_smi_init(void) · line 129

Quoted 8 lines
kernel/cobalt/arch/x86/smi.c +1 -1
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
   	if (smi_state == 0) {
   		printk("Xenomai: SMI-enabled chipset found, but SMI "
   		       "workaround disabled\n"
-		       "         (see xeno_hal.smi parameter). You may encounter\n"
+		       "         (see x86_hal.smi parameter). You may encounter\n"
   		       "         high interrupt latencies!\n");
   		pci_dev_put(dev);
   		return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

Quoted 9 lines
Quoted 5 lines

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

This is a left over, like the message you fixed. Should be x86_machine or something along these lines.

x86 alone maybe?

Signature · 1 line
                                                                Gilles.
#5 lore raw
Quoted 46 lines · Gilles Chanteperdrix
Quoted 45 lines · Philippe Gerum
Quoted 43 lines · Gilles Chanteperdrix
Quoted 28 lines · Philippe Gerum
Quoted 27 lines · git repository hosting
Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:    http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59
Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

    kernel/cobalt/arch/x86/smi.c |    2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +1 -1
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
    	if (smi_state == 0) {
    		printk("Xenomai: SMI-enabled chipset found, but SMI "
    		       "workaround disabled\n"
-		       "         (see xeno_hal.smi parameter). You may encounter\n"
+		       "         (see x86_hal.smi parameter). You may encounter\n"
    		       "         high interrupt latencies!\n");
    		pci_dev_put(dev);
Quoted 9 lines

kernel/cobalt/arch/x86/smi.c void mach_x86_smi_init(void) · line 129

Quoted 3 lines
kernel/cobalt/arch/x86/smi.c +0 -0
    		return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

Quoted 6 lines
Quoted 3 lines

This is a left over, like the message you fixed. Should be x86_machine or something along these lines.

x86 alone maybe?

Whatever fits. It's just that the code living under kernel/cobalt/arch/* is referred to as the machine layer elsewhere.

Signature · 1 line
Philippe.
#6 lore raw
Quoted 56 lines · Philippe Gerum
Quoted 55 lines · Gilles Chanteperdrix
Quoted 53 lines · Philippe Gerum
Quoted 43 lines · Gilles Chanteperdrix
Quoted 33 lines · Philippe Gerum
Quoted 32 lines · git repository hosting

Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59

Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

    kernel/cobalt/arch/x86/smi.c |    2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -1
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
        if (smi_state == 0) {
            printk("Xenomai: SMI-enabled chipset found, but SMI "
                   "workaround disabled\n"
-               "         (see xeno_hal.smi parameter). You may

encounter\n"
+ " (see x86_hal.smi parameter). You may
encounter\n"

                   "         high interrupt latencies!\n");
            pci_dev_put(dev);
Quoted 9 lines
Quoted 3 lines
            return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

Quoted 5 lines

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

This is a left over, like the message you fixed. Should be x86_machine or something along these lines.

Quoted 5 lines
Quoted 2 lines

x86 alone maybe?

Whatever fits. It's just that the code living under kernel/cobalt/arch/* is referred to as the machine layer elsewhere.

Shouldn't this just be added to the Xenomai module (xenomai-y)?

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130929/9922baf9/attachment.pgp>

#7 lore raw
Quoted 57 lines · Jan Kiszka
Quoted 56 lines · Philippe Gerum
Quoted 55 lines · Gilles Chanteperdrix
Quoted 53 lines · Philippe Gerum
Quoted 43 lines · Gilles Chanteperdrix
Quoted 33 lines · Philippe Gerum
Quoted 32 lines · git repository hosting

Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59

Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

     kernel/cobalt/arch/x86/smi.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -1
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
         if (smi_state == 0) {
             printk("Xenomai: SMI-enabled chipset found, but SMI "
                    "workaround disabled\n"
-               "         (see xeno_hal.smi parameter). You may

encounter\n"
+ " (see x86_hal.smi parameter). You may
encounter\n"

                    "         high interrupt latencies!\n");
             pci_dev_put(dev);
Quoted 9 lines
Quoted 3 lines
             return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

Quoted 5 lines

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

This is a left over, like the message you fixed. Should be x86_machine or something along these lines.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

x86 alone maybe?

Whatever fits. It's just that the code living under kernel/cobalt/arch/* is referred to as the machine layer elsewhere.

Shouldn't this just be added to the Xenomai module (xenomai-y)?

xenomai-y is supposed to include all arch-independent bits, for this reason the machine layer is rather pulled from core-y in arch/*.

Signature · 1 line
Philippe.
#8 lore raw
Quoted 62 lines · Philippe Gerum
Quoted 61 lines · Jan Kiszka
Quoted 60 lines · Philippe Gerum
Quoted 58 lines · Gilles Chanteperdrix
Quoted 45 lines · Philippe Gerum
Quoted 44 lines · Gilles Chanteperdrix
Quoted 43 lines · Philippe Gerum
Quoted 31 lines · git repository hosting

Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59

Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

     kernel/cobalt/arch/x86/smi.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -1
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
         if (smi_state == 0) {
             printk("Xenomai: SMI-enabled chipset found, but SMI "
                    "workaround disabled\n"
-               "         (see xeno_hal.smi parameter). You may

encounter\n"
+ " (see x86_hal.smi parameter). You may
encounter\n"

Quoted 5 lines
                    "         high interrupt latencies!\n");
             pci_dev_put(dev);
             return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

Quoted 9 lines
Quoted 5 lines

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

This is a left over, like the message you fixed. Should be x86_machine or something along these lines.

x86 alone maybe?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Whatever fits. It's just that the code living under kernel/cobalt/arch/* is referred to as the machine layer elsewhere.

Shouldn't this just be added to the Xenomai module (xenomai-y)?

xenomai-y is supposed to include all arch-independent bits, for this reason the machine layer is rather pulled from core-y in arch/*.

If you want a different module name, then please make at least sure that it includes "xenomai", "xenomai_arch" or so. Current proposals are way too generic and confusing for the users.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130929/bf894b99/attachment.pgp>

#9 lore raw
Quoted 69 lines · Jan Kiszka
Quoted 68 lines · Philippe Gerum
Quoted 66 lines · Jan Kiszka
Quoted 57 lines · Philippe Gerum
Quoted 56 lines · Gilles Chanteperdrix
Quoted 54 lines · Philippe Gerum
Quoted 44 lines · Gilles Chanteperdrix
Quoted 34 lines · Philippe Gerum
Quoted 33 lines · git repository hosting

Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59

Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

      kernel/cobalt/arch/x86/smi.c |    2 +-
      1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -1
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
          if (smi_state == 0) {
              printk("Xenomai: SMI-enabled chipset found, but SMI "
                     "workaround disabled\n"
-               "         (see xeno_hal.smi parameter). You may

encounter\n"
+ " (see x86_hal.smi parameter). You may
encounter\n"

                     "         high interrupt latencies!\n");
              pci_dev_put(dev);
Quoted 9 lines
Quoted 3 lines
              return;

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not reintroduce it in the naming.

Quoted 5 lines

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

This is a left over, like the message you fixed. Should be x86_machine or something along these lines.

Quoted 5 lines
Quoted 2 lines

x86 alone maybe?

Whatever fits. It's just that the code living under kernel/cobalt/arch/* is referred to as the machine layer elsewhere.

Shouldn't this just be added to the Xenomai module (xenomai-y)?

Quoted 7 lines
Quoted 2 lines

xenomai-y is supposed to include all arch-independent bits, for this reason the machine layer is rather pulled from core-y in arch/*.

If you want a different module name, then please make at least sure that it includes "xenomai", "xenomai_arch" or so. Current proposals are way too generic and confusing for the users.

The point is such information is absolutely not visible to the user.

Signature · 1 line
Philippe.
#10 lore raw
Quoted 78 lines · Philippe Gerum
Quoted 77 lines · Jan Kiszka
Quoted 75 lines · Philippe Gerum
Quoted 62 lines · Jan Kiszka
Quoted 61 lines · Philippe Gerum
Quoted 60 lines · Gilles Chanteperdrix
Quoted 58 lines · Philippe Gerum
Quoted 47 lines · Gilles Chanteperdrix
Quoted 37 lines · Philippe Gerum
Quoted 36 lines · git repository hosting

Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59

Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

      kernel/cobalt/arch/x86/smi.c |    2 +-
      1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -0
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
          if (smi_state == 0) {
              printk("Xenomai: SMI-enabled chipset found, but

SMI "
"workaround disabled\n"
- " (see xeno_hal.smi parameter). You may
encounter\n"
+ " (see x86_hal.smi parameter). You may
encounter\n"

                     "         high interrupt latencies!\n");
              pci_dev_put(dev);
              return;
Quoted 9 lines
Quoted 2 lines

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not
reintroduce it in the naming.

Quoted 5 lines

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

This is a left over, like the message you fixed. Should be x86_machine
or something along these lines.

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

x86 alone maybe?

Whatever fits. It's just that the code living under kernel/cobalt/arch/*
is referred to as the machine layer elsewhere.

Shouldn't this just be added to the Xenomai module (xenomai-y)?

xenomai-y is supposed to include all arch-independent bits, for this reason the machine layer is rather pulled from core-y in arch/*.

Quoted 6 lines
Quoted 4 lines

If you want a different module name, then please make at least sure that it includes "xenomai", "xenomai_arch" or so. Current proposals are way too generic and confusing for the users.

The point is such information is absolutely not visible to the user.

And what else controls where the module parameters end up under /sys/modules?

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130929/36e75d17/attachment.pgp>

#11 lore raw
Quoted 84 lines · Jan Kiszka
Quoted 83 lines · Philippe Gerum
Quoted 81 lines · Jan Kiszka
Quoted 70 lines · Philippe Gerum
Quoted 69 lines · Jan Kiszka
Quoted 67 lines · Philippe Gerum
Quoted 55 lines · Gilles Chanteperdrix
Quoted 54 lines · Philippe Gerum
Quoted 52 lines · Gilles Chanteperdrix
Quoted 37 lines · Philippe Gerum
Quoted 36 lines · git repository hosting

Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59

Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

       kernel/cobalt/arch/x86/smi.c |    2 +-
       1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -0
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
           if (smi_state == 0) {
               printk("Xenomai: SMI-enabled chipset found, but

SMI "
"workaround disabled\n"
- " (see xeno_hal.smi parameter). You may
encounter\n"
+ " (see x86_hal.smi parameter). You may
encounter\n"

                      "         high interrupt latencies!\n");
               pci_dev_put(dev);
               return;
Quoted 9 lines
Quoted 2 lines

Strictly speaking, the HAL disappeared from x3, since most of the arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not
reintroduce it in the naming.

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

Quoted 7 lines
Quoted 4 lines

This is a left over, like the message you fixed. Should be x86_machine
or something along these lines.

x86 alone maybe?

Whatever fits. It's just that the code living under kernel/cobalt/arch/*
is referred to as the machine layer elsewhere.

Quoted 5 lines
Quoted 2 lines

Shouldn't this just be added to the Xenomai module (xenomai-y)?

xenomai-y is supposed to include all arch-independent bits, for this reason the machine layer is rather pulled from core-y in arch/*.

If you want a different module name, then please make at least sure that it includes "xenomai", "xenomai_arch" or so. Current proposals are way too generic and confusing for the users.

Quoted 5 lines
Quoted 1 line

The point is such information is absolutely not visible to the user.

And what else controls where the module parameters end up under /sys/modules?

I'm discussing the internal sub-module name from the Kbuild hierarchy, which is by no mean exported to the user, so I see no reason to move this to xenomai-y, this would make no sense.

We discussed the *hal parameter name Gilles submitted a patch for, for removing any reference to the former hardware abstraction layer, replacing it, e.g. by "machine".

I don't have any issue with merging patch introducing a xenomai-specific prefix for all named parameters, and make this a policy. But in that case, please do fix up all existing parameters accordingly, we currently have inconsistencies:

kernel/cobalt/arch/x86/smi.c:module_param_named(smi, smi_state, int, 0400); kernel/cobalt/arch/x86/smi.c:module_param_named(smi_mask, smi_masked_bits, int, 0400); kernel/cobalt/init.c:module_param_named(timerfreq, timerfreq_arg, ulong, 0444); kernel/cobalt/init.c:module_param_named(clockfreq, clockfreq_arg, ulong, 0444); kernel/cobalt/init.c:module_param_named(supported_cpus, supported_cpus_arg, ulong, 0444); kernel/cobalt/init.c:module_param_named(disable, disable_arg, ulong, 0444); kernel/cobalt/sched.c:module_param_named(watchdog_timeout, wd_timeout_arg, ulong, 0644); kernel/cobalt/shadow.c:module_param_named(xenomai_gid, xn_gid_arg, int, 0644);

Signature · 1 line
Philippe.
#12 lore raw
Quoted 88 lines · Philippe Gerum
Quoted 87 lines · Jan Kiszka
Quoted 86 lines · Philippe Gerum
Quoted 84 lines · Jan Kiszka
Quoted 72 lines · Philippe Gerum
Quoted 71 lines · Jan Kiszka
Quoted 69 lines · Philippe Gerum
Quoted 57 lines · Gilles Chanteperdrix
Quoted 56 lines · Philippe Gerum
Quoted 54 lines · Gilles Chanteperdrix
Quoted 39 lines · Philippe Gerum
Quoted 38 lines · git repository hosting

Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59

Author: Gilles Chanteperdrix <[email protected]>
Date:   Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

       kernel/cobalt/arch/x86/smi.c |    2 +-
       1 files changed, 1 insertions(+), 1 deletions(-)
kernel/cobalt/arch/x86/smi.c +0 -0
index e06734a..124d311 100644
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
           if (smi_state == 0) {
               printk("Xenomai: SMI-enabled chipset found, but

SMI "
"workaround disabled\n"
- " (see xeno_hal.smi parameter). You may
encounter\n"
+ " (see x86_hal.smi parameter). You may
encounter\n"

                      "         high interrupt latencies!\n");
               pci_dev_put(dev);
               return;
Quoted 9 lines
Quoted 1 line

Strictly speaking, the HAL disappeared from x3, since most of the
arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not
reintroduce it in the naming.

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

Quoted 7 lines
Quoted 4 lines

This is a left over, like the message you fixed. Should be x86_machine
or something along these lines.

x86 alone maybe?

Whatever fits. It's just that the code living under kernel/cobalt/arch/*
is referred to as the machine layer elsewhere.

Quoted 5 lines
Quoted 2 lines

Shouldn't this just be added to the Xenomai module (xenomai-y)?

xenomai-y is supposed to include all arch-independent bits, for this reason the machine layer is rather pulled from core-y in arch/*.

If you want a different module name, then please make at least sure that
it includes "xenomai", "xenomai_arch" or so. Current proposals are way too generic and confusing for the users.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

The point is such information is absolutely not visible to the user.

And what else controls where the module parameters end up under /sys/modules?

I'm discussing the internal sub-module name from the Kbuild hierarchy, which is by no mean exported to the user

Sorry, but it is:

.module_name = KBUILD_MODNAME,

So the KBUILD module name defines the parameter prefixes. And that is what we should discuss here. I don't mind the kbuild structure otherwise.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130929/15393f8b/attachment.pgp>

#13 lore raw
Quoted 95 lines · Jan Kiszka
Quoted 94 lines · Philippe Gerum
Quoted 92 lines · Jan Kiszka
Quoted 80 lines · Philippe Gerum
Quoted 79 lines · Jan Kiszka
Quoted 77 lines · Philippe Gerum
Quoted 64 lines · Jan Kiszka
Quoted 63 lines · Philippe Gerum
Quoted 62 lines · Gilles Chanteperdrix
Quoted 60 lines · Philippe Gerum
Quoted 49 lines · Gilles Chanteperdrix
Quoted 39 lines · Philippe Gerum
Quoted 38 lines · git repository hosting

Module: xenomai-gch
Branch: for-forge
Commit: 283fabdf63e23f03a45565fa1f9937f9a5825a59
URL:
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=283fabdf63e23f03a45565fa1f9937f9a5825a59

Author: Gilles Chanteperdrix <[email protected]>
Date: Sun Sep 15 15:59:52 2013 +0200

hal/x86: fix smi message

---

kernel/cobalt/arch/x86/smi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/cobalt/arch/x86/smi.c
b/kernel/cobalt/arch/x86/smi.c
index e06734a..124d311 100644
--- a/kernel/cobalt/arch/x86/smi.c
+++ b/kernel/cobalt/arch/x86/smi.c
@@ -123,7 +123,7 @@ void mach_x86_smi_init(void)
if (smi_state == 0) {
printk("Xenomai: SMI-enabled chipset found, but
SMI "
"workaround disabled\n"
- " (see xeno_hal.smi parameter). You may
encounter\n"
+ " (see x86_hal.smi parameter). You may
encounter\n"
" high interrupt latencies!\n");
pci_dev_put(dev);
return;

Quoted 9 lines
Quoted 1 line

Strictly speaking, the HAL disappeared from x3, since most of the
arch-independant interface is already provided by the interrupt pipeline, and the event driven simulator was dropped. We should not
reintroduce it in the naming.

Quoted 5 lines

The parameter name is due to this Makefile chunk:

obj-$(CONFIG_XENOMAI) += x86_hal.o
x86_hal-y := machine.o mayday.o thread.o smi.o

This is a left over, like the message you fixed. Should be x86_machine
or something along these lines.

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

x86 alone maybe?

Whatever fits. It's just that the code living under kernel/cobalt/arch/*
is referred to as the machine layer elsewhere.

Shouldn't this just be added to the Xenomai module (xenomai-y)?

xenomai-y is supposed to include all arch-independent bits, for this reason the machine layer is rather pulled from core-y in arch/*.

Quoted 7 lines
Quoted 5 lines

If you want a different module name, then please make at least sure that
it includes "xenomai", "xenomai_arch" or so. Current proposals are way too generic and confusing for the users.

The point is such information is absolutely not visible to the user.

And what else controls where the module parameters end up under /sys/modules?

Quoted 8 lines
Quoted 2 lines

I'm discussing the internal sub-module name from the Kbuild hierarchy, which is by no mean exported to the user

Sorry, but it is:

.module_name = KBUILD_MODNAME,

So the KBUILD module name defines the parameter prefixes.

Ack, you are right, I overlooked the x86 params, which is unfortunate since they sparked the discussion... I moved all others to xenomai-y already.

And that is

Quoted 2 lines

what we should discuss here. I don't mind the kbuild structure otherwise.

Merging your proposal and mine, this would give the change below. I don't have any preference between "xeno", "xenomai", whatever fits. However, we should keep something in the name that clearly gives a hint about the machine/arch-dependent nature of the parameter (i.e. not merging those bits to xenomai-y).

e.g.

kernel/cobalt/arch/arm/Makefile +2 -2
index 25d33a5..d62976c 100644
@@ -1,5 +1,5 @@
-obj-$(CONFIG_XENOMAI) += arm_hal.o
+obj-$(CONFIG_XENOMAI) += xeno_machine.o
 
-arm_hal-y := machine.o mayday.o thread.o switch.o syscall.o
+xeno_machine-y := machine.o mayday.o thread.o switch.o syscall.o
 
 ccflags-y := -Iarch/arm/xenomai/include -Iinclude/xenomai
Signature · 1 line
Philippe.
#14 lore raw
Quoted 15 lines · Philippe Gerum

Merging your proposal and mine, this would give the change below. I don't have any preference between "xeno", "xenomai", whatever fits. However, we should keep something in the name that clearly gives a hint about the machine/arch-dependent nature of the parameter (i.e. not merging those bits to xenomai-y).

e.g.

kernel/cobalt/arch/arm/Makefile +0 -0
index 25d33a5..d62976c 100644

kernel/cobalt/arch/arm/Makefile line 5

Quoted 7 lines
kernel/cobalt/arch/arm/Makefile +2 -2
@@ -1,5 +1,5 @@
-obj-$(CONFIG_XENOMAI) += arm_hal.o
+obj-$(CONFIG_XENOMAI) += xeno_machine.o
 
-arm_hal-y := machine.o mayday.o thread.o switch.o syscall.o
+xeno_machine-y := machine.o mayday.o thread.o switch.o syscall.o
 
 ccflags-y := -Iarch/arm/xenomai/include -Iinclude/xenomai

Looks good to me.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130930/c8dd21e6/attachment.pgp>