public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Strange s390 code in 2.4.19-pre8
@ 2002-05-10 16:47 Pete Zaitcev
  0 siblings, 0 replies; 14+ messages in thread
From: Pete Zaitcev @ 2002-05-10 16:47 UTC (permalink / raw)
  To: schwidefsky; +Cc: linux-kernel

I reviewed the -pre8 briefly, and is seems that the vast
majority of s390/s390x changes are good, but I cannot discern
the intent of some of them. I would like Martin or Ulrich
to comment.

#1 - smp_call_function in a driver, trying to be ultra smart
or IBM's hardware is too broken and asymmetric?

+       iucv_debug(1, "entering");
+       if (smp_processor_id() == 0)
+               iucv_declare_buffer_cpu0(&b2f0_result);
+       else
+               smp_call_function(iucv_declare_buffer_cpu0, &b2f0_result, 0, 1);+       iucv_debug(1, "Address of EIB = %p", iucv_external_int_buffer);
+       if (b2f0_result == 0x0deadbeef)
+           b2f0_result = 0xaa;
+       iucv_debug(1, "exiting");
        return b2f0_result;

#2 - strange changes to net Makefile

--- linux.orig/drivers/s390/net/Makefile        Thu May  2 22:37:01 2002
+++ linux/drivers/s390/net/Makefile     Thu May  2 22:25:05 2002
@@ -9,8 +9,8 @@

 ctc-objs := ctcmain.o ctctty.o

-obj-y += iucv.o fsm.o
-obj-$(CONFIG_CTC) += ctc.o
+obj-$(CONFIG_IUCV) += iucv.o fsm.o
+obj-$(CONFIG_CTC) += ctc.o fsm.o
 obj-$(CONFIG_IUCV) += netiucv.o

 include $(TOPDIR)/Rules.make

I guarantee you that this blows up, unless CTC and IUCV are
built in. And why does it add wo CONFIG_IUCV lines? It is
legal, but unconventional.

#3 - config.in patch inconsistent or deadwood

--- linux.orig/arch/s390/config.in      Thu May  2 22:36:59 2002
+++ linux/arch/s390/config.in   Thu May  2 22:25:01 2002
@@ -37,6 +37,8 @@
 mainmenu_option next_comment
 comment 'General setup'
 bool 'Fast IRQ handling' CONFIG_FAST_IRQ
+bool 'Process warning machine checks' CONFIG_MACHCHK_WARNING
+bool 'Use chscs for Common I/O' CONFIG_CHSC
 bool 'Builtin IPL record support' CONFIG_IPL
 if [ "$CONFIG_IPL" = "y" ]; then
   choice 'IPL method generated into head.S' \

This is wonderful, but why did you merge it to Marcelo if the
rest of the code is missing?

And, while we are on topic, when are you guys going to merge
changes to the partitioning code?

-- Pete

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Strange s390 code in 2.4.19-pre8
@ 2002-05-13  7:54 Martin Schwidefsky
  2002-05-13 16:10 ` Pete Zaitcev
  2002-05-13 16:16 ` Kai Germaschewski
  0 siblings, 2 replies; 14+ messages in thread
From: Martin Schwidefsky @ 2002-05-13  7:54 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: linux-kernel


Hi Pete,
> I reviewed the -pre8 briefly, and is seems that the vast
> majority of s390/s390x changes are good, but I cannot discern
> the intent of some of them. I would like Martin or Ulrich
> to comment.
Ahh, its great that someone is doing reviews of our code.

> #1 - smp_call_function in a driver, trying to be ultra smart
> or IBM's hardware is too broken and asymmetric?
The iucv stuff in VM is a bit asymmetric ...

> #2 - strange changes to net Makefile
The intention of this is to have fsm.o built as a module if ctc
and iucv are built as modules too. I agree that this is broken
if one of {iucv,ctc} is built as a module and the other is built
in.

> #3 - config.in patch inconsistent or deadwood
> This is wonderful, but why did you merge it to Marcelo if the
> rest of the code is missing?
The rest is missing because we are waiting for the legal ok.
That the config.in contains these two lines is a mistake of mine.

> And, while we are on topic, when are you guys going to merge
> changes to the partitioning code?
I sent the patch together with the lcs driver to Marcelo last
week but I haven't heard of him yet. Wait and see ?

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Strange s390 code in 2.4.19-pre8
@ 2002-05-13 22:42 Ulrich Weigand
  2002-05-13 22:50 ` Kai Germaschewski
  0 siblings, 1 reply; 14+ messages in thread
From: Ulrich Weigand @ 2002-05-13 22:42 UTC (permalink / raw)
  To: kai, zaitcev; +Cc: linux-kernel

Kai Germaschewski wrote:

>Not sure if I understand you correctly. I mean it should work w/o 
>CONFIG_MODVERSIONS, and it would also work with CONFIG_MODVERSIONS if it 
>wasn't for the conflict with the ISDN fsm.o. Do we agree here?

As it is not possible to configure the ISDN fsm.o into a s390
build (and there is in fact no ISDN hardware for S/390 ;-/),
how can there be any conflict?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de

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

end of thread, other threads:[~2002-05-14  1:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10 16:47 Strange s390 code in 2.4.19-pre8 Pete Zaitcev
  -- strict thread matches above, loose matches on Subject: below --
2002-05-13  7:54 Martin Schwidefsky
2002-05-13 16:10 ` Pete Zaitcev
2002-05-13 16:18   ` Kai Germaschewski
2002-05-13 16:23     ` Pete Zaitcev
2002-05-13 16:30       ` Kai Germaschewski
2002-05-13 16:32         ` Pete Zaitcev
2002-05-13 17:39           ` Kai Germaschewski
2002-05-13 16:16 ` Kai Germaschewski
2002-05-13 16:19   ` Pete Zaitcev
2002-05-13 16:25     ` Kai Germaschewski
2002-05-14  1:22     ` Keith Owens
2002-05-13 22:42 Ulrich Weigand
2002-05-13 22:50 ` Kai Germaschewski

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