Slashdot Mirror


China Plans National, Unified CPU Architecture

MrSeb writes "According to reports from various industry sources, the Chinese government has begun the process of picking a national computer chip instruction set architecture (ISA). This ISA would have to be used for any projects backed with government money — which, in a communist country such as China, is a fairly long list of public and private enterprises and institutions, including China Mobile, the largest wireless carrier in the world. The primary reason for this move is to lessen China's reliance on western intellectual property. There are at least five existing ISAs on the table for consideration — MIPS, Alpha, ARM, Power, and the homegrown UPU — but the Chinese leadership has also mooted the idea of defining an entirely new architecture. What if China goes the DIY route and makes its own ISA or microarchitecture with silicon-level censorship and monitoring, or an always-open backdoor for the Chinese intelligence agencies?"

47 of 240 comments (clear)

  1. bad idea by blackraven14250 · · Score: 4, Insightful

    This is probably among the worst ideas I've ever heard. They're basically saying "Standardize at the cost of having different architectures that are superior in their own ways", which is just absurd.

    1. Re:bad idea by DaMattster · · Score: 5, Interesting

      I don't think it is a question of a good or bad idea. As the summary surmises, a unified architecture could make it easier to build in a common backdoor for spying. This is an issue of making surveillance easier and this should hardly come as a surprise because a Communist country is entirely dependent upon controlling its citizens through the use of surveillance. Ultimately, by putting in place a mandate and enforcing it, it places additional costs and burdens on the businesses that must abide by these new regulations.

    2. Re:bad idea by Anonymous Coward · · Score: 2, Interesting

      a Communist country is entirely dependent upon controlling its citizens through the use of surveillance.

      Even if that were true, it'd be irrelevant as China is Capitalist. Read about their economy on Wikipedia and stop looking like a fool.

    3. Re:bad idea by SuricouRaven · · Score: 5, Insightful

      They still like to pretend they are communist to some extent. It's a national pride thing. Regardless, economic and political systems are not that closely linked: It's quite possible for a communist country to allow a great deal of political freedom, or a capitalist country to be as oppressive as any country can be.

    4. Re:bad idea by Microlith · · Score: 5, Informative

      a Communist country

      I think you mean "a dictatorial autocratic oligarchic country." Or something like that, possibly proto-fascist considering how closely linked their corporations and government officials are. China isn't communist by any stretch of the imagination, and the spying and censorship is purely for the purpose of keeping The Party in power, whatever the cost to the people.

    5. Re:bad idea by Anonymous Coward · · Score: 5, Insightful

      There are only two differences between communism and capitalism:
      1. which small group gets to make the decisions
      2. which small group (same as in #1) is controlling the surveillance.

      In communism, it's government/political leaders. In capitalism, it is the upper corporate echelon.

    6. Re:bad idea by mlts · · Score: 5, Insightful

      A backdoor standard would get them an expert medal in footshooting. Eventually some other country would find the backdoor and then be able to spy on all their businesses.

      This is one of the arguments that killed the Clipper Chip -- if Skipjack ever was broken, or the LEAF fields tampered with (which both happened), it would mean a foreign power would have wholesale access to US secrets.

      Another downside is simple -- heterogeneous environments make life easier for the blackhats. If everything used the same architecture, it means that a low level bug that can get code executed in ring 0 (to use Intel's terms) would affect everything from the embedded device, all the way to the supercomputers. Having different architectures means that damage due to a bug similar to the F0 0F bug of yore would be limited and containable.

    7. Re:bad idea by AngryDeuce · · Score: 4, Insightful

      As the summary surmises, a unified architecture could make it easier to build in a common backdoor for spying.

      Given the sheer amount of hacking originating in China, I would think the last thing they'd want to do is apply a homogeneous solution to critical systems. It seems to me like that's just an invitation to hackers world-wide to exploit the shit out of it.

      Maybe they think they're hack-proof or something.

    8. Re:bad idea by wer32r · · Score: 3, Insightful

      There are only two differences between communism and capitalism:
      1. which small group gets to make the decisions
      2. which small group (same as in #1) is controlling the surveillance.

      In communism, it's government/political leaders. In capitalism, it is the upper corporate echelon.

      In the extreme case, when this "upper corporate echelon" gets powerful enough to pass laws, and challenge the elected government, they effectively become a part of the country's political leadership, and thus we are back to communism.

    9. Re:bad idea by Sir_Sri · · Score: 2

      We may be at the point where those different architectures aren't worth enough to care about either, at least for most consumer facing devices. Whether my speakers use 59 cents in one architecture cpu or 65 cents in another doesn't matter, my cable set top box might use 15 or 20 dollars in a CPU but they'll all do the job and it's not like I'm buying hundreds of these personally.

      For places where ISA's can really matter, high performance servers for example, I don't see these as mattering much as we'd expect, MIPS alpha and power are all basically dead, ARM is competitive with x86 if the new intel android phone in india can be believed, and the UPU which is the presumptive choice will have to be competitive, or they'll have to allow exemptions or other special rules so that a block of ARM cpus can be controlled by a UPU approved CPU.

      This sounds a lot less about spying and a lot more about protectionism and what the north koreans call Juche. Self reliance. The chinese are happy to sell us stuff, but don't ever want to have to buy anything that isn't dug directly out of the ground in return. The xbox 3 and PS4 will be x86, those will be banned, PC's, Mac or Windows, those will be banned or have to port to UPU. I suppose that makes ARM a viable choice since there will be a windows ARM option soon enough, but that might be a good argument against ARM too (from chinas perspective). Chosing UPU would effectively lock every major software and hardware vendor out of the chinese market.

    10. Re:bad idea by 0123456 · · Score: 3, Insightful

      What killed the USSR was that few people wanted to be productive when their efforts would merely enrich the unproductive. Central planning certainly helped, but if people had been willing to work hard for no benefit the USSR might still be around today.

    11. Re:bad idea by smitty97 · · Score: 4, Funny

      I thought we were an autonomous collective

      --
      mod me funny
    12. Re:bad idea by MightyMartian · · Score: 4, Interesting

      Uh no... A Communist country would be built upon a Communist economy. Communism is an economic as well as political ideology. Abandon the economic side of the equation and you cease to have a Marxist state. China has not meaningfully been a Communist state since Deng Xiaoping began his radical reforms in the post-Mao era. It could best be described as a Capitalist Technocracy that has turned Chinese Communism into little more than empty flag waving.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    13. Re:bad idea by doublebackslash · · Score: 4, Informative

      As the summary surmises, a unified architecture could make it easier to build in a common backdoor for spying.

      FTFA

      ...a ubiquitous, always-open backdoor that can be used by Chinese intelligence agencies. The Great Firewall of China is fairly easy to circumvent — but what if China built a DNS and IP address blacklist into the hardware itself?

      This is utter and complete nonsense. There is hardly a shread of logic in making this argument.

      It is an instruction set. You know, add register 1 to register 12 and store in register 1. Copy Register 1 to memory location 0xa3546f00. Things like that. In what world could an instruction set and basic outline for the architechure (which is the system built around the core instruction set. Memory interfaces, cache rules, chip to chip protocols, etc etc) be capable of a backdoor?

      Built in blacklist of IP addresses? How does that work? Blacklist an entire subset of the 32 and 128 bit integers? Good luck running the system! I'll leave it as an exercise to the reader to try and predict the failure mode of there. Some others later inthe thread are talking about this making it easier for black hats by way of making their code portable. Portable code does make their job easier, but that doesn't make the system built on the ISA identical. It also doesn't make the chips themselves identical. A flaw in one chip or one system built on this ISA does not affect the others. Flaws that are within the spec itself are harder to fix but are no more a risk than any other ISA.

      There isn't a logical way for an ISA to be exploited for the kinds of things people are talking about. Even if they did, say, hide some nonvolitile storage on certain chips and try to identify AES being performed (for example) and store the keys away it would be trivial to obfuscate the AES code so it wasn't recognized. There are a near infinite number of ways to perform an arbitrary transformation on data, some are just used because they are faster and resistant to things like timing attacks.

      To cut this short: anyone making arguments against a standardized ISA by way of invoking security concerns needs to really lay out their argument. I can't concieve of one good path of attack but I think I'm biased against the idea. If someone can provide a good and thought out example I'd be glad to hear it but I suspect that the security angle isn't a valid concern.

      --
      md5sum /boot/vmlinuz
      d41d8cd98f00b204e9800998ecf8427e /boot/vmlinuz
    14. Re:bad idea by fuzzyfuzzyfungus · · Score: 5, Insightful

      While I have not the slightest doubt about the Chinese authorities' interests in surveillance, the ISA level seems a deeply strange layer to futz around with in order to further that goal. Are they planning on adding a MOVSCP(Move Word From String to Communist Party) instruction or something?

      It seems that somebody looking to build bugs would be focusing on a mechanism a trifle higher-level: whatever 'TPM-but-don't-call-it-a-TPM-because-NIH-is-serious-business' standard they are plugging away at would be one logical place to look. Any 'National Operating System' type initiative would also be worth a look(though, realistically, retail spying on end user devices is kind of a pain in the ass, and vulnerable to discovery by hacker types, and you can just bug the telcos and ISPs instead, CALEA-or-nastier style, with much less fuss).

      I'd be much more inclined to suspect some combination of quasi-mercantalist desire to avoid paying license fees to western tech outfits(and provide a convenient 'hook' by which foreign outfits who wish to score Chinese contracts can be forced to collaborate with whoever produces the blessed ISA) and a desire to (try) and prevent their government infrastructure being riddled with spots of code rotting on legacy architectures because some contractor who hasn't been in business in a decade had experience with it...

    15. Re:bad idea by fuzzyfuzzyfungus · · Score: 2

      It is a rather curious idea, though I suspect that, in practice, people will end up cheating by throwing 'coprocessors' into the mix...

      Think of, say, virtually all of the media set top box SoCs of the world. Usually ARM or MIPs(nominally); but that is just a weedy little core that draws a few UI elements and does OS housekeeping. The meat is inevitably some DSP, GPU, or video decode unit that may or may not even have a publicly known instruction set beyond the basic 'shove compressed video in like so, obtain frames and audio stream over here'.

      Even the venerable x86 isn't so x86 anymore the moment you start shoving the 3D stuff reasonably seriously, at which point things kick over to a GPU of some flavor that is very much a different beast.

      It also seems unlikely that they'll manage to eliminate the 'Microcontroller lurking somewhere in there to handle a bunch of very low speed GPIO with minimal expenditure of pins on the main CPU' phenomenon. 8051s and PICs and stuff turn up in the oddest places, sometimes visible, sometimes an IP core embedded in some peripheral package. Unless the non-techies have a nigh-religious zeal for one ISA to rule them all, and rules-lawyer the process very tightly, all they'll really insure(above and beyond what the market would have delivered anyway) is that there is only one ISA, rather than 3-ish, running the 'main' OS and passing data between as many bits of hardware speaking all sorts of curious languages as the design happens to require...

    16. Re:bad idea by girlintraining · · Score: 4, Insightful

      the spying and censorship is purely for the purpose of keeping The Party in power, whatever the cost to the people.

      You just described the domestic policies of the top 8 economic powers of the world. Oppression = good business. Also, it strikes me as amusing that the Chinese have erected their great firewall and surveillance technology by copying already-existing technology from the United States. Now that the Chinese are ramping up their industrial espionage and surveillance ... perhaps in response to seeing what happened to Iran with Stuxnet ... it's no surprise they're looking to harden their infrastructure.

      We're trying to do it here as well; But only for certain businesses and government entities. Private citizens are still left to hang.

      --
      #fuckbeta #iamslashdot #dicemustdie
    17. Re:bad idea by jovius · · Score: 2

      True. China has been on an ultra-capitalistic path since the 80s. China is the prime example of a corporative and capitalistic state. China is being led like a corporation and the leadership is unified with the vision of prosperity. The party members are the richest people of the country.

    18. Re:bad idea by networkBoy · · Score: 2

      Maybe they think they're hack-proof or something.

      Quite likely. Many people have invented systems they, themselves can not hack. This is a fairly common hubris in the security industry outside of the core people.
      vendor - use our product, it's invincible
      customer - [adjusts foil hat] I don't know, I think the NSA might have a back door
      vendor - you're just paranoid
      Schnier - well he's come to the right conclusion, if only by accident. Your system has this bit here that's totally exploitable with a paperclip and duct tape, here's McGuyver to demonstrate
      Chuck Norris - [roundhouse] now it's *all* broken
      vendor - [waving arms] pay no attention to the man behind the curtain
      anon - [replaces vendor splash screen with manifesto] heh
      vendor - they're hacking us!!! Oh noes!!
      world - faith lost, no one buys product
      Schnier - "told ya so"

      or something like that.
      Also I am asserting (C) on the preceding play/skit including choreography and language 2012, by networkBoy.
      And finally, I hereby release the aforementioned (C) into the public domain.
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    19. Re:bad idea by Heretic2 · · Score: 2

      Another downside is simple -- heterogeneous environments make life easier for the blackhats. If everything used the same architecture, it means that a low level bug that can get code executed in ring 0 (to use Intel's terms) would affect everything from the embedded device, all the way to the supercomputers. Having different architectures means that damage due to a bug similar to the F0 0F bug of yore would be limited and containable.

      I think you mean homogenous environments.

    20. Re:bad idea by shutdown+-p+now · · Score: 4, Insightful

      Actually, if I had to define Chinese current ideology in as few words as possible, I think "national socialist" (yes, Nazi) would be closest. They're not rabid about racial superiority theories like Hitler was, and nowhere near as bloodthirsty or warmongering, but if you look at their internal policies themselves, they are remarkably similar in spirit.

      Regulated capitalist economy with protectionist measures for big business, who in turn work in the interests of the state and not just themselves? check. Interests of the state over those of individual? check. Conservative attitude towards morality? check. A single artificially defined "race" that is promoted over others? check.

    21. Re:bad idea by MightyMartian · · Score: 2

      He certainly invented the modern notion of Communism. Whatever communal socialism might have existed before Marx's time, none of it could be said to have influenced Chinese Communists. They very much believed themselves the heirs of Marx, to the point that after the breakdown of relations between the USSR and the PRC, China frequently claimed that the USSR had veered from the true Marxist-Leninist path. The Chinese Communist most assuredly asserted that they were Marxist in origin.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
  2. Those by Anonymous Coward · · Score: 2, Informative

    Always open backdoors work both ways... once discovered.

  3. Re:my question is by Anonymous Coward · · Score: 2, Insightful

    Are there 2 billion consumers in the marketplace who will purchase goods and services related to that arch?

    Alternatively: Does a bear shit in the woods?

  4. Dragonsomething? by Jaysyn · · Score: 2

    Didn't they try this like a decade ago with knock-off 586 chips?

    "always-open backdoor for the Chinese intelligence agencies"

    Our spooks would probably love that. It wouldn't stay Chinese-only for very long.

    --
    There is a war going on for your mind.
  5. Re:You mean by Microlith · · Score: 2

    Yup, because they can't risk having the Big Bad US Government overthrow the People's Republic. The Chinese people would never (dare) resist or oppose their benevolent, self-sacrificing government.

    Also, do you know of any specific backdoors, or are you just assuming that security holes are deliberate backdoors?

  6. Re:my question is by tgd · · Score: 4, Interesting

    China has approximately 400 million people in its middle class, and growing.

    Yes, people will develop applications for it.

  7. What, exactly, could they do in silicon? by SuricouRaven · · Score: 5, Interesting

    Seriously. This is architecture stuff. You can't just write a backdoor into a chip that easily. You can't write censorship in, because there would be no way to update the censorlist. The most you could do is provide a code injection backdoor (If you see byte sequence xxxxxxxxxxxxxxxx, jump to the following byte), but with no way to disable it they would just weaken their own defence when it inevitably leaked.

    1. Re:What, exactly, could they do in silicon? by Anonymous Coward · · Score: 2, Insightful

      Just from the top of my head:
      They could include device/code authentication on-chip --> no more anonymity + only run approved, signed software
      If hardlinked to specific NIC --> govt owns your device, no more privacy.

  8. Re:You mean by Xibby · · Score: 2

    Someone, somewhere, somehow will offer a sufficient bribe to gain access to those backdoors.

    Sounds like a great idea China, go for it!

    --
    I'm going to go back in my box and will think within the limits of my box: MS Sucks Linux Good I read too much Slashdot.
  9. Re:my question is by ChunderDownunder · · Score: 2

    Their Loongson 3 MIPS-clone already has x86 hardware-emulation built into the silicon.

  10. Re:my question is by robthebloke · · Score: 5, Informative
  11. 0x10c by Megane · · Score: 5, Funny

    I hear they're hiring Notch to develop the new CPU architecture.

    --
    #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
  12. People are dumb. by toriver · · Score: 2

    What if China goes the DIY route and makes its own ISA or microarchitecture with silicon-level censorship and monitoring, or an always-open backdoor for the Chinese intelligence agencies?

    We will still buy those products because they are the cheapest.

  13. You can't put a backdoor into an ISA by YesIAmAScript · · Score: 2

    You could put one into an implementation of the ISA.

    If you wanted to put a backdoor into an implementation, you could easily do so with x86-64. It has instructions specifically used for AES. Just wire those to record keys, substitute keys or not actually encrypt and you're off and running.

    Of course, since any ISA and implementation is Turing-complete without the specialized crypto instructions, you could just use the non-specialized instructions to do your work and then it would be a lot harder for the chip to save off your keys or data.

    --
    http://lkml.org/lkml/2005/8/20/95
  14. Re:Overkill? by slew · · Score: 4, Insightful

    Politics (and spying) aside, this is probably not unlike their past effort to create a new Audio Video compression Standard. I'm sure the Chinese look at the Arm ISA situation and see wow, you really do have to get an Arm license if you want to make a smart phone. This seems similar to the BluRay MPEG/H.264 situation and their move with AVS. They've got a lot of smart folks in China and want to spur development. In the process, the want to see if they can give their local companies an economic advantage (reduced licensing fees for manufactured products for domestic consumption).

    If this takes off in China (a big market), then instead of chinese companies paying foreign companies a licensing fee for products (net outflow of money), the foreign companies that want to make a product for consumption in the chinese market will probably have to pay the Chinese licensing fees for this. That way money for new development gets to stay in China benefiting their economy more than others. Why wouldn't they want to do this?

    Of course if it makes it easier to spy on folks, so much the better (homogenous platforms make that easier), but I don't think that's the main motivation. As with most things in China today, the motivation is national economic self-interest.

  15. Open Source Backdoors? by alexander_686 · · Score: 2

    To build on MTTs's argument - but how would this work in practice? I am seeing a huge logical hole that I can’t figure out. Picking a ISA would seem to work against them. Does anybody have any ideas?

    This is how I understand the proposal. The Government (and I can use upper case here because China is lead by a “Communist” party that leads state-owned enterprises – slightly more monolithic then elsewhere.) wants to save money (i.e. not pay western firms) by endorsing a ISA. O.K. I am not exactly a supporter of big government, so I don’t like the actor, but I do approve of AMD reverse engineering Intel’s x86 architecture.

    Obviously this is to boost technical skills in chip design. Many people have suggested that this would make it easier to install back doors.

    But the ISA would have to be published. WTO says it must. China can tilt the playing field to domestic companies – but only so far.

    So, how would a backdoor that was openly documented work? I mean us slashdoters laugh all the time on “Security via obscurity”. How would a security hole via openness work?

    1. Re:Open Source Backdoors? by snadrus · · Score: 2, Interesting

      Cryptographically. Windows requiring EFI is using cryptography to lock out Mac, BSD, & Linux because motherboard manufacturers will only let the cryptographically-right OS run. Extend that to incoming network requests and done.

      --
      Science & open-source build trust from peer review. Learn systems you can trust.
  16. fearmongering by Tom · · Score: 4, Insightful

    Interesting how most comments wank on about fears of backdoors.

    How stupid do you think the chinese are? A hardware backdoor in every device means that if you lose control of it even once, your entire infrastructure belongs to whoever you lost it to. I don't think anyone would take that risk for a bit of spying, not if you already have 100 better ways of spying.

    What is so unlikely about the assumption that it really is in order to become independent of the west? That's a biggy right there. There's an elephant in the room, you know? The chinese are fast becoming one of the most important players on the world stage and they can't have something as important as chip design rest with a country (USA) that might turn hostile at the next unpredictable election.

    --
    Assorted stuff I do sometimes: Lemuria.org
  17. Since China is a communist state ... by Alain+Williams · · Score: 3, Funny

    Will all CPU instruction be given the same time allowance, or will it be a case of to each according to its need?

  18. Re:Are you sure? by AngryDeuce · · Score: 3, Insightful

    What are you talking about? There are literally dozens (maybe hundreds) of different types of screws alone, engineered vastly different from one another to be best at their application. Wood screws are much different from sheet metal screws which are much different from concrete screws, phillips-head versus flat-head versus torx versus proprietary heads...

    Everything from the length of the screw, the spacing of the threading, whether it's self-tapping or not...they're all engineered to be best at a particular application. Once you extend the set to include fasteners of any type, there are probably a million different types, be it mechanical, chemical, magnetic...

    Try drilling a flat-head sheet metal screw into concrete. That's pretty much the same result you'll have trying to shove a one-size-fits-all CPU into every embedded computer system in the nation.

  19. Just money not surveillance by drnb · · Score: 4, Insightful

    ... a unified architecture could make it easier to build in a common backdoor for spying ...

    I doubt its over surveillance, such a backdoor will be found. The real motivation is most likely economic, simply not wanting to buy an expensive part from the west. It may even become a part they could export. Do consumers really care, or even know, what CPU is inside some electronic appliance/device?

    1. Re:Just money not surveillance by AmiMoJo · · Score: 2

      I think you can take their stated motivation at face value here. They just want to be free of any intellectual property claims. Rather than paying ARM royalties for every ARM compatible chip that goes into a Chinese smartphone/tablet/Windows 8 PC they can have their own free to use one. It would also allow Chinese companies to take the place of people like Intel and ARM and become major drivers of CPU technology.

      Backdoors are right out because then no-one would buy Chinese products, and they have a huge export market.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    2. Re:Just money not surveillance by amorsen · · Score: 2

      They probably want to create something which could theoretically deliver half-decent performance.

      --
      Finally! A year of moderation! Ready for 2019?
  20. Re:You mean by Anonymous Coward · · Score: 2, Interesting

    Each time I go to China, I'm amazed at the criticism and vitriol hurled at the government and communism. During conversations in public places. Makes me uncomfortable (kind of like visiting a friend's house and seeing a family fight). I've heard worse about the US government, but one set of jokes stand out. Seems that some Chinese are now joking that they'd welcome a US military invasion. From their tone, I can tell they are joking and just using hyperbole to show their frustration. Maybe they joke that way because they really don't dare oppose their government, but would be happy if someone else did. But I can't help but think WTF!

  21. Could also be... by Dcnjoe60 · · Score: 2

    I don't think it is a question of a good or bad idea. As the summary surmises, a unified architecture could make it easier to build in a common backdoor for spying. This is an issue of making surveillance easier and this should hardly come as a surprise because a Communist country is entirely dependent upon controlling its citizens through the use of surveillance. Ultimately, by putting in place a mandate and enforcing it, it places additional costs and burdens on the businesses that must abide by these new regulations.

    Could also be that they are so paranoid that the West has backdoors into the existing technology that they want to design their own.

  22. Re:They probably just want... by phantomfive · · Score: 2

    They probably just want to have an R2 cache instead of an L2 cache.

    Just so you know, Chinese actually has a separate R and L sound in their language (although the 'R' is halfway between the French R and the English R). Japanese unifies that phoneme, not Chinese.

    --
    "First they came for the slanderers and i said nothing."